Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,633 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Level starting to lag... #83974
07/31/06 23:38
07/31/06 23:38
Joined: Jan 2006
Posts: 28
Vancouver
L
Liger Offline OP
Newbie
Liger  Offline OP
Newbie
L

Joined: Jan 2006
Posts: 28
Vancouver
Hello all,

It appears that the FPS in my level is really starting to deteriorate. I set most of the concealed surfaces to "none." My texture sizes are mostly 512x512, with a few exceptions of 1024x512 and 256x256. It's a BSP level with all its lights set to "hi-res."

The lag isn't TOO bad, given that my video card isn't decent (64mb Intel onboard), but if there is a way to increase the FPS, please tell! I've read comments about loading visible fragments of the level at a time, but am totally oblivious as to how this is done.

Any help is greatly cherished, thanks!


Ligers are the best
Re: Level starting to lag... [Re: Liger] #83975
08/01/06 16:11
08/01/06 16:11
Joined: Jul 2006
Posts: 11
F
FrasherEko Offline
Newbie
FrasherEko  Offline
Newbie
F

Joined: Jul 2006
Posts: 11
Hi Liger, you could use the LOD (Level of Detail) System. Also you could decrease the visible range for your game. Just look in the manual.

Re: Level starting to lag... [Re: FrasherEko] #83976
08/01/06 16:47
08/01/06 16:47
Joined: Feb 2006
Posts: 371
New England
Rad_Daddy Offline
Senior Member
Rad_Daddy  Offline
Senior Member

Joined: Feb 2006
Posts: 371
New England
Well, the fact that its a BSP level is one problem. BSP runs substantially slower than modeled levels.

LOD is the easiest way to increase FPS, but only in wide spaces. If your in a small room, LOD will likely do nothing for your FPS.

Really, if you have small, indoor levels, and you want to increase FPS, you will have to either decrease some texture sizes, or get REALLY creative with your level design.

If you could design your levels so that the player only sees the bare minimum of a level at any given time, you could increase FPS. However, this is a very difficult task to achieve, especially while keeping the game interesting at the same time.

Anyways, good luck,
Raddaddy


"Read not to contradict and confute, nor to find talk and discourse, but to weigh and consider." Sir Francis Bacon www.deckscapedesign.com
Re: Level starting to lag... [Re: Rad_Daddy] #83977
08/01/06 20:50
08/01/06 20:50
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
ulillillia Offline
Senior Expert
ulillillia  Offline
Senior Expert

Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
Levels made from blocks render very slowly. It's hard enough getting a block-only level to render even a half million polygons per second on a good card. A model-only level renders at least 80 times faster, allows for freedom of shapes and sizes, and otherwise much more flexibility. The only two weaknesses are lighting (which can be a little tricky to get right since static lights don't affect models, dynamic lights do) and collision (which is a bit tricky to get working right, but once figured out, it's no big deal). From my benchmark tester program (on the downloads page), Gamestudio in a model-only level, is capable of rendering over 350,000 polygons on today's midrange video cards at 60 fps. A block-only level couldn't manage 1 fps with this many polygons in view. This scene, on my current setup, renders well past 200 fps and it doesn't use collision, LOD, it's not optimized, and there's something like 60,000 visible polygons. It's a model-only level I haven't done much with since September 2005.


"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip My 2D game - release on Jun 13th; My tutorials
Re: Level starting to lag... [Re: Liger] #83978
08/02/06 00:52
08/02/06 00:52
Joined: Jan 2006
Posts: 28
Vancouver
L
Liger Offline OP
Newbie
Liger  Offline OP
Newbie
L

Joined: Jan 2006
Posts: 28
Vancouver
Thank you for your tips, guys. I will start reading about the LOD system right now, and with respect to model-levels, I think it's too late to go back...unless there's a way to completely convert my block-level into the latter. And even then, as ulililia pointed out, model-levels are less diverse as respects to lighting.

P.S. Very nice model-level by ulililia, but again, the lighting is honestly very limited.


Ligers are the best
Re: Level starting to lag... [Re: Liger] #83979
08/02/06 01:18
08/02/06 01:18
Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
ulillillia Offline
Senior Expert
ulillillia  Offline
Senior Expert

Joined: Feb 2003
Posts: 6,818
Minot, North Dakota, USA
It was last updated in September 2005 and back then (and still now), I've had trouble with lighting as the colors get washed out from the Sun. I do agree that lighting is more limited since only dynamic lights affect entities and that hardware only supports 8 such lights.

My LOD system allows for far more flexibility than the engine's built-in system does. Not only 4 LOD entities, but any number with the changes being set at distances unique to each entity (and they can be factorized as well making higher LODs visible longer at one angle than other angles). It does require a little more effort and in some cases can even be as fast or even faster than the engine's built-in LOD system.


"You level up the fastest and easiest if you do things at your own level and no higher or lower" - useful tip My 2D game - release on Jun 13th; My tutorials

Moderated by  HeelX, rvL_eXile 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1