[ODE] compiling problems with trimesh
Frederik Delaere ( at work)
frederik at d-e-sign.be
Tue Oct 28 15:04:09 MST 2003
same problem :(
afaik I was able to compile this one :/
hmmm 30% faster is like A LOT ! keep it up
thanks,
fretn
-----Oorspronkelijk bericht-----
Van: Nguyen Binh [mailto:ngbinh at glassegg.com]
Verzonden: dinsdag 28 oktober 2003 14:56
Aan: ode-bounces at q12.org; Frederik Delaere (@ work)
CC: ode
Onderwerp: Re: [ODE] compiling problems with trimesh
FDw> I can't compile the included trimesh example, I get following error:
It's maybe one of my bug.
Try to get the address of your double[5][4];
Ex: if you have
dReal Vertices[5][4];
then try to pass to dGeomTriMeshDataBuildSimple(geomID,
&Vertices[0][0],....)
That should works!
FYI. I'm working on a performance pack of ODE. The result is very
impressive: I can make ODE run about 30% faster. :)
FDw> error C2664: 'dGeomTriMeshDataBuildSimple' : cannot convert parameter 2
from
FDw> 'double [5][4]' to 'const double *'
FDw> Types pointed to are unrelated; conversion requires
FDw> reinterpret_cast, C-style cast or function-style cast
FDw> windows 2000 - msvc 6.0
FDw> I have build with the code from www.coderfarm.com
FDw> what I am doing wrong ?
FDw> thanks,
FDw> fretn
--
Best regards,
---------------------------------------------------------------------
Nguyen Binh
Software Engineer
Glass Egg Digital Media
E.Town Building
7th Floor, 364 CongHoa Street
Tan Binh District,
HoChiMinh City,
VietNam,
Phone : +84 8 8109018
Fax : +84 8 8109013
www.glassegg.com
---------------------------------------------------------------------
More information about the ODE
mailing list