Hi Roman, this is exactly what I am trying to achieve. Sebastian's hint for writing a NodeVisitor to make any model instantiable is what I am trying to write just about this moment. Once I complete some working version I will post my code, no problem. Maybe Sebastian can provide some snips from his NodeVisitor as well ;-)
Nick On Mon, Nov 24, 2014 at 1:43 PM, Roman Grigoriev <[email protected]> wrote: > Hi, Nick! > Long time ago I tried to implement model with moving parts instancing. For > forests it works OK but when you have many moving parts you have to once > collect matrices and after send it to TBO to render. Also there are a lot > of state switches in model. Another difficulty is model picking and also > bounding box calculation. So I gave up. > And if you implemented it now could you please drop a code to view it. > > > Thank you! > > Cheers, > Roman > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=61815#61815 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- trajce nikolov nick
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

