kryton9
22-11-2007, 03:09
Guys, I have been looking into various 3d File Formats and starting to understand a little bit how they work.
Petr, did a great job in giving us a simple file format with M15, I didn't think so at first, but after I see the others... I see what a great job he did.
My main thing is being able to use other packages and get more features. Mike of course wrote the awesome Blender Export script, but not being able to use a standard file format is limiting.
I have looked at Collada and FBX, but they are very rich huge file formats not suitable for games.
Obj is nice, but it doesn't support animation.
This leaves 2 formats, DirectX's X format and 3ds. I am leaning towards 3ds. The reason when I was working with DirectX, not all programs had DirectX exporters, where as everyone seems to have 3ds support. I wanted to see if any of you had used anything else that you would recommend me looking in too. The format should support animation, texture maps, and transparency.
I am thinking of developing a loader and then passing it on to Petr to refine with his tremendous skills.
Here are some things that will be returned, let me know if you guys think of any others.
Bounding Box size
Center of object
Radius of Object (this is used to set the camera so you always see the objects at a good size, clever idea)
The model will support transparency and textures... I found out you draw the model in 2 passes and draw the faces accordingly.
Also I will look into using one of the libraries Jose has converted to powerbasic to allow us to use different graphic file formats, my main interest right now is png as it is a great all around file format that allows everything at a great size.
Petr, did a great job in giving us a simple file format with M15, I didn't think so at first, but after I see the others... I see what a great job he did.
My main thing is being able to use other packages and get more features. Mike of course wrote the awesome Blender Export script, but not being able to use a standard file format is limiting.
I have looked at Collada and FBX, but they are very rich huge file formats not suitable for games.
Obj is nice, but it doesn't support animation.
This leaves 2 formats, DirectX's X format and 3ds. I am leaning towards 3ds. The reason when I was working with DirectX, not all programs had DirectX exporters, where as everyone seems to have 3ds support. I wanted to see if any of you had used anything else that you would recommend me looking in too. The format should support animation, texture maps, and transparency.
I am thinking of developing a loader and then passing it on to Petr to refine with his tremendous skills.
Here are some things that will be returned, let me know if you guys think of any others.
Bounding Box size
Center of object
Radius of Object (this is used to set the camera so you always see the objects at a good size, clever idea)
The model will support transparency and textures... I found out you draw the model in 2 passes and draw the faces accordingly.
Also I will look into using one of the libraries Jose has converted to powerbasic to allow us to use different graphic file formats, my main interest right now is png as it is a great all around file format that allows everything at a great size.