I am quite new to Irrlicht and have an issue while loading a .obj.
The file is quite complex because I have the "Too many vertices for 16bit index type, render artifacts may occur" error. For now, it seems to load well but as the program may complexify, I would like to get rid of this error.
I looked on other subjects, sugesting to use CDynamicMeshBuffer but here is the thing : the .obj have no group (it is only one big object) so I can not load it in several parts. Here is how I load it :
Code: Select all
_mesh = *IMeshSceneNode;
_mesh = _scene->addMeshSceneNode(_scene->getMesh(file.obj));
Is there any way to simply load a .obj while using 32bit index?
Thanks in advance, any help is welcome
