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.

Newcomers DBPro Corner / heres a good way of increasing framerate in your game. :)

Author
Message
David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 6th Jul 2006 17:10
seperate your huge level into smaller peices,(x files)
then make a for next loop that hides & excludes them if there a certain distance away from your player.

this can also be used with static or ai objects.

works great for me.
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 6th Jul 2006 17:27
From 5.9 onwards, there is automatic occlusion. As long as you design your level well, areas will be automatically excluded when they are out of the line of sight.

Advanced Terrain also does this automatically.



Wandering Swordsman
18
Years of Service
User Offline
Joined: 14th Jun 2006
Location:
Posted: 7th Jul 2006 10:37
@fighting spirit:
Cool! I always thought they ran slower when windowed.
(Does that count for DBC as well as DBP?)

When I dream,
I carry a sword in one hand,
a gun in the other...
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 7th Jul 2006 12:25
@BatVink

Awesome! I never knew that!

BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 7th Jul 2006 12:57
It was a feature that was brought in through FPSC. As far as I can remember, it started off as a command, but is now automated. It relies on good level design, ensuring that different areas are separated by walls, ceilings and obstacles. If a particular section is totally hidden from the line of sight, it's excluded.

I wrote a neswletter tutorial on FPSC levels in DB Pro. If I remember correctly there was an option to go into wireframe mode, and you could see the occlusion in action.



Login to post a reply

Server time is: 2024-11-26 16:49:01
Your offset time is: 2024-11-26 16:49:01