Shadow Rnder Pass attaching/detaching like CRAZY

So I think everything is working and configured correctly… (of course it isn't actually since I'm having problems).



Anyhow, here's the tree setup.



RenderPass

fpsNode

uiNode (swing based)



ShadowedRenderPass

rootNode->FloorNode

                FloorNode->Bunch of overlapping Quads for the floor (there's a reason)

rootNode->ModelsNode <-- occluder set here

                ModelsNode->Bunch of SharedNodes for the models



Everything works fine to a point. If I have setRenderShadows(false) and setRenderVolume(true) everything works Great. I see the volumes just fine.



If I have setRenderShadows( true) everything goes haywire as soon as I add one of the above listed SharedNodes to the ModelsNode. Up until that point, again no problem. But once I do…



The following is repeated over, and over, and over, and over, and over…


Jun 13, 2006 2:58:09 PM com.jme.scene.Node attachChild
INFO: Child (LV34) attached to this node (Volumes)
Jun 13, 2006 2:58:09 PM com.jme.scene.Node attachChild
INFO: Child (LV31) attached to this node (Volumes)
Jun 13, 2006 2:58:09 PM com.jme.scene.Node attachChild
INFO: Child (LV28) attached to this node (Volumes)
Jun 13, 2006 2:58:09 PM com.jme.scene.Node attachChild
INFO: Child (LV25) attached to this node (Volumes)
Jun 13, 2006 2:58:09 PM com.jme.scene.Node attachChild
INFO: Child (LV22) attached to this node (Volumes)
Jun 13, 2006 2:58:09 PM com.jme.scene.Node attachChild
INFO: Child (LV19) attached to this node (Volumes)
Jun 13, 2006 2:58:09 PM com.jme.scene.Node attachChild
INFO: Child (LV16) attached to this node (Volumes)
Jun 13, 2006 2:58:09 PM com.jme.scene.Node attachChild
INFO: Child (LV13) attached to this node (Volumes)
Jun 13, 2006 2:58:09 PM com.jme.scene.Node attachChild
INFO: Child (LV10) attached to this node (Volumes)
Jun 13, 2006 2:58:09 PM com.jme.scene.Node attachChild
INFO: Child (LV7) attached to this node (Volumes)
Jun 13, 2006 2:58:09 PM com.jme.scene.Node attachChild
INFO: Child (LV4) attached to this node (Volumes)
Jun 13, 2006 2:58:09 PM com.jme.scene.Node attachChild
INFO: Child (LV1) attached to this node (Volumes)
Jun 13, 2006 2:58:09 PM com.jme.scene.Node detachChildAt
INFO: Child removed.
Jun 13, 2006 2:58:09 PM com.jme.scene.Node detachChildAt
INFO: Child removed.
Jun 13, 2006 2:58:09 PM com.jme.scene.Node detachChildAt
INFO: Child removed.
Jun 13, 2006 2:58:09 PM com.jme.scene.Node detachChildAt
INFO: Child removed.
Jun 13, 2006 2:58:09 PM com.jme.scene.Node detachChildAt
INFO: Child removed.
Jun 13, 2006 2:58:09 PM com.jme.scene.Node detachChildAt
INFO: Child removed.
Jun 13, 2006 2:58:09 PM com.jme.scene.Node detachChildAt
INFO: Child removed.
Jun 13, 2006 2:58:09 PM com.jme.scene.Node detachChildAt
INFO: Child removed.
Jun 13, 2006 2:58:09 PM com.jme.scene.Node detachChildAt
INFO: Child removed.
Jun 13, 2006 2:58:09 PM com.jme.scene.Node detachChildAt
INFO: Child removed.
Jun 13, 2006 2:58:09 PM com.jme.scene.Node detachChildAt
INFO: Child removed.
Jun 13, 2006 2:58:09 PM com.jme.scene.Node detachChildAt
INFO: Child removed.
Jun 13, 2006 2:58:09 PM com.jme.scene.Node detachAllChildren
INFO: All children removed.


That is not a bug.  It is an artifact of how the shadows are drawn (they are added to a node that has renderstates set properly, removed, etc.)  If you'd like, set your log level to WARNING to keep this from bugging you.  (see tests)

Deal! Thanks.