Re: [osg-users] osg::Array

2010-08-14 Thread Igor Lebedev
Hi, Oh, about my initialization example... i forgot, that type is Vec3Array, so i don't need it. :D My bad. Thank you! Cheers, Igor -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=30744#30744 ___ o

Re: [osg-users] osg::Array

2010-08-14 Thread Jean-Sébastien Guay
Hello Igor, Oh, your example seems very helpful, as it gave me a way to get rid of long "blah->blah-blah", but is it ok to use osg::Vec3Array with "*" ? I thought it might cause memory leaks. Memory leaks come from allocating memory which you fail to deallocate later when it's not needed an

Re: [osg-users] osg::Array

2010-08-14 Thread Igor Lebedev
Hi, Oh, your example seems very helpful, as it gave me a way to get rid of long "blah->blah-blah", but is it ok to use osg::Vec3Array with "*" ? I thought it might cause memory leaks. Thank you! Cheers, Igor -- Read this topic online here: http://forum.openscenegraph.org/viewt

Re: [osg-users] OSG in Delta3D

2010-08-14 Thread Tony Vasile
Dear Sanat, You don't have to use Delta 3D to get collisions in your application. You can use osgBullet and the Bullet collision library. osgBullet provides routines to map the osg objects to ones that Bullet can manage and perform collision. http://code.google.com/p/osgbullet/ for osgBullet and

[osg-users] OSG in Delta3D

2010-08-14 Thread Sanat Talmaki
Hi, I am interested in adding Collision Detection to my current OSG application. And after going through a number of threads on this topic, the common theme was use Delta 3D. So my question is: Can I use my current OSG code as is, in Delta 3D and then just add other features (like collision d