Hi J.P.

No, before the execution the number of iteration is not known. However the 
iteration number is known just right before rendering the subgraph. So in 
programming language paradigm it is the same as for-loop with known number of 
iterations.

In the future one can think on iterating until some criteria is reached, which 
is not that easy with osg. One can overcome this by placing some kind of draw 
callback which don't stop iterating until some criteria. 

cheers,
art



J.P. Delport wrote:
> 
> 
> > - then as soon as I reach a group node, which's subgraph should be
> > repeated, I retraverse the subgraph as often as there are iterations
> > 
> > 
> 
> Is the number of iterations known before execution?
> 
> 


------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=18538#18538





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to