Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Bug #490: TVMesh.GetVertex retreival order problem?
Product:
TV3D SDK 6.5
Language:
Not Specified
Current State:
Closed
Resolution:
Fixed
Created On:
October 17th, 2005
Last Modified:
October 30th, 2005
Reported By:
Hypnotron
I'm not entirely sure what is going on here, so please check the code in the URL below.

Basically, it uses the same minimesh vs tvmesh performance test app i wrote but this time i add the conditional compile option #CONST USE_SET_GEOMETRY

So, using a box via TVMesh.CreateBox I then try to call TVMesh.GetVertex to build an indexed vertex buffer. I then use TVMesh.SetGeometry to rebuild the same mesh only this time using indexed geometry.

However, when rendering the order of vertices is clearly wrong. Is this a bug?

(Link)

Comments:

Posted by Hypnotron on October 17th, 2005 at 4:32 PM
NOTE: And in my main app which uses meshes with more vertices than simple cube, if I try to TVMiniMesh.CreateFromMesh(TVMesh) against a TVMesh that was built in the same addvertex -- setgeometry fashion shown in that test project, i get an exception in vb.net
Posted by SylvainTV on October 30th, 2005 at 6:52 PM
I think that has been cleared, with the addition of GetTriangleInfo :)