[osg-users] drawImplementation not called on custom Drawables

2014-11-24 Thread Trajce Nikolov NICK
Hi Community, again :-) what can be the reason for the drawImplementation to not be called? I have set setCullingActive(false) to not cull the node but still I am not hiting the call to this method. Thanks a lot, Nick -- trajce nikolov nick ___ osg-us

Re: [osg-users] drawImplementation not called on custom Drawables

2014-11-24 Thread Sebastian Messerschmidt
Hi Nick, I I think you will have to provide a valid intial bound in any case Hi Community, again :-) what can be the reason for the drawImplementation to not be called? I have set setCullingActive(false) to not cull the node but still I am not hiting the call to this method. Thanks a lot, N

Re: [osg-users] drawImplementation not called on custom Drawables

2014-11-24 Thread Trajce Nikolov NICK
I have attached a callback for this, but it is never called as well . Nick On Mon, Nov 24, 2014 at 12:06 PM, Sebastian Messerschmidt < sebastian.messerschm...@gmx.de> wrote: > Hi Nick, > > I I think you will have to provide a valid intial bound in any case > > Hi Community, again :-) > > w

Re: [osg-users] drawImplementation not called on custom Drawables

2014-11-24 Thread Julien Valentin
Have you tried geom->setUseDisplayList(false) geom->setUseVertexBufferObject(true) ? Trajce Nikolov NICK wrote: > I have attached a callback for this, but it is never called as well . > > Nick > > > On Mon, Nov 24, 2014 at 12:06 PM, Sebastian Messerschmidt < ()> wrote: > > > Hi Nick, >

Re: [osg-users] drawImplementation not called on custom Drawables

2014-11-24 Thread Trajce Nikolov NICK
Hi, at the end it worked with overriding virtual osg::BoundingBox computeBoundingBox() const; the other one virtual osg::BoundingSphere computeBound() const; and attaching a callback for compute the bb is not working. Don't have time to investigate but it looks a small bug somewhere Nick On Mo