|
|
这几天看focus on 3D models 上md3的格式...
好象
Faces
As with the vertices and keyframes, be sure to jump to the triangle
offset as given in the header before you start getting data, lest you have
disastrous results. As with MD2, all faces in the MD3 model are triangles.
Each face structure contains three unsigned shorts that hold
indexes into the arrays of vertices.在adobe reader上是173页,
的"Each face structure contains three unsigned shorts "写错了?应该是three unsigned int ? 被这个东西卡了几天,后来切到内存里面去看的index时候,才发现用short看index竟然是
满篇的0 X 0这种组合.
书上写的它的网站books.codershq.com.上会登堪错表?可是去这个网站上好象找不到这本书?
谁有这个书的堪错表,麻烦发一份,谢谢 ^_^
顺便:为什么md3做index要用int? 麻烦哪位高手给小弟讲解一下,不胜感激. |
|