bdbdonp / tubras

Automatically exported from code.google.com/p/tubras
0 stars 0 forks source link

Code for loading .irrbmesh files isn't available #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The irrb 0.4 manual has links to source files for loading binary meshes, but 
the links are dead. I tried using CIrrBMeshFileLoader, but it doesn't seem to 
load any data. I presume the SVN version of the loader is incompatible with the 
0.4 exporter.

os.h and material.UseMipMaps don't exist (using Linux and Irrlicht 0.7). With 
these commented out the loader generates empty meshes, no geometry. iwalktest 
will load the test file perfectly well.

I'm using Irrlicht 0.7, Ubuntu 10.10, and C++, but *not* the Tubras engine, 
just standard Irrlicht.

Test file attached

Original issue reported on code.google.com by grahamal...@gmail.com on 25 Feb 2011 at 10:17

Attachments:

GoogleCodeExporter commented 8 years ago
I should have set the documentation links to the 0.4 svn tag:

http://tubras.googlecode.com/svn/tags/irrb-0.4/tools/irrlicht/extensions/CIrrBMe
shFileLoader.h

http://tubras.googlecode.com/svn/tags/irrb-0.4/tools/irrlicht/extensions/CIrrBMe
shFileLoader.cpp

Give those versions a try. Please note that the .irrbmesh format is currently 
experimental and is going to change in the next version of irrb. The new format 
will be a better implementation of http://www.martinreddy.net/gfx/2d/IFF.txt 
and be better prepared to support backward compatibility.

Original comment by pc0...@gmail.com on 25 Feb 2011 at 2:44

GoogleCodeExporter commented 8 years ago
Yes, that works, so long as I comment out #include "os.h", I guess that's a 
windows include. My level files load in a few seconds instead of over half a 
minute, Thank you!
Note that CIrrBMeshWriter (.cpp and .h) need to be downloaded from the same 
directory (I think, the IDE did something wierd, so I can't tell).

When is the next version likely to be ready?

Original comment by grahamal...@gmail.com on 25 Feb 2011 at 4:11