Need help with the movement of points with in a a circle

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Need help with the movement of points with in a a circle

halox6000
Hello, i am new to jogl, so i am unsure how to debug my particular issue, but what i want is a set of dots to move around a circle i drew. With my current code the circle moves up and down with the points. Any help would be appreciated.

Main program:
Dots_Moving_In_Circle.java

shader programs:
JOGL1_3_F.shader
JOGL1_3_V.shader
JOGL1_3_V2.shader


Reply | Threaded
Open this post in threaded view
|

Re: Need help with the movement of points with in a a circle

gouessej
Administrator
Hello

You need to translate yours points, translations are managed in this example using the programmable pipeline:
https://jogamp.org/cgit/jogl-demos.git/tree/src/demos/es2/RawGL2ES2demo.java?id=HEAD
Julien Gouesse | Personal blog | Website