A place to discuss everything related to Newton Dynamics.
Moderators: Sascha Willems, walaber
by PJani » Fri Apr 08, 2011 5:33 am
How exactly NewtonCreateCompoundCollisionFromMesh works?
Edit:
i mean if anyone have any example of this!?
| i7-5930k@4.2Ghz, EVGA 980Ti FTW, 32GB RAM@3000 |
| Dell XPS 13 9370, i7-8550U, 16GB RAM |
| Ogre 1.7.4 | VC++ 9 | custom OgreNewt, Newton 300 |
| C/C++, C# |
-

PJani
-
- Posts: 448
- Joined: Mon Feb 02, 2009 7:18 pm
- Location: Slovenia
by Julio Jerez » Fri Apr 08, 2011 8:22 am
I comented it out in vertion 26 or 29 I beleive, when I comented out the destruction, because I was not happy with, I will reopent in next version 2.34.
Making a compound collision is simple, however is dificult to edit.
basically that funtion is for faciliting the creation of compound collision that are more complex than a simple collection of convex shapes.
for that I created the collison mesh where you can select face, points, edged, subment, materials, do boolean, and other stuff like VoronoiDecomposition and NewtonMeshConvexDecomposition (still lin progress)
then you can just use the mesh and make a compound collision and make you visual mesh.
anoteh falvor will be use also for make collision tree with mutipel material.
If you saw the last demo where I complete the Voronoi decomposition funtionality, I still did not use NewtonCreateCompoundCollisionFromMesh
but the voronoi effect gives you the result in teh form of a NewtonMesh, as a set of convex peices, you can for example edit the parts before you make a collision,
the you make the compound using the function.
but for the next demo where I will make locallizable destruction and also the version fo newtionConvex decompsoition using the fhe mesh bolleans
and the function NewtonCreateCompoundCollisionFromMesh from the result
is the inteface tah will be use to make the collision from the result from the effect generated in the from of a mesh.
-
Julio Jerez
- Moderator

-
- Posts: 12426
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
Return to General Discussion
Who is online
Users browsing this forum: No registered users and 1 guest