Report any bugs here and we'll post fixes
Moderators: Sascha Willems, Thomas
by AntonSynytsia » Wed Jan 01, 2014 12:33 am
NewtonCreateCompoundCollisionFromMesh keeps crashing in Newton 3.12
Last edited by
AntonSynytsia on Fri Jan 03, 2014 1:39 pm, edited 1 time in total.
-
AntonSynytsia
-
- Posts: 193
- Joined: Sat Dec 28, 2013 6:36 pm
by Julio Jerez » Wed Jan 01, 2014 7:15 am
can you tell me where does it crash, so that I can fix it? please
-
Julio Jerez
- Moderator
-
- Posts: 12249
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by AntonSynytsia » Wed Jan 01, 2014 6:09 pm
In demosSandbox convexApproximation.cpp, Line 37 -- Assertion failed.
In coreLibrary_300\source\meshUtil\dgMeshEffect3.cpp, Line 1354, The dgMeshEffect::CreateConvexApproximation function returns 0! The original code is commented out. So its not NewtonCreateCompoundCollisionFromMesh the function that bugs, but the NewtonMeshApproximateConvexDecomposition
-
AntonSynytsia
-
- Posts: 193
- Joined: Sat Dec 28, 2013 6:36 pm
by Julio Jerez » Thu Jan 02, 2014 12:58 am
ha, yes I was going to make an improvement on that, and I got distracted.
are you using convex approximation now?
I see if I can get it back on soon.
-
Julio Jerez
- Moderator
-
- Posts: 12249
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by AntonSynytsia » Thu Jan 02, 2014 2:19 am
No, I'm not using it now, just testing
Take as much time as you need because it's your project, and it's already at its best
-
AntonSynytsia
-
- Posts: 193
- Joined: Sat Dec 28, 2013 6:36 pm
by Julio Jerez » Thu Jan 02, 2014 4:03 pm
ok I fixed that commnet out error.
Tha was because I change the format of teh report progress call back,
and I did not want to spend teh tiem refactong that call so I put and assert and return NULL
Then I forget to fix it.
sorry abput that.
It should be fine fine now, please try again
-
Julio Jerez
- Moderator
-
- Posts: 12249
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by AntonSynytsia » Thu Jan 02, 2014 7:25 pm
There's only one little thing. The convex approximation is calculated improperly for the cylindrical cups:
- convex approximation.png (152.47 KiB) Viewed 5923 times
-
AntonSynytsia
-
- Posts: 193
- Joined: Sat Dec 28, 2013 6:36 pm
by Julio Jerez » Thu Jan 02, 2014 7:47 pm
oh yes is failing in most of the concave. I will check it out
-
Julio Jerez
- Moderator
-
- Posts: 12249
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by Julio Jerez » Fri Jan 03, 2014 12:46 pm
Ok it should be fine now.
I forget to put that back.
Thank for testing that.
-
Julio Jerez
- Moderator
-
- Posts: 12249
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
Return to Bugs and Fixes
Who is online
Users browsing this forum: No registered users and 9 guests