Jump to content
  • Advertisement
Sign in to follow this  
Dr_Asik

3ds Max file format question

This topic is 3075 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

For last year's school project, we created our models in 3dsMax and would export them to a text format to import them in our game using a custom importer.

I am trying to port the game to Irrlicht. Irrlicht does not support our text format. I unfortunately cannot find the original .max or .3ds files, all I got are the text files. I am wondering how can I convert them to a format Irrlicht would recognize. I've tried importing them back in 3dsMax but it doesn't work. Here is what the format looks like:

nmaterial 1

name 01 - Default
col 1.0 1.0 1.0 0.5
map 1
boule3.jpg

nobject 1

mat_id 0
name Sphere01
nvertex 482
position 0.0 0.0 0.0
0.0 0.0 5.0
0.0 0.975452 4.90393
-0.190301 0.956709 4.90393
-0.373289 0.9012 4.90393
-0.541932 0.811058 4.90393
-0.689749 0.689748 4.90393
-0.811058 0.541932 4.90393
(snip)
0.541932 0.811058 -4.90393
0.373289 0.9012 -4.90393
0.190301 0.956708 -4.90393
0.0 0.0 -5.0
ntvertex 482
0.5 0.5 0.999501
0.5 0.597448 0.989903
(snip)
0.554139 0.581025 0.0100973
0.537292 0.59003 0.0100973
0.519011 0.595575 0.0100973
0.5 0.5 0.000499517
nfaces 960
0 1 2 0 1 2
0.0 0.0 1.0
0.0 0.200969 0.979598
-0.0392071 0.197107 0.979598
-0.0096534 0.0980126 0.995138
0 2 3 0 2 3
0.0 0.0 1.0
(snip)
481 449 480 481 449 480
0.0 0.0 -1.0
0.0 0.200969 -0.979598
0.039207 0.197107 -0.979598
0.00965339 0.0980126 -0.995138

Share this post


Link to post
Share on other sites
Advertisement
Either write a converter to one of the popular 3d formats or convert it by hand to Obj which at a glance seems similar to your file format.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!