ConvexHull Creation bug

A place to discuss everything related to Newton Dynamics.

Moderators: Sascha Willems, walaber

ConvexHull Creation bug

Postby Cyrus » Sun Feb 13, 2011 1:59 am

Hi Julio,
I am using newton 2.26 sdk which got fixes to convex hull creation problem as per the thread viewtopic.php?f=25&t=6170.
But I can see crashes again at CollisionPrimitives.ConvexHull(world, vector3[], tolerance,id) with my models.
I attached the model here.

Thanks
Cyrus
Attachments
SP_Equipment_CC-FC_test2_n.rar
Decomposed obj file
(31.28 KiB) Downloaded 145 times
Cyrus
 
Posts: 49
Joined: Mon May 17, 2010 1:04 am

Re: ConvexHull Creation bug

Postby Julio Jerez » Sun Feb 13, 2011 3:14 am

Well Newton is comming out open source tomorrow with zlib licence.
you then can link to the library and give me more information.
I will post the google link so that you can download it.

It takes me a lot to set up a test just to test one mesh.
Is that a collesion of object or just one big object.
Julio Jerez
Moderator
Moderator
 
Posts: 12426
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: ConvexHull Creation bug

Postby ledahut » Mon Feb 14, 2011 4:34 am

I loaded your model, and created a convex hull (tolerance 10/0.1/0) without crashes.
I also tried a tree collision with optimize, work fine too.
So I believe your vector3[] or count or stridesinbytes arguments are not set correctly.
ledahut
 
Posts: 98
Joined: Mon Jun 21, 2010 8:03 am
Location: France

Re: ConvexHull Creation bug

Postby Julio Jerez » Wed Feb 16, 2011 11:58 am

Hi Cyrus now that the engine is released as open source, maybe you can see what the bug taht you were having with convex hulls is.
Julio Jerez
Moderator
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 0 guests

cron