Hi all, currently I'm playing around with shadows in OpenSG. At the moment I have 2 questions:
1.) We're using a sky sphere to simulate environment information. That sky shouldn't neither produce nor receive any shadow when being rendered using a ShadowViewport. The questions is, how can I completely exclude a node/sub tree from the shadow calculations. At the moment I push the root node of the environment into the excludenodes list of the shadowviewport. The result looks better than without doing this, but the shading of sky sphere has changed (received some dark artefacts) a litte bit... 2.) Looking at the code for excluding nodes from shadow calculations, this seems to be achieved by temporarily setting these nodes inactive. After the calculation all exclude node are set to active, independent of their activation state before shadow calc. I would propose saving the node activation state before disabling and restoring the saved state afterwards. Thanks, Michael -- NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie! Jetzt informieren: http://www.gmx.net/de/go/freephone ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users