PDA

View Full Version : How to render a skybox?



haigu
10-15-2000, 10:45 PM
hi,
I am planning to render a skybox, but I have a question: can I set the vertex to infinit distance by setting the w coord to 0 ? or this box will be clipped by viewing frustum?

tdavie
10-16-2000, 12:50 AM
Don't know, try it and find out.
http://www.opengl.org/discussion_boards/ubb/biggrin.gif

Bob
10-16-2000, 01:27 AM
Setting w to zero will probably get an unpredictable result. But if it IS handled nicely, it will most certainly be clipped. A point at infinity is ALWAYS outside the view frustum.