Optimizing?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Guest

Optimizing?

Post by Guest »

Hiya,

I recently found out about Irrlicht and now I am wondering if the Scene Manager is optimized, meaning, does it use occlusion culling on scene nodes(also custom ones)? Because my game will feature levels that consist of both indoor(Octree) and outdoor. So if I place an Octree node somewhere on my terrain, will it get culled if it is not visible?
disanti
Posts: 367
Joined: Sat Jan 17, 2004 1:36 am
Location: California, US
Contact:

Post by disanti »

From my understanding, yes it will be culled.
________
Headshop
Last edited by disanti on Tue Feb 22, 2011 8:07 am, edited 1 time in total.
guest1

Post by guest1 »

there should be no problem. While you're waiting for the feature, you can just set the visiblity flag on your Octree node to true or false depending on if you can "see" the outdoors or not. For example, I believe you would have something to the effect of a door inbetween those, well when that entity closes, you can also call a function that determines what portion of the world you are in, and set the visibility (or unload) the scene node if you are not inside of it.

If there is no door, then you don't need to worry about it, cause you will "always" see the node (unless you're not looking at it) and the hardware will do backface culling.
Post Reply