Advertisement

better 3d model file

Started by June 02, 2014 05:29 PM
2 comments, last by Francisco Blanco 10 years, 5 months ago

Hi,

I'm programming a 3d engine and I need to load 3D moleds to this engine, I've written a blender export plugin to my own file, but now I think:

which kind of thing will I need to my games (resources, mesh, bones, camera, ligths, scenes, etc)?

Is It necesary create that files?

Is there a file like Collada DAE that It has all information?

Is It better create all my own files or read .blend file?

Thanks all , regards


which kind of thing will I need to my games (resources, mesh, bones, camera, ligths, scenes, etc)?

Most likely

- mesh

- textures

- bones

- keyframes (animation)

- vertex color

- general object information (this object represents a billboard/lightsource/effect in your engine)


Is It necesary create that files?

More or less, yes, because most other formats filled up with stuff you don't need. Best to have a binary, hi-performance format, which is very similar to your engine internal data structures (you just need to load them and don't need to convert stuff during loading time).

Thought, writing your own export is not the best idea, better would be a converter from a common format (collada/FBX) to your own format, regardless of the modelling tool you use.


Is there a file like Collada DAE that It has all information?

FBX is quite common and Open Game Engine Exchange seems promising.


Is It better create all my own files or read .blend file?

Create your own format (see above).

Advertisement

You should write your own model format to keep engine runtime dependencies and loading times to the minimum.

Aether3D Game Engine: https://github.com/bioglaze/aether3d

Blog: http://twiren.kapsi.fi/blog.html

Control

Thank to reply!!! I'll to write my own file format, It'll be simple first and complex after.

This topic is closed to new replies.

Advertisement