Beginner Question - Rotating Viewpoint

Beginner Question - Rotating Viewpoint

Post by Patrick Robinso » Sat, 03 Aug 2002 06:11:05



If i have an object (or a point) moving in 3D space how would i go about
calculating a transformation for the viewpoint (rotation about all axes?)
that would keep the it centered on the object so that the object never
became 'lost'? - i hope that makes sense!!

Thanks,

 
 
 

Beginner Question - Rotating Viewpoint

Post by Asshe » Sat, 03 Aug 2002 13:30:18


If you want that, then don't rotate the camera, but just rotate the object
;-)

...
glTranslatef( 0,0,-5 );
glRotatef( Angle, 1,1,1 );
DrawMy3DObject();
...

Kris


> If i have an object (or a point) moving in 3D space how would i go about
> calculating a transformation for the viewpoint (rotation about all axes?)
> that would keep the it centered on the object so that the object never
> became 'lost'? - i hope that makes sense!!

> Thanks,




 
 
 

1. Rotating Logos / Text - Beginners question

Is there any shareware out there that will automate the process of
creating a rotating logo or text (that's rotating around an axis
paralell to the screen, not perpendicular to it), or is such a thing
not possible?

Any help in this direction would be much appreciated.

Thanks,

D. Miles

2. FS: Visual Effects apps

3. beginner's question: rotate a picture

4. HELP: gnuplot contour

5. rotating/translating viewpoint about some fixed object

6. stars in 3d studio max... Please Help ME

7. Q: Rotating about viewpoint axies, how?

8. .thn files

9. How to rotate a 3d viewpoint?

10. Rotating around 3D viewpoint

11. beginners beginner question

12. URGENT : very important question about VIEWPOINT models

13. 3D ViewPoint Question