PDA

View Full Version : How much is 1.0 in pixel?



longyearbyen
11-20-2007, 08:51 AM
If I have a screen of 800x600 and
e.g I draw glVertex3f(1.0f, 1.0f, 1.0f)
How can I find out the corresponding pixel values of the coordinates?

longyearbyen
11-20-2007, 08:59 AM
I guess I found some answers in the Wiki:
http://www.opengl.org/wiki/index.php/Vie...e_coordinate.3F (http://www.opengl.org/wiki/index.php/Viewing_and_Transformations#How_can_I_find_the_scr een_coordinates_for_a_given_object-space_coordinate.3F)