NxGenerateConvexMeshFromOgreMesh and Shared Vertices

the_viking

21-02-2008 15:04:50

I think I found a bug in NxGenerateConvexMeshFromOgreMesh():

We're using Meshes with shared vertices, and in the original implementation of NxGenerateConvexMeshFromOgreMesh there weren't any (safe) vertices used (made) if the mesh used shared vertices.

So what I did is, below the loop that iterated through all submeshes, reset the added_shared to false.

Versions:
NxOgre (NxOgre 0.9-38.Debug) Started, working with:

- PhysX => 2.7.2
- Ogre => 1.4.6 'Eihort'
- Platform => Windows Debug