polylux wrote:That would come in handy for rendering forrests and the like I assume.
Is it intended for such usage as well?
It should do ok, as long as the trees are static meshes.
@Lonesome Ducky:
Code: Select all
CMeshCombiner * combiner = new CMeshCombiner(0.8,10000,ETPT_EXPAND);
irr::scene::IMesh* combinedMesh = combiner->combineMeshes(smgr,driver,nodes, "MYNEWMESH",false);
outnode = smgr->addMeshSceneNode(combinedMesh);
and setting to antisotropic filtering helps a bit(black lines get visible from further distance), though I would like to get rid of them.

also I tried tweaking LODbias but it didn't help.
Oh, and why does it create a texture 1024x1024 while my models texture is 512x512? Is that because of padding/expanding?
The only thing that seems to give better effect is increasing the texture pading, but it reaches the limit where I can't increase it anymore, because it segfaults
