Search found 7 matches

by rs_kryptik61636
Mon Mar 28, 2011 11:41 pm
Forum: General Bullet Physics Support and Feedback
Topic: Bullet + Ogre: Making holes in a soft body
Replies: 4
Views: 5733

Re: Bullet + Ogre: Making holes in a soft body

Ok, so I've made progress in that I'm able to recreate the OGRE mesh from the 'refine'-d Bullet soft body by iterating over the Bullet faces list for the triangle indices (my texture co-ordinates are a mess but that's another story). What I'm thinking now is since Bullet doesn't maintain contact poi...
by rs_kryptik61636
Sat Mar 26, 2011 1:04 am
Forum: General Bullet Physics Support and Feedback
Topic: Bullet + Ogre: Making holes in a soft body
Replies: 4
Views: 5733

Re: Bullet + Ogre: Making holes in a soft body

Update: I just realized something terrifying as well as sorta fun :lol: . When you use the 'refine' function of a Bullet soft body to cut it, the vertex and index list change (well duh :roll: ). Now as far as I can tell, OGRE and Bullet don't follow the same pattern of specifying triangle indices. ...
by rs_kryptik61636
Mon Feb 14, 2011 12:55 am
Forum: General Bullet Physics Support and Feedback
Topic: Bullet + Ogre: Making holes in a soft body
Replies: 4
Views: 5733

Bullet + Ogre: Making holes in a soft body

Hi I'm currently working on a surgical simulator and am using the OGRE engine for rendering and Bullet for the soft body physics. I was looking into mesh cutting. For testing purposes, I've imported the surgical tool mesh and made it a kinematic body and the organ mesh as a soft body. After looking ...
by rs_kryptik61636
Wed Jan 26, 2011 8:08 pm
Forum: General Bullet Physics Support and Feedback
Topic: btSoftBodyHelpers::CreateFromTriMesh - Ogre version?
Replies: 38
Views: 40609

Re: btSoftBodyHelpers::CreateFromTriMesh - Ogre version?

JayAr wrote:Instead of scaling mObjectNode try this:

btSoftBody* psb = ...;
psb->scale(btVector3(...));

I just tried it, it should scale both the Object Node and the Softbody
Hey, works like a charm. Thanks a lot! :D
by rs_kryptik61636
Tue Jan 25, 2011 11:36 pm
Forum: General Bullet Physics Support and Feedback
Topic: AppSoftBodyDemo: How do you get the cloth to tear?
Replies: 1
Views: 2620

AppSoftBodyDemo: How do you get the cloth to tear?

I noticed in the below video that soft body deformation is possible in Bullet vis a vis the cloth tearing.... http://www.youtube.com/watch?v=exss517n1I0 I've been through the demo code more times than I care to recount and I cannot, for the life of me, figure out how they got the cloth to tear. The ...
by rs_kryptik61636
Thu Jan 20, 2011 11:50 pm
Forum: General Bullet Physics Support and Feedback
Topic: btSoftBodyHelpers::CreateFromTriMesh - Ogre version?
Replies: 38
Views: 40609

Re: btSoftBodyHelpers::CreateFromTriMesh - Ogre version?

I scaled down the model in OGRE using mObjectNode->scale(...) where mObjectNode is the scene node of the soft body's corresponding OGRE entity, but when I run the program and I switch on the debug drawer I noticed that the entity has been scaled down but the collision shape hasn't. Does anyone know ...