PDA

View Full Version : 3d rotate in 2d ortho view h.u.d., hmmm?



RobertEd
01-30-2010, 09:02 PM
Hello, hey I am trying to glRatatef an object in a ortho view for my HUD. I hope I don't have to go into matrix mode and try to keep the object in the camera view(eewwww!). Any ideas?

scratt
01-31-2010, 07:36 PM
Your question is very very unclear.

If you are trying to get a 3D object (or even a 2D object) to behave like it's a 3D one in an Ortho projection then it's not going to work.

If you want the appearance of a 3D object over / in a 2D HUD then you need to go back to a 3D projection matrix of some sort, as I think you are suggesting.