On 11/3/2010 7:26 AM, Jan Ciger wrote:
using a sketchup model [1] and and some animation and/or interaction. So, my
teacher suggested me to use osgBullet. osgBullet depends on osg, bullet and
osgWorks, but to load hte model i need collada-dom. This morning i found that
google sketchup free can convert skp in dae (as Jordi supposed)...
At the end... what do you both advise me? To change project or to continue
trying to install collada-dom + osg + bullet physics on a 32-arch of Ubuntu?
Please, let me know your opinion.. i need the advise of experts like you two :)
If you are just using the Sketchup/COLLADA model for the table, you do
not really need Collada support in Bullet - turn that off. The
Sketchup model will not have anything for the physics in it anyway.
Then you will need to build the collision meshes for Bullet yourself,
but that is what osgBullet/osgWorks should be able to help you with.
And making a ball and passing it to Bullet should be fairly trivial.
I concur with Jan on this. If the COLLADA file originated as a SketchUp file,
then clearly it doesn't contain any physics information. Build OSG with the
COLLADA plugin, load the file in OSG, then use the osgBullet tools to create the
collision shapes and rigid bodies under programmatic control. osgBullet contains
example programs that show many different ways for how to do this.
--
-Paul Martz Skew Matrix Software
http://www.skew-matrix.com/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org