Hello Alexander,

On 09/13/2012 06:24 PM, Alexander Lang wrote:
> My question therefore is: Can Stage::recurseFromThis() only be called once
> per Frame? Does OpenSG put a restriction here?

no, it can be called multiple times, e.g. the shadow stage does this to 
render the scene into the shadow maps for the various light sources.
Comparing your code with the shadow stage one, the only difference I see 
is that the shadow stage code calls: a->useNodeList(false); after 
recurseFromThis(a); :

this->recurseFromThis(a);
a->useNodeList(false);

The action's node list is used if you don't want to visit all children 
of a node, but it should default to being off - however, it's the only 
difference I've spotted, can you give it a try?

        Cheers,
                Carsten


------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to