Questions about NewtonMeshBuildFromVertexListIndexList

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

Questions about NewtonMeshBuildFromVertexListIndexList

Postby Devwave » Fri Dec 12, 2014 9:13 pm

Hello.
I have some simple questions about NewtonMeshBuildFromVertexListIndexList.

1. What are and why does the function asks for a list of material indices?
2. Why does it needs normals?
3. What are and why does it asks for uv0 and uv1 arrays?
4. Are there other functions that can be used to create body collisions from vertices and indices arrays?
5. My model is made of triangles only. Do I have to create an array full of 3's or is there anything faster?

Ty
Devwave
 
Posts: 6
Joined: Tue Nov 11, 2014 11:46 pm

Re: Questions about NewtonMeshBuildFromVertexListIndexList

Postby Julio Jerez » Fri Dec 12, 2014 10:17 pm

if you are building a collision, you can use NewtonCollision tree, or a NewtonConvexHull
NewtonMesh is a geometry Tool for processing visual geometry.

you can also use NewtonMesh and pass the polygons or triangle one at a time.
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Questions about NewtonMeshBuildFromVertexListIndexList

Postby Devwave » Fri Dec 12, 2014 10:31 pm

Ty.
I would never imagine that Newton supported these things xD
I think that's it for now.
Devwave
 
Posts: 6
Joined: Tue Nov 11, 2014 11:46 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 6 guests