Hi, There should be some combination of options for the optimiser stuff in osgUtil that will let you merge geometries. This isn’t always possible (for example, if two nodes need wildly different renderer state, then there’s no way to merge them without the state being wrong when one is drawn) but i
Hi, Luca. One cannot do this in a general way since under each node any kind of
entities can exist.
I think the task you want to do not possible in a generic way, unless
you get down to the level of the specific drawables each node has and
copy/transfer their contents (for example, if they are os
Hi All
I have two basic osg shapes that I load like this
osg::ref_ptr shape1 = osgDB::readNodeFile("shape1.osg");
osg::ref_ptr shape2 = osgDB::readNodeFile("shape2.osg");
I then group them together and save them
osg::ref_ptr total = new osg::Group;
total->addChild(shape1.get());
total->addChild
[Auto-Reply] I'm driving right now - I'll get back to you later.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Hi, you have to modify the geometry of the line.
You can do that either scaling and rotating it or by modifying the
coordinates of the vertices. In the latter case, be sure to deactivate
the display lists of the geometry, otherwise the line will not be
reflect any changes.
--
Alberto
_
I didn't speak English well, so I used a translator to write it. Please
understand if there is any awkwardness in the sentence.
I am moving two 3ds models using osg animationPath. And I want to connect
two moving models with a line.
Moving the 3ds model to the specified time and path using Anim
6 matches
Mail list logo