Physics Simulation Forum

 

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sun Nov 08, 2009 11:35 pm 
Offline

Joined: Thu Oct 22, 2009 2:02 pm
Posts: 19
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?


Top
 Profile  
 
PostPosted: Sun Nov 15, 2009 5:50 pm 
Offline

Joined: Thu Oct 01, 2009 2:17 pm
Posts: 30
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group