Hi dirk! After a lot of other works i came back to my original problem: Drawing the shadow map viewport with stereo buffer ports.
Is it possible to mix the two buffers AND my shadow map in just one window? (something like: Win->addport (sx); Win->addport (dx); Win->addport (svp); ) About all hack solutions that you suggested: is there an example of such a thing? Just to have some hints about the steps to take. Thank you, enrico -----Messaggio originale----- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Per conto di Dirk Reiners Inviato: martedì 21 marzo 2006 23.25 A: users Oggetto: Re: [Opensg-users] shadowmap viewport and stereo. Hi Enrico, On Tue, 2006-03-21 at 09:34 +0100, Enrico Borrione wrote: > Hi all, > > I have started using a shadowmap viewport in > My application and after some struggles it > Began to work as I wished. OK, great. You will like the changes that are being checked in right now, they improve shadow quality quite a bit. > > Now I was thinking about upgrading my work, putting into > service the very same shadow system in stereo mode. > > What confuses me is how to use a shadowmap viewport > with two other StereoBufferViewportPtr.Should > i have to bind a shadow map to both the stereo viewports? > Or just one shadowmap, as the shadow is just 2D and not > really changing from point of view to point of view? Yeah, that's a problem. The ShadowMapViewport is a bit of a hack, Shadows really belong in the light sources and in the scene graph. I don't see a trivial solution. You can either (in increasing order of difficulty) draw viewports individually (do a mgr->getNavigator ().updateCameraTransformation() and cut-n-paste from Window::render() and Window::renderAllViewports()), or add a StereobufferBackground or create a BufferStateChunk. Hope it helps Dirk ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
