How to use Blender Models

Hi !!

I’m not quit sure if this is the right forum for my question, but I’ll give
it a try…

I want to program a little game using SDL/OpenGL.
Does anybody know a way how to use models which are
created with blender.

Which fileformat should I use ??
Is there a library to load models and display them ??

Thanks for ANY help

Algor

You would have to write/get some sort of python exporter which would export the format you want, wouldn’t you. With the format, don’t you have to program the functionality in yourself (make your own format, therefore own python script) or are you using like a Software Development Kit with certain functions already. If you are using something like a SDK I think you need to work out what kind of commonality there is between blender and your program and write the exporter to convert the information to how you wanted it (similar to how the smart people do the scripts for things like Lightwave etc) or find one that someone in their infinite wisdom has made.

I don’t know if that helps much, but that is all I know.

Have Fun, I hope you can get it done! :smiley:

You probably can’t use the Blender file format…
I and some friends are trying to make a game with the Nebula Device game engine, that can use both OpenGL and DirectX…
The Nebula Device uses the n3d file format… It’s a file format based on the Wavefront object format… In that case, I need to export my blender models to wavefront or Nebula script formats to get usefull models for Nebula.
I’m having some troubles to export files at now, but actually it works for me…
Try to search this forum for python export pluguins and see if some file formats fits your needs…
See this forum topic: https://blenderartists.org/forum/viewtopic.php?t=12676

Other topics related to game models can be uv-mapping and low poly modelling… Some usefull information can be found at this subjects on how to make your models, get ride of complexity and can ilumine you about some of your exportation problems…

Hi,

Thx for this hints… To be honest I have almost no knowledge
about fileformats…
I only hoped, there would be a format which I could easily use…
(with the help of some lib.), but it seems there’s nothing
available. At least I haven’t found anything up to yet.

I think I`ll have to search for an simple format and create some
kind of lib on my own… :frowning:

Andre