Model Format and surfaces
I would like to add attributes to my models surfaces. Existing formats withstanding I came up with the following:
-Mesh. Array of float verticies.
-Normals. Normal for each vertex.
-Faces. List of which points to use in which order. Probably ordered in pairs of 3 for triangle faces.
-Surfaces. Texture, and surface properties.
-Attributes. In game attributes like hardness, base type like metal\concrete, particles like how much the object explodes in the air when shot, sound for being shot, sound for being collided with etc, etc.
(I have no need for frames or bones or nurbs etc)
Now from what I can gather .obj should suffice for most of my requirements except the attributes. The .mtl files don''t seem to provide a provision for user specified attributes.
Your first thought would them be to "just create your own format", but then I would have to write exporters for a bunch of 3D modelling packages.
If I did decide to go the route of writing my own format is there a format that would be ideal to use as a guide?
Tips, Suggestion, thoughts?
Thanks
Chris
Chris Brodie
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement