R: R: [Plib-users] Grrr.... I only get a black screen
Brought to you by:
sjbaker
From: Paolo L. <p.l...@ci...> - 2004-08-26 13:37:35
|
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 - Paolo |