Loading meshes from a file.

Physics APIs, Physics file formats, Maya, Max, XSI, Cinema 4D, Lightwave, Blender, thinkingParticles™ and other simulation tools, exporters and importers
Post Reply
3DModelerMan
Posts: 20
Joined: Thu Oct 22, 2009 2:02 pm

Loading meshes from a file.

Post by 3DModelerMan »

How can I load a btTriangle mesh from a file? I searched around and couldn't find anything on it. Does Bullet load .obj or .b3d?
aokman
Posts: 30
Joined: Thu Oct 01, 2009 2:17 pm

Re: Loading meshes from a file.

Post by aokman »

I don't know whether Bullet do this. If Bullet don't do this, you can do it yourself. There is not much difficulty.

you can google the format for these file formats.

.obj file is based on string, it is not hard to load a .obj file as long as you know its file format and familiar with C file I/O function. As to .b3d, I don't know much, but I think if you understand its file format, it is also no difficulty.

There is a book on 3D model named 'Focus On 3D Models', you can find more idea from it.

Good luck. :D
Post Reply