ok here it goes, i have an Orthographic layer in front of my 3d sceen. The problem is i want to rotate on object on the Z axis in the ortho layer. How can i do this? when i rotate the object just seems to get clipped.
Thanks
Intresting Problem...
Started by Marvin, Aug 05 2001 05:46 AM
4 replies to this topic
Sponsor:
#2 Members - Reputation: 122
Posted 05 August 2001 - 08:24 AM
well, you mustn''t rotate ''all at once''. not like this:
glRotate3f(180,0.0f,0.0f,1.0f);
what you have to do is set-up a variable and rotate by small steps:
GLfloat rot_angle=0.0;
glRotate3f(rot_angle,0.0f,0.0f,1.0f);
rot_angle+=0.1;
if i correctly understand your problem.
glRotate3f(180,0.0f,0.0f,1.0f);
what you have to do is set-up a variable and rotate by small steps:
GLfloat rot_angle=0.0;
glRotate3f(rot_angle,0.0f,0.0f,1.0f);
rot_angle+=0.1;
if i correctly understand your problem.






