Hi, Thanks Alberto, I've made some reading in the OSG source code to understand better... After that I made my own test, but I don't have the good result : the operator() is never called on the geometry
You can see my code here : http://rafb.net/p/PeihdM64.html Don't read commentaries ^^ they are not updated... Any idea ? why the operator() is never called ? Thanks a lot. Vincent. 2008/4/15, Alberto Luaces <[EMAIL PROTECTED]>: > > El Martes 15 Abril 2008ES 16:26:21 Vincent Bourdier escribió: > > > Thanks for ideas and help, because It looks unused and complicated for > > me... > > > I don't think it is nor unused nor complicated. I use it heavily for my > projects and I find it very useful. It's the best way to retrieve back the > geometry from the scene, and in my opinion, in a very clever manner that > makes it very extensible. > > It is simple: is a template visitor that is built around some class of > yours > that collects data information with operator() method. > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

