softbody gaps (pic)

mcfly
Posts: 2
Joined: Wed Dec 03, 2008 10:25 pm

softbody gaps (pic)

Post by mcfly »

hi,

im using softbodies (sdkver 2.73) and for rendering i use the btSoftBody's Node-position/normals.
but whenever there is some action going on (i mean its not in its ref pose), the faces are ripped apart (please check the attached screenie)

i was wondering if the node's positioninfos are meant for rendering, or should i use them to transform the reference vertices bone transformation-like? or is it the model itself that doesnt have a closed surface?

thx
You do not have the required permissions to view the files attached to this post.
mickey
Posts: 107
Joined: Fri Sep 19, 2008 6:08 pm

Re: softbody gaps (pic)

Post by mickey »

Hi

I have my own similar share of problem, but someone here advise me to check if my vertices/mesh are welded properly. I have never tried it yet but would you try it see if it solves the problem and let us know?

Thanks.
mcfly
Posts: 2
Joined: Wed Dec 03, 2008 10:25 pm

Re: softbody gaps (pic)

Post by mcfly »

hi,

if i use the mesh-indexlist (and not btsoftbody's m_faces) to render the vertices, it works. you have to re-map the indices though, since bullet changes the order a bit.