glRotate influenced by other rotations

Started by M3gaFr3ak, October 03, 2013, 14:57:31

Previous topic - Next topic


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?


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.