Click here to Skip to main content
15,867,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.
Posted
Comments
AARON_ZXF 23-Jan-14 3:57am    
Oh, I forgot to click the option"ascii text" when to save cob file. now problem solved, thank you, man!

1 solution

André LaMothe saved that file as text mode and you saved that file as binary mode. So you see messy code.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900