Computer Science Canada

Vertex cordinates

Author:  Psiborg [ 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.

Author:  Mazer [ Thu Jul 08, 2004 1:55 pm ]
Post 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.

Author:  Psiborg [ Thu Jul 08, 2004 2:14 pm ]
Post 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

Author:  Mazer [ Thu Jul 08, 2004 2:26 pm ]
Post subject: 

Yep, no problem...
Confused


: