Search found 4 matches

by Haddayn
Sat Oct 11, 2014 5:15 pm
Forum: Advanced Help
Topic: Speed up shadow volume generation
Replies: 3
Views: 937

Speed up shadow volume generation

Is there any way to speed up shadow volume generation? My application takes much longer when I use shadow volume scene nodes.

Also, there seems to be a problem with shadow volumes, sometimes shadows have stray polygons stretching to the bottom of the view. Or, to be specific, 'sometimes' is when I ...
by Haddayn
Fri Jul 04, 2014 1:52 pm
Forum: Advanced Help
Topic: CPU load optimization
Replies: 5
Views: 1104

Re: CPU load optimization

Thank you for response.

You may also be able to cull (remove) models that can't be seen because of the modles between them and the camera.
Hmm... I thought that Irrlicht would do that automatically. I guess I need a custom scene node for this, right?


3k polys is a lot for a RTS unit, usually ...
by Haddayn
Tue Jul 01, 2014 9:47 am
Forum: Advanced Help
Topic: CPU load optimization
Replies: 5
Views: 1104

CPU load optimization

Hey everybody,

I'm developing an RTS game, and there can be hundreds of units. My current implementation is very naive and causes a lot of overhead because of large amount of nodes.


irr::scene::IAnimatedMesh* mesh = scnmgr->getMesh(meshpath + meshname)
return scnmgr->addAnimatedMeshSceneNode ...
by Haddayn
Mon Apr 28, 2014 6:07 am
Forum: Code Snippets
Topic: RTS Camera Animator
Replies: 2
Views: 2970

RTS Camera Animator

Hey there. Here is some code I'd like to share. This is an animator for RTS-style camera. I didn't like the http://irrlicht.sourceforge.net/forum/viewtopic.php?f=9&t=17066 RTSCamera implementation (since it is kind of outdated), so I wrote my own.

It is still unfinished, but useable. On my todo ...