this example works...
however, if I use
node = smgr->addOctTreeSceneNode(mesh, 0, -1, 128);
instead of node = smgr->addOctTreeSceneNode(mesh->getMesh(0) , 0, -1, 128);
it dosen't work for my .x model.
With "20kdm2.bsp" it still works...
btw, the mesh returned by mesh->getMesh(0) seems to be ...
Search found 3 matches
- Tue Jan 01, 2008 12:35 pm
- Forum: Bug reports
- Topic: addOctreeSceneNode dosen't work
- Replies: 10
- Views: 2725
- Tue Jan 01, 2008 11:37 am
- Forum: Bug reports
- Topic: addOctreeSceneNode dosen't work
- Replies: 10
- Views: 2725
addOctreeSceneNode dosen't work
addOctreeSceneNode dosen't seem to work anymore.
Code: Select all
mesh = smgr->getMesh(file); // mesh is loaded correctly
sceneNode = smgr->addOctreeSceneNode(mesh); // returns NULL
- Sat Jul 28, 2007 5:17 pm
- Forum: Beginners Help
- Topic: Use TriangleSelector for more than one SceneNode?
- Replies: 1
- Views: 658
Use TriangleSelector for more than one SceneNode?
Hi, I am new to Irrlicht.
I have a few SceneNodes which use all the same mesh.
Now I want to use only one TriangleSelector (to do picking) for these SceneNodes.
Is it possible to do this, or do I need a TriangleSelector for every SceneNode?
regards,
Stefan
I have a few SceneNodes which use all the same mesh.
Now I want to use only one TriangleSelector (to do picking) for these SceneNodes.
Is it possible to do this, or do I need a TriangleSelector for every SceneNode?
regards,
Stefan