当我打开Truespace的Cob文件时,凌乱的代码 [英] Messy Code When I Open Truespace's Cob File

查看:132
本文介绍了当我打开Truespace的Cob文件时,凌乱的代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近,我阅读了AndréLaMothe的书(3D游戏编程技巧大师),由truespace创建的cob文件包含有关要绘制的对象的全部信息,例如顶点,颜色,阴影模式......以及下载了最新版本(trueSpace7.61 Beta 8)。虽然,我遇到了一个问题:



首先,我将cob文件加载到AndréLaMothe给出的truespace中,可以通过程序给定的界面进行解析。

秒,我在truespace中单击另存为,并且没有更改任何关于文件但是其名称的内容。

第三,当我打开文件时,它是所有乱码,并且可以'不再被程序解析。





i不知道AndréLaMothe如何创建cob文件,至少我找不到答案从他的书。有没有人喜欢这部分?谢谢。

recently, i read André LaMothe's book (master of 3d game programming skills), the cob file created by truespace contains the whole information about the object to draw,such as vertices, color, shade mode.... and, i downloaded the latest version(trueSpace7.61 Beta 8). while,i encountered a problem:

first , i load the cob file into truespace given by André LaMothe, which can be parsed by program's given interface.
second, i clicked "save as" in truespace, and without changing anything about the file but its name.
third, when i open the file, it's all messy code, and can't be parsed by program anymore.


i don't know how André LaMothe creates the cob file, at least i fail to find answer from his book. is there anyone familier with this part? thank you.

推荐答案

AndréLaMothe将该文件保存为文本模式,并将该文件保存为二进制模式。所以你看到凌乱的代码。
André LaMothe saved that file as text mode and you saved that file as binary mode. So you see messy code.


这篇关于当我打开Truespace的Cob文件时,凌乱的代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆