游戏开发论坛

 找回密码
 立即注册
搜索
查看: 1429|回复: 1

关于<focus on 3D models>这个书...

[复制链接]

30

主题

276

帖子

276

积分

中级会员

Rank: 3Rank: 3

积分
276
发表于 2005-4-19 01:24:00 | 显示全部楼层 |阅读模式
这几天看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? 麻烦哪位高手给小弟讲解一下,不胜感激.

15

主题

363

帖子

390

积分

中级会员

Rank: 3Rank: 3

积分
390
发表于 2005-8-10 13:55:00 | 显示全部楼层

Re:关于<focus on 3D models>这个书...

您有这本书的随书代码么?我到处找,我这里连他的主页都上不去 T_T
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2025-12-26 19:46

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表