开发者

3D model format with multiple UV coords and custom attributes per vertex

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 a开发者_C百科ll 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.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜