TriMesh Update Info needed

slasharena <[email protected]>
Newsgroups gmane.comp.lib.ode
Message-ID <[email protected]>
Hi,

I'm working on Collision with TriMesh and a Sphere. The collision works fine
in the begining. 

When I update my Trimesh (like increasing the number of triangles, changing
vertices, etc).....I got no idea about updating the Tri Mesh
Data...:confused:


This is what I do in InitFunction()

{

........

Data = dGeomTriMeshDataCreate();


dGeomTriMeshDataBuildSimple(Data, (dReal*)m_vVertexArray, m_iVertexCount,
m_iIndexArray, m_iIndexCount);


TriMesh = dCreateTriMesh(space, Data, 0, 0, 0);

}


In Update function(), I change all the variables , like vertexcount,
indexcount, etc...So How do I 
 tell the TriMeshData that info has been changed???


I've been struggling a lot to get info regarding.....Could someone please
help me????


Thanks,

Sandeep.

-- 
View this message in context: http://www.nabble.com/TriMesh-Update-Info-needed-tf4572140.html#a13050819
Sent from the ODE mailing list archive at Nabble.com.

_______________________________________________
ODE mailing list
[email protected]
http://ode.org/mailman/listinfo/ode
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.