Shot in the dark (flickering triangles)
Started by eddie, Nov 28 2005 10:00 PM
20 replies to this topic
#21
Posted 01 December 2005 - 09:04 PM
Using that technique, you can't set vertices that are infinite in one or two dimensions, but not the third. In Eddie's case, he would like the x,y coordinates to be infinite while the z coordinate stays at zero, and this is just not possible
Homogeneous infinity lets you position a vertex infinitely far away in a given direction; so it's good for drawing skyboxes because the skybox will look the same no matter where the camera is (since it's an infinitely big box), and will also automatically be behind everything else in the scene when you're using a z-buffer.
reedbeta.com - developer blog, OpenGL demos, and other projects
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











