Direct B3D Format Loading

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
N_Gnom
User
User
Posts: 76
Joined: Fri Sep 13, 2013 3:20 pm
Location: Germany

Direct B3D Format Loading

Post by N_Gnom »

It would be great if we can load directly b3d meshes without converting with any tool.
B3d with multitexturing and some texturelayer and animated too.
I hope fred, you can add this in one of the next updates.
User avatar
N_Gnom
User
User
Posts: 76
Joined: Fri Sep 13, 2013 3:20 pm
Location: Germany

Re: Direct B3D Format Loading

Post by N_Gnom »

Yes thats the problem.
B3d is a solid format and most of my models are in this format.
mpz wrote for mp3d a nearly perfect loading of b3d format.

Converting to .mesh works not correctly all the time.
User avatar
Samuel
Enthusiast
Enthusiast
Posts: 755
Joined: Sun Jul 29, 2012 10:33 pm
Location: United States

Re: Direct B3D Format Loading

Post by Samuel »

N_Gnom wrote: Converting to .mesh works not correctly all the time.
What about converting your b3d file to a xml file. Then simply use OgreXmlConverter to create the mesh or skeleton files.
This what I do for my custom formats and as of yet I've never had a problem with the xml converter.

Here's the link to the OgreXmlConverter if your interested.
http://www.ogre3d.org/tikiwiki/OgreXmlConverter
User avatar
Samuel
Enthusiast
Enthusiast
Posts: 755
Joined: Sun Jul 29, 2012 10:33 pm
Location: United States

Re: Direct B3D Format Loading

Post by Samuel »

I didn't really mean use a modeling exporter. I meant use Purebasic to create a simple converter from b3d to xml.
Xml files are plain text files and if b3d are unencrypted then it should be easy to make a converter.
Just by looking at a couple samples of each. You should be able to see what needs to be changed.
User avatar
N_Gnom
User
User
Posts: 76
Joined: Fri Sep 13, 2013 3:20 pm
Location: Germany

Re: Direct B3D Format Loading

Post by N_Gnom »

for this you must read the b3d format correctly.
Post Reply