Multiple ISceneNodeAnimatorCollisionResponses
-
- Posts: 125
- Joined: Thu Dec 11, 2008 9:50 pm
- Location: Wisconsin
- Contact:
Multiple ISceneNodeAnimatorCollisionResponses
If I were to construct a level out of hundreds of individual mesh scene nodes rather than rendering the entire level all as one model, would it be possible to have an ISceneNodeAnimatorCollisionResponse acting upon the player's animatedmeshscenenode for each one? Would this result in a performance hit?
Re: Multiple ISceneNodeAnimatorCollisionResponses
You can create Metatriangleselectors, to merge all the individual meshes, but I can't tell you the effect on performance (would also have to write a test). It will definitely have an effect on rendering performance, rendering one large node is faster than rendering lots of small nodes.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
-
- Posts: 125
- Joined: Thu Dec 11, 2008 9:50 pm
- Location: Wisconsin
- Contact:
Re: Multiple ISceneNodeAnimatorCollisionResponses
Nice, the IMetaTriangleSelector approach worked perfectly. Thanks!