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

Username:   Password: 
 RegisterRegister   
 Vertex cordinates
Index -> Programming, C++ -> C++ Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Psiborg




PostPosted: Thu Jul 08, 2004 11:50 am   Post subject: Vertex cordinates

Why do the vertex cordinates have to be within 0.0 and 1.0? Is it because otherwise you cannot resize the screen proporly??

Thanks for answering my newbe questions.
Sponsor
Sponsor
Sponsor
sponsor
Mazer




PostPosted: Thu Jul 08, 2004 1:55 pm   Post subject: (No subject)

What vertex coordinates? They can actually be anything (nothing too big that the variable can't hold of course). Are you sure you don't mean texture coords? Because they do in fact need to be between 0.0 and 1.0. It's so that you don't have to worry about the actual size of the texture.
Psiborg




PostPosted: Thu Jul 08, 2004 2:14 pm   Post subject: (No subject)

Well thanks, i found out that when i used the glOrtho i set it to 0.0 - 1.0 since i have changed that it works just fine. (I did not fully understand what glOrtho actually did)

thanks alot
Mazer




PostPosted: Thu Jul 08, 2004 2:26 pm   Post subject: (No subject)

Yep, no problem...
Confused
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  [ 4 Posts ]
Jump to:   


Style:  
Search: