admin管理员组文章数量:1532270
2024年6月26日发(作者:)
3DS MAX标准文本导出格式ASE的文件结构
如果你正在寻找它的几何体存放在哪的话,事实上,这不是描述具体信息层级关系的图示,而是类似XML的一种
存储规范,它具有独立标签和嵌套标签,独立标签有名称和值表,而嵌套标签不仅可以嵌套子标签,还可以嵌套“子嵌
套标签”,如此递归下去。这种格式固然带来很大的灵活性,但是非常浪费时间。需要对它们全部解套然后利用一致的
算法,提供一个匹配标签名进行标签取出和迭代。
*3DSMAX_ASCIIEXPORT 200
*COMMENT "AsciiExport 版本 2.00 - Wed Sep 19 22:16:39 2007"
*SCENE {
*SCENE_FILENAME ""
*SCENE_FIRSTFRAME 0
*SCENE_LASTFRAME 100
*SCENE_FRAMESPEED 30
*SCENE_TICKSPERFRAME 160
*SCENE_BACKGROUND_STATIC 0.00000000 0.00000000 0.00000000
*SCENE_AMBIENT_STATIC 0.00000000 0.00000000 0.00000000
}
第二行使用了双引号对值进行了限定,避免被分割成子单元。我们可以假设*SCENE块还可以内嵌子块,假如存在,
便可将此子块作为独立单元进行递归分解。直到所有嵌套子块全部被遍历。
* QUICK NOTES *
This tutorial shows how to load a .Ase file. An ASE file is a 3D Studio Max ASCII file that saves all the
information in a text file instead of in binary.
The good thing about this is that it's easy to read in, as well as easy to change without having the
software. The bad thing is that it's a HUGE file size, it takes a lot longer to read in, no other programs support
it and it can't even be imported back into 3D Studio Max. I would recommend looking at this tutorial before
you look at the 3DS tutorial though. That way you can see what is actually being read in.
版权声明:本文标题:3DS MAX标准文本导出格式ASE的文件结构 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/xitong/1719371552a774440.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论