Geometry not being rendered
We have a situation where objects which we can verify are in the Java3D scene graph, and are marked as live, are not being rendered - we have a simple utility which walks the tree and lists the objects. The problem occurs when expanding/pairing (addChild/detach) the scene graph, and is not always reproducible, indicating a threading/timing issue and Java3D state inconsistency. It occurs more frequently if the addChild/detach occur on different threads, in close time proximity to one another. Interestingly, if we detach/addChild on an object which should be rendered, but isn't, it will appear in the display. The final state is fine if we simply toggle off the removed object via a switch, but of course the detach is necessary to free-up resources. We've tried using Behaviors, and manually synchronizing our access to the scene graph, but to no avail. We're sorta at our wits end here, does anyone have any experience with a problem like this, or suggest a possible work around, or perhaps a safer way to manage the scene graph?