Page 1 of 1

Direct B3D Format Loading

Posted: Mon Dec 30, 2013 9:00 pm
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.

Re: Direct B3D Format Loading

Posted: Thu Jan 02, 2014 4:35 pm
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.

Re: Direct B3D Format Loading

Posted: Thu Jan 02, 2014 8:27 pm
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

Re: Direct B3D Format Loading

Posted: Thu Jan 02, 2014 9:15 pm
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.

Re: Direct B3D Format Loading

Posted: Fri Jan 03, 2014 5:16 pm
by N_Gnom
for this you must read the b3d format correctly.