Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 rotations in openGL
Index -> Programming, C++ -> C++ Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Tony




PostPosted: Sat Jun 14, 2003 5:58 am   Post subject: rotations in openGL

I've been reading though tutorials on openGL and there's one thing I dont really get - rotations.

code:

glRotatef(g_RotateX, 0, 1.0f, 0);


I understand the parameters and all... But how does the program know which object to rotate? unless this rotates the camera Confused

openGL soo confusing Evil or Very Mad Probly because I'm trying to load up and work with 3DSMAX objects instead of making simple once polygon by polygon... Confused
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Sat Jun 14, 2003 7:50 am   Post subject: (No subject)

nvm, I figured out all that glLoadIdentity(); deal Very Happy

If anyone cares, here're my super cool rotating triangles Laughing



triangles.zip
 Description:

Download
 Filename:  triangles.zip
 Filesize:  36.13 KB
 Downloaded:  400 Time(s)

Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Display posts from previous:   
   Index -> Programming, C++ -> C++ Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: