Subject: [Nel] snowballs is slow

From: "Vianney Lecroart" <[email-masked]>
Date: Fri, 9 Feb 2001 12:01:55 +0100

Yes, snowballs is slow because it s a prototype for a futur game.
There s no optimisation and our game is planning to work with next computer
generation.

Anyway, you can increase the frame rate with changing the default value of
the tesselation of the landscape and others variables.
In the client.cfg, you have 2 variables:

LandscapeTileNear = 50.000000;
LandscapeThreshold = 0.001000;

The first one is the distance, in meter, of the near algorithm, if you
decrease the
value (putting 10 for example) should increase the framerate.
The second variable is the threshold of the tesselation of the landscape,
you can
increase the value to increase the frame rate (try 0.01 or 0.1 for example).
of course,
if you do that, there will be less details on the landscape.
You can modify these 2 variables in realtime using chat commands. You just
have to
write:
/setthre 0.1
to set the LandscapeThreshold to 0.1
/settilenear 10
to set the LandscapeTileNear to 10
when you change variables in realtime in the game, they are automaticaly
store in the
client.cfg so you don t have to do it again on next launch.

With this, you can increase the framerate from 10 to 30 fps on a fast
computer.

On our computer, the frame rate is around 10-15fps with default value and we
have:
Athlon 750Mhz, 256Mb RAM, GeForce256 32Mb RAM.

Another thing you have to know is that we use lot of processor time.
If we change only the processor and put an Athlan 1Ghz, the framerate
increase
to 20fps. But if you put a GeForce2GTS, you ll see no difference in the
frame rate.

The fill rate of the 3d card isn't use a lot, you can try to put the
resolution
to 320*240 or 1600*1200 and you ll see that the framerate doesn t change a
lot.

Anyway, we know that snowballs is slow :-/

Vianney Lecroart
---
lead network programmer / nevrax.com
icq#: 6870415
homepage: http://ace.planet-d.net
www.geek.com: GCS/E d- s+++: a-- C+++$ UL++ P- L+++>+$ E+>- W++ N+ o? K-
w++$ O- M- V- PS- PE? Y PGP t 5? X+ R- tv++ b- DI D+ G e++ h+ r-- y?

----- Original Message -----
From: <[email-masked]>
To: <[email-masked]>
Sent: Thursday, February 08, 2001 5:27 PM
Subject: Re: [Snowballs] Runnign snowballs - Finally snowballs runs!

> The font problem was because of how i compiled freetype.
> Now snowball runs!
> It looks very nice(especially the terrain) but it isn't very fast!
> I get below 10 fps on my 800 mhz Athlon with 128 mb ram and a GeForce256
> 32 MB DDR card(using detonator drivers) running win98se.
> Is this somethign wrong with my configuration or are there optimizations
> that haven't yet been made or something?
>
> /David
>
> _______________________________________________
> Snowballs mailing list
> [email-masked]
> /mailman/listinfo.cgi/snowballs