Re: [osg-users] Draw Instanced Help

2011-12-03 Thread Paul Martz
On 12/2/2011 8:04 PM, michael.a.bo...@l-3com.com wrote: My question is this, if I load a file using osgDB::readNodeFile(somefile.osg); How would I set it up for instanced drawing? My guess is that I would need to write a node-visitor that collects all of the geometry - drawables and sets

[osg-users] Draw Instanced Help

2011-12-02 Thread Michael . A . Bosse
Hi Everyone, Sorry, the last copy of this went out without a subject. Please disregard, it has been a long day. I'm trying to implement a fairly dense forested area and simply adding in a bunch of osg::MatrixTransform nodes predictably causes the cull to crash. I could try reorganizing the scene

Re: [osg-users] Draw Instanced Help

2011-12-02 Thread Jean-Sébastien Guay
Hi Michael, How would I set it up for instanced drawing? My guess is that I would need to write a node-visitor that collects all of the geometry - drawables and sets them up to use the instanced call overload instead of the default. I have tried doing this, but my implementation has gotten