Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
nruser
18
Years of Service
User Offline
Joined: 22nd Dec 2007
Location: Serbia
Posted: 14th Nov 2010 21:16
I was wondering will hiding of objects that are not in the screen increase or decrease performance of the game, did anyone tried this?
Indicium
18
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 14th Nov 2010 21:20
It improves performance, definitely. I'm not sure if using Exclude Object On is faster though.

bergice
19
Years of Service
User Offline
Joined: 5th Jun 2007
Location: Oslo,Norway
Posted: 14th Nov 2010 22:24
Depends on how many objects you have to check, but usually it will improve fps a lot.

51fa1db0ec7c4af52d93a6f5d0e86bc5

IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 15th Nov 2010 14:37
If you exclude the object, then the engine doesn't have to check for visibility every time you render for every camera. However, that moves the burden of checking onto you instead, and you're almost guaranteed to not be able to do it as quickly - obviously, that depends on your game layout, and if you know that an object will not be displayed for a relatively long time, then excluding it and only re-checking infrequently, you can get quite a gain.

The last driving test program used that method - instancing objects for the whole 'town', and excluding them until they were in view (ie, visible from your current street).

Utility plug-ins (26-JUL-2010)
I'm applying terms of use that require you to wear a red nose and honk a horn whenever you use the Internet

Login to post a reply

Server time is: 2026-07-21 18:57:55
Your offset time is: 2026-07-21 18:57:55