Re: new trimesh vs trimesh code

"Oleh Derevenko" <[email protected]>
Newsgroups gmane.comp.lib.ode
Message-ID <[email protected]>
Hi, Jon

----- Original Message ----- 
From: "Jon Watte (ODE)"
To: "Oleh Derevenko"
Subject: Re: [ODE] new trimesh vs trimesh code


>> rounding the position coordinates to 1e-4 precision - that makes 
>> neighbour buckets very small (a cube with edge of 1e-4). However 
>> including several close contacts usually makes final dynamics calculation 
>> equation system worse, as far as I understand.
>>
>
> Yes, you typically want to merge with 1e-2 precision if you're using 
> meters.
>
> Merging contacts with differing normals is necessary to get smooth results 
> from a ball rolling on a trimesh, because the normal of a sphere 
> intersecting with a triangle edge goes away from the edge toward the 
> sphere, not orthogonal to the triangle surface.
>
> So, if you don't like it, the code's all yours :-)

No, I do not use contacts and do not simulate physics. I do not have 
environment to test all that in. I only use library to detect the fact of a 
collision. So, I only correct the things that are important to me and which 
I can verify later. All the rest places that look suspicious to me I mark 
with commentaries in code and/or report here, so that people who are more 
familiar with all that and use that code in their applications, could have a 
hint where to look.

Oleh Derevenko
-- ICQ: 36361783
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.