Re: [Plib-users] plib and shadows
Brought to you by:
sjbaker
From: <Rol...@t-...> - 2002-06-13 11:00:24
|
Hello, I'm still trying to get shadows. Now I reduced the code so that stencil buffer is not (yet) used, I just want to see the projection of my scene to the ground. There is a callback function for predraw which is being called. I tried two ways : - use a glMultMatrixf((GLfloat *) floorShadow) in the callback function, where floorShadow is the projection matrix - use a setTransform(floorshadow) before calling ssgCullAndFace Both don't show a projection, the second shows parts of the scene at a different place. My guess is the first is superseded by ssg functions and the second is a transformation but not a projection. Could that be ? Thanks, Rolf -- Rolf Jakob at home (rj...@du...) WWW : http://www.franken.de/users/duffy1/rjakob (KDE-Utils and CCS) |