Archived

This topic is now archived and is closed to further replies.

Drooling Iguana

Model file formats

Recommended Posts

I''m looking for a good file format for the 3D models that I''m going to load into my game. I find most graphical 3D modeling applications to be incredibly awkward, so I''d like a format there I can just enter vertex and texture coordinates into a text editor and then run a utility to "compile" it into the model format. However, I want my game to be easily moddable, so I''l also like the files to either be editable from a mainstream commercial 3D modeling program or to be easily convertable from a file format used by a mainstream commercial 3D modeling program. I''d also like something that I could use without paying royalties or liscense fees, both for the format itself and for the utility I''d use to create my files. Any suggestions?

Share this post


Link to post
Share on other sites
I have an idea.

You could very easily create an Opengl program where you could type in your vertices and texture coordinates, and could instantly see the result (this would really make things easier, I promise you) and edit them dynamically.

PLUS you could then save it in whichever format you wouldn''t and wouldn''t have to worry about parsing anything.

Just a thought, but it depends on what you are modelling. If it''s living creatures, you''ll really need to use a 3d modeller. If it''s (potentially) simpler shapes such as space ships, then you can stand to do it a little more manually.

Jeff

Share this post


Link to post
Share on other sites
It's space ships and asteroids. I'm writing an Asteroids clone right now, and when I'm finished with that I intend to expand its codebase into a multiplayer space battle game.

The problem with your idea, Jeffno10, is that, like I said, I'd like the game to be modable, so I need a file format that can be edited in popular 3D modelling programs, even if I don't want to use a program like that myself. Also, I'm anxious to get this project off the gound, so I don't want to have to write a seperate program to make my models.

[edited by - Drooling Iguana on August 11, 2003 7:01:40 PM]

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
You can use them for free, so long as you don''t use any Id proprietary software to create them..

Another really easy-to-get-going format is ASE... it really depends on the modeler you''re using... Milkshape''s own format is pretty simple, but you can pick through the ASE format using notepad, not a hex-editor...

Share this post


Link to post
Share on other sites
You can use them for free, so long as you don''t use any Id proprietary software to create them..

Another really easy-to-get-going format is ASE... it really depends on the modeler you''re using... Milkshape''s own format is pretty simple, but you can pick through the ASE format using notepad, not a hex-editor...

Share this post


Link to post
Share on other sites
I just posted a similar question. It''s real annoying because it''s a lot of work to get a model from a file struture to gl. And another problem is which program does your modeler use. If you convert it from say 3dsMAX you''ll have a hard time figuring out how the file structure works but if you use some quake file structure is it easy to get models?????

Could someone tell me about a file structure that is simple with a 3ds modelling program that is easy to use and supports that file structure. Or does these other file structures use converters??

NICK

Share this post


Link to post
Share on other sites
Drooling Iguana : ASE is definitly what you want. Pop open 3DS Max, create a box, add a UVW map to it, assign it a material with a texture, export it as an ASE, and then you can just pour through the file format yourself.

NickKirt : The .3ds file format and the .md3/4/5 file format all import into vertex arrays pretty well. Writting your own 3DSMax exporter isn''t as hard as it seems.

-=|Mr.Oreo|=-
Code Monkey, l33t.ca

Share this post


Link to post
Share on other sites
quote:
Original post by MrOreo
Drooling Iguana : ASE is definitly what you want. Pop open 3DS Max, create a box, add a UVW map to it, assign it a material with a texture, export it as an ASE, and then you can just pour through the file format yourself.
Unfortunately, I don''t have 3DS Max. Are there any other free/cheap modellers that use this file format?

Share this post


Link to post
Share on other sites