A place to discuss everything related to Newton Dynamics.
Moderators: Sascha Willems, walaber
by Adversus » Sat Jan 07, 2012 2:29 pm
I get invalid access problems during initialization at this line in:
dgEdge* dgPolyhedra::AddFace(dgInt32 count, const dgInt32* const index,
const dgInt64* const userdata)
{
...
IntersectionFilter selfIntersectingFaceFilter;
...
}
Due to the size of this arrary in IntersectionFilter.
dgInt64 m_array[2048];
If I reduce it from 2048 then it will get past this problem however what would be the consequences of doing this and what do you recommend?
Thanks.
-
Adversus
-
- Posts: 29
- Joined: Tue Oct 12, 2010 8:39 am
by Julio Jerez » Sat Jan 07, 2012 2:55 pm
the consccuences is that will it may crash if you procces big meshes.
since it is a plaform with small stack, I asume you will no have very complex meshes.
notice that that is a tool function, the result of that is a small objects tha are well befave with physics algorithm,
I asume you were optimizing a collison tree. you can simply do that off line an serialize it.
what platform has a stack than is so small?
in VS which is on the small side, the stack is 1 meg and the engine works fine with it. I never had a stack oveflow.
-
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