Hello Guest

glRotate influenced by other rotations

  • 1 Replies
  • 3297 Views
glRotate influenced by other rotations
« 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?
« Last Edit: October 03, 2013, 15:07:50 by M3gaFr3ak »

*

Offline quew8

  • *****
  • 569
  • Because Square Eyes Look More Real
Re: glRotate influenced by other rotations
« Reply #1 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.