Hello Kazuhiko,

Kazuhiko Kido wrote:
>> Is your ODE compiled to use single or double precision floating point 
>> numbers (this is selected with a preprocessor define -DdSINGLE or 
>> -DdDOUBLE)? Since the OpenSG physics classes all use float, it should 
>> probably be dSINGLE, perhaps a mismatch in these settings causes the 
>> problem?
> This is the point of this problem.
> 
> I had compiled ODE libraries with -DdDOUBLE option.
> I changed the option to -DdSINGLE, then sample program works fine.
> i will try to examine physics library for my application.

ok, glad to hear the examples are working for you now.

> one thing im little worried about is, some ODE experts recommends to build 
> library with a -DdDOUBLE
> option.would be affected by using -DdSINGLE?

hm, I don't know enough about ODE to comment on the effects of using 
single instead of double precision. If you haven't already done so, I'd 
suggest contacting the ODE developers, describing your planned usage a 
bit and see if they have advice for your specific use case.

        Cheers,
                Carsten

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to