Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


better 3d model file


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 Francisco Blanco   Members   -  Reputation: 120

Like
0Likes
Like

Posted 02 June 2014 - 11:29 AM

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

 

 



Sponsor:

#2 Ashaman73   Crossbones+   -  Reputation: 7876

Like
3Likes
Like

Posted 03 June 2014 - 12:04 AM


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).



#3 bioglaze   Members   -  Reputation: 596

Like
1Likes
Like

Posted 03 June 2014 - 04:24 AM

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



#4 Francisco Blanco   Members   -  Reputation: 120

Like
0Likes
Like

Posted 03 June 2014 - 09:11 PM

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






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS