Re: R: R: [Plib-users] Grrr.... I only get a black screen
Brought to you by:
sjbaker
From: Peter P. <pet...@st...> - 2004-08-26 14:14:01
|
Paolo Leoncini wrote: > Peter Poulsen wrote: > > >>Thanks alot! I finally got it working. > > > Nice to have you on board! > > Perhaps the problem was in the lighting. The quad normal is in the same > direction as the light (y-), so enabling lighting produces a black color > over black background. As counterproof try setting the clear color to > non black, re-enable lighting and see if the quad appears black. > Furthermore remember that SSG coordinate system is z-up (x-right, > y-into-the-screen) whilst OpenGL is y-up, so keep it into account when > setting light and camera positions in the world. > > Greetings - > I tried re-enabling light and set the clear color to blue. It turn out that it wasn't that, but I tried playing a little with the glViewport command, it definitely has something to do with it. As it is placed in my previous mail, it works fine. -- A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? |