From: Juan R. Sáenz-Diez (Yuri) (jrsdm++at++acm.org)
Date: 08/14/2000 16:59:18
Hi pfAll,
I am trying to apply the shadow map capability of Performer to a scene with heavy use of stencil operations. However, I can separate that part of the scene and put it in a pfScene, and have another pfScene with the shadow map stuff (on a separate pfChannel that overlaps). This works when shadow map is not in operation in the second pfChannel+pfScene.
Now, I read there is some incompatibility between shadow map shadowing and stencil operations. I would like to hear a final word on this. I can foresee some problems if the shadowed geometry is doing incremental changes to the stencil buffer due to multipass rendering, but in my case my shadow scene does none of those (no stencil operations at all, but there exists an 8 bit buffer for the first scene). I get a black rectangle on the lower left area of the common viewport, just like someone else described, where I can see some hint of what could possibly be the shadow map.
So, finally, can one use stencil at all when shadow maps are present? Should I look into some other shadowing algorithm instead? Should I look further into my own code because it is me screwing it all instead of the stencil operations or buffer?
Any hints (or as I said, a final statement on this) would be greatly appreciated.
Best pfRegards,
Yuri.
---- Por favor, acuse recibo -- Please acknowledge receipt ---- Juan R. "Yuri" Sáenz-Diez Vis-Sim & VR Consultant +34 630 815 772 jrsdm++at++acm.org
This archive was generated by hypermail 2b29 : Mon Aug 14 2000 - 17:10:28 PDT