Translating an Object to a certain Vector 3 in OpenGL and Java LWJGL
Posted
by
aliasmk
on Game Development
See other posts from Game Development
or by aliasmk
Published on 2012-11-18T12:20:17Z
Indexed on
2012/11/18
17:26 UTC
Read the original article
Hit count: 333
So after almost two hours, I got the hang of using glTranslated() (with Java and LWJGL). If I am correct, applying glTranslated on an object moves that object with the x,y,z relative to the previously moved object. I believe the correct term for this is local vs global, global being the one I want. I was wondering if there was a way to translate an object to a specific XYZ position, or relative to the origin. Thanks!
(Code or other details can be supplied if it helps, just let me know. Also sorry if this is a noob comment, Im very new to OpenGL.)
© Game Development or respective owner