[osg-users] OSG Node to Mesh

2008-05-09 Thread deepu
Hello Everyone, I am working on a simulation project in which I have to define an OSG node in the physics world (Bullet Physics). Can any one guide me towards a method by which I can convert an OSG node to a mesh so that I can define it in the physics world. Regards Deepu.LR

Re: [osg-users] OSG Node to Mesh

2008-05-09 Thread Robert Osfield
Hi Deepu, How long is a piece of string? This is a similar question to the one you have asked, its pretty extremely open ended. You really have to start by narrowing down to topic to make it possible to answer. In the OSG's case a Node could be anything, it could be Geode containing a single

Re: [osg-users] OSG Node to Mesh

2008-05-09 Thread Jean-Sébastien Guay
Hello Deepu, I am working on a simulation project in which I have to define an OSG node in the physics world (Bullet Physics). Can any one guide me towards a method by which I can convert an OSG node to a mesh so that I can define it in the physics world. In general, you would

Re: [osg-users] OSG Node to Mesh

2008-05-09 Thread Will Dicharry
Hi Deepu, In addition to writing a node visitor to traverse the scene graph and move from node to node accumulating transforms, one thing I have done in the past to get the geometry information once the visitor reaches a scene graph leaf is extending osg::PrimitiveFunctor or

Re: [osg-users] OSG Node to Mesh

2008-05-09 Thread deepu
Hi Everyone Thanks for the help, and let me check it out. Regards Deepu.LR -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Will Dicharry Sent: Friday, May 09, 2008 7:53 PM To: OpenSceneGraph Users Subject: Re: [osg-users] OSG Node to Mesh Hi