Hello Carsten, a->useNodeList(false); after recurseFromThis() did the trick. Thanks a lot. Another question: What is the idea behind the stageData classes for each stage? When can member variables be used in the stage class and when do these kind of data have to be put into the stageData class? Kind regards, Alexander Lang
> 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 > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users