Sign in to follow this  
AmidaBucu

Own mesh format

Recommended Posts

AmidaBucu    104
Hi there! Becouse I need 3 textures (color, bump, specular) per faces in a mesh, I gotta create an own mesh format that solves my needs. At first time it sounds like a simple task, but what about the mesh-exporter script? How would U guyz solve that?

Share this post


Link to post
Share on other sites
Captain P    1092
Why not store those bump- and specular maps in the texture, instead of modifying the model format? Or, a system that associates bump- and specular maps with textures, perhaps something as simple as a filename-based lookup ('texture.tga' uses 'texture_bump.tga' as bumpmap, if there is a _bump version, etc).

Share this post


Link to post
Share on other sites
riruilo    218
I have the same problem.

I'm using a binary file format which is based on COLLADA format. Actually I read all data from a COLLADA file and I store it on a binary file. BTW, I'm using and old free open source library called FCOLLADA. I would recommend you take a look at COLLADA DOM.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this