Bug with convex hull modifiers

Report any bugs here and we'll post fixes

Moderators: Sascha Willems, Thomas

Bug with convex hull modifiers

Postby DarthGak » Thu Aug 28, 2008 7:44 pm

I think I found a bug with the convex hull modifier (in beta 16). It doesn't seem to actually modify the geometry until it first rotates. Here is a test case:

-Create a floor
-Create a sphere collision above the floor.
-Use a modifier to make the sphere stretch top bottom (sorta egg shaped)
-Start the simulation.

In my case the sphere falls to the floor as if it was unmodified. Then as soon as it touches the floor and rotates just a bit then it will assume the correct shape and ooze out of the floor. Note if you read back the collision shape it shows correctly, but it still behaves as described.

Thanks
Chris
DarthGak
 
Posts: 25
Joined: Sat Nov 25, 2006 4:55 pm

Re: Bug with convex hull modifiers

Postby JernejL » Thu Aug 28, 2008 7:52 pm

Could you post a video of this? the problem could be caused by a improperly constructed matrix or somthing similar.. and if someone else tries to recreate the setup from your instructions, it can end up a lot differently.
Help improving the Newton Game Dynamics WIKI
User avatar
JernejL
 
Posts: 1578
Joined: Mon Dec 06, 2004 2:00 pm
Location: Slovenia

Re: Bug with convex hull modifiers

Postby Julio Jerez » Thu Aug 28, 2008 11:22 pm

the first thong to do is to get teh newer beta, it is 17 now.
there are few bug fixes and soem modifications to teh contact interface.
then as Delfi say a video will crify the bug.l
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Bug with convex hull modifiers

Postby DarthGak » Fri Aug 29, 2008 4:51 pm

I installed the new beta and the problem seems to be fixed. Thanks Julio.
DarthGak
 
Posts: 25
Joined: Sat Nov 25, 2006 4:55 pm

Re: Bug with convex hull modifiers

Postby Julio Jerez » Fri Aug 29, 2008 5:22 pm

nice!

are you migrating skechyPhsyics 2.0 to newton 2.0? :D
I love to see what peopel will do because it is way, way much faster and it have no object limits.
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles

Re: Bug with convex hull modifiers

Postby DarthGak » Sun Aug 31, 2008 4:42 pm

Yes. In fact I am rewriting SP at the same time. It is going really well. I like the new version. In my case the ability to check if shapes collide outside the material system is going to make a lot of cool stuff possible.

Unfortunately it isn't any faster for me. My bottleneck is Sketchups rendering speed. In fact I have started doing some of my call backs in ruby instead of C because it is isn't any slower.
DarthGak
 
Posts: 25
Joined: Sat Nov 25, 2006 4:55 pm


Return to Bugs and Fixes

Who is online

Users browsing this forum: No registered users and 9 guests

cron