I have recently started to use tree[d], a frecle product for tree generation. (Link). The generator is awesome, gives nice trees and sweet results, with amazing textures. I've seen some irrlicht users recommend it too.
In the generator, the tree is rendered real-time with a high FPS, butin my program, I get a low FPS. This is strange, since the generator uses dynamic lighting and a wind animation on the tree, all rendered real time. Which makes me wonder: what am I doing wrong?
I used the most simple technique provided in the tutorials to load a mesh:
Code: Select all
ISceneNode* Tree = Device->getSceneManager()->addMeshSceneNode(Device->getSceneManager()->getMesh("Data/Meshes/Tree.b3d"));
Tree->setMaterialFlag(EMF_LIGHTING, false);
Tree->setMaterialType(EMT_TRANSPARENT_ALPHA_CHANNEL);
Thanks