PDA

View Full Version : basics are confused



adhavan
11-30-2009, 01:02 AM
hi,
i am very new to openGL,i have a doubt why the vertices values r given only as 0.,1.0.... like that, y shouldn't i mention something like 140,670 like that.???
i am very confused on jargon like world coordinates,eye coordinates .... what r all these thing refering to?????

ZbuffeR
11-30-2009, 02:44 AM
Vertices values can be any sort of float value.
I am afraid you will have to learn some of the jargon :
Coordinates : What are the different coordinate spaces (http://www.opengl.org/wiki/General_OpenGL:_Transformations#How_are_coordinate s_transformed.3F_What_are_the_different_coordinate _spaces.3F)
http://www.opengl.org/wiki/Vertex_Transformation
http://www.opengl.org/wiki/Viewing_and_Transformations

It may be simpler for you to start with glOrtho projection, I found it easier to understand at first : glOrtho allow to display everything inside the given cube-ish space.

Aleksandar
11-30-2009, 12:28 PM
Where have gone the time when people spent many to buy a book and learn something. Now, when everything is one click away, and there are so many free books and tutorials on-line, people don't want to spend even a day learning something. :(