convexhull creation bug

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

convexhull creation bug

Postby Cyrus » Sun Mar 13, 2011 1:07 pm

Hi,
I have a problem with the convexhull creation ConvexHull(world, vector3[], tolerance,id) with the attached model (problem occurs exactly at the 73rd hull creation). Can someone check or atleast give me a pointer where to debug in the code? Thanks in advance.

Regards,
Cyrus
Attachments
MTL0004_n.rar
convex decomposed obj file
(8.03 KiB) Downloaded 106 times
Cyrus
 
Posts: 49
Joined: Mon May 17, 2010 1:04 am

Re: convexhull creation bug

Postby ledahut » Wed Mar 16, 2011 3:08 pm

I loaded your file without any problem.
I created a convexHull from vertex (just a box)
I created compound with convexHull from vertex of each mesh (same has before because loading your file only create one mesh).
I created tree collision and reading faces/vertex worked fine too.

The bug must be in your application. The 3dfile is correct. (I used newton.dll v 2.30).
ledahut
 
Posts: 98
Joined: Mon Jun 21, 2010 8:03 am
Location: France


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests