LWJGL Forum

Programming => OpenGL => Topic started by: M3gaFr3ak on October 03, 2013, 14:57:31

Title: glRotate influenced by other rotations
Post by: M3gaFr3ak on October 03, 2013, 14:57:31
Hi!
I want to turn my model around by dragging it with my mouse, but (as most of you know) by rotating the viewport, the axes turn around too, so if I rotate my model on the x axis, it doesnt really look like it should... Is there a way to rotate a model and keep certain x,y,z axes, so it rotates like in blender and other typical viewports?
Title: Re: glRotate influenced by other rotations
Post by: quew8 on October 03, 2013, 18:41:45
If you are going to conceptualize it like that, then the viewport isn't rotated. Only the axes on which the model is drawn. I think your problem is elsewhere.