Re: Creating objects with simple drawing methods of JOGL
Posted by
gouessej on
Dec 30, 2015; 6:52pm
URL: https://forum.jogamp.org/Creating-objects-with-simple-drawing-methods-of-JOGL-tp4035938p4035943.html
JOGL is mostly a Java binding for the OpenGL/OpenGL-ES API. JOGL is used in this example to draw the shapes, the example overrides GLEventListener, it uses an animator, the objects of dyn4j contain the vertices but they are passed to JOGL in the main rendering method and as JOGL is a low level binding with a few helpers, you won't find object oriented high level objects to represent a shape, it's typically what you can find in a physics engine, in a framework or in an engine based on JOGL.