Question

Let's say I am using a custom GLSL shader that uses a special interleaved array format made of 11 floats :position (3 floats), normal (3 floats),UVcoord-1 (2 floats), UVcoord-2 (2 floats),custom attribute (1 float).

I need a file format (preferably ASCII) that allows me to export all this information (especially multiple UV coords for multi-texturing) per vertex from a 3D modelling software (eg. Blender, Maya,etc) and then import it to my application. I have searched all over the net, I can't seem to find a format that allows multiple(custom) data channels per vertex.Am I missing something obvious?

For example:I am using .OBJ format and it only seems to export position, normal and 1 texture to be exported.

Was it helpful?

Solution

Why not just define your very own format? If you're looking for something ready to use, have a look at OpenCTM http://openctm.sourceforge.net

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top