large 3d models
large 3d models
When I load large 3d models into the engine, it says that there are too many triangles. Is there a way to set the maximum triangles?
Well, i should have read the Irrlicht sources but i would say Irrlicht saved the triangle count in an unsigned int so if you exceed the maximal number of an unsigned int you will have such a error message.
Possible solution: Edit the model load function to use a greater value to hold the triangle count.
Cheers,
Schick
Possible solution: Edit the model load function to use a greater value to hold the triangle count.
Cheers,
Schick
Please send me an e-mail instead of a private message.
I think this is the thread you'll want http://irrlicht.sourceforge.net/phpBB2/ ... php?t=5223.
I sure hope 4,294,967,296 triangles is enough for you . I may be showing off with that, or I may be varifying what billion means.
I sure hope 4,294,967,296 triangles is enough for you . I may be showing off with that, or I may be varifying what billion means.
Sure, on my patch page http://parsys.informatik.uni-oldenburg. ... d/irrlicht. I changed the patch from IrrSpintz to work with Irrlicht 0.9 (don't know if something was changed, though; anyway I provide a patch which should be simple to apply).afecelis wrote:@hybrid: any link to such patch?