[ODE] Re: Trimesh problems in 041904

james at 6msoft.com james at 6msoft.com
Thu Apr 22 09:21:11 MST 2004


> I just downloaded the latest available binaries to update an older project
> (was previously using 0.39).
>
> Everything seems fine until I try to fill Trimesh data using
> dGeomTriMeshDataBuildSimple, which causes a crash (cannot read data from
> address.....). I am wondering if anyone has encountered this or a similar
> problem, or if its just broken for this version...
>
> -James Dolan
>


Call stack:

>	H50.exe!IceMaths::Point::Min(const IceMaths::Point & p={...})  Line 203
+ 0x2b	C++
 	H50.exe!Opcode::AABBTreeOfTrianglesBuilder::ComputeGlobalBox(const
unsigned int * primitives=0x169583a8, unsigned int nb_prims=616,
IceMaths::AABB & global_box={...})  Line 123 + 0x14	C++
 	H50.exe!Opcode::AABBTreeNode::_BuildHierarchy(Opcode::AABBTreeBuilder *
builder=0x0115f280)  Line 336 + 0x1f	C++
 	H50.exe!Opcode::AABBTree::Build(Opcode::AABBTreeBuilder *
builder=0x0115f280)  Line 441	C++
 	H50.exe!Opcode::Model::Build(const Opcode::OPCODECREATE & create={...}) 
Line 178 + 0xf	C++
 	H50.exe!dxTriMeshData::Build(const void * Vertices=0x19520040, int
VertexStide=16, int VertexCount=263169, const void * Indices=0x16932dd8,
int IndexCount=17238, int TriStride=12, const void *
in_Normals=0x00000000, bool Single=true)  Line 76 + 0x11	C++
 	H50.exe!dGeomTriMeshDataBuildSingle1(dxTriMeshData * g=0x16931d98, const
void * Vertices=0x19520040, int VertexStride=16, int VertexCount=263169,
const void * Indices=0x16932dd8, int IndexCount=17238, int TriStride=12,
const void * Normals=0x00000000)  Line 167	C++
 	H50.exe!dGeomTriMeshDataBuildSimple1(dxTriMeshData * g=0x16931d98, const
float * Vertices=0x19520040, int VertexCount=263169, const int *
Indices=0x16932dd8, int IndexCount=17238, const int *
Normals=0x00000000)  Line 208 + 0x21	C++
 	H50.exe!dGeomTriMeshDataBuildSimple(dxTriMeshData * g=0x16931d98, const
float * Vertices=0x19520040, int VertexCount=263169, const int *
Indices=0x16932dd8, int IndexCount=17238)  Line 222 + 0x1b	C++
 	H50.exe!WorldAddStaticMesh(const float * pVerts=0x19520040, int
iNumVerts=263169, const unsigned int * pTriangles=0x16932dd8, int
iNumTriangles=17238)  Line 238 + 0x23	C++
 	H50.exe!Level::Load(const char * pcPath=0x006a78e8)  Line 327 + 0x29	C++
 	H50.exe!AppLoadLevel(const char * szLevelName=0x005ffbf8, int
iNumHumanPlayers=0, int iNumAI=7)  Line 479 + 0xf	C++
 	H50.exe!AppInit()  Line 176 + 0xe	C++
 	H50.exe!WinAppInit()  Line 266	C++
 	H50.exe!WinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ *
hPrevInstance=0x00000000, char * lpCmdLine=0x00041f32, int nCmdShow=1) 
Line 64 + 0x5	C++
 	H50.exe!WinMainCRTStartup()  Line 251 + 0x30	C
 	kernel32.dll!77e814c7()




More information about the ODE mailing list