aboutsummaryrefslogtreecommitdiff
path: root/pipermail/nel/2001-February/000173.html
blob: 92afc180f9f0dcb1b99e065a82f24b3a38ca9309 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Nel] snowballs is slow</TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:lecroart%40nevrax.com">
   <LINK REL="Previous"  HREF="000170.html">
   <LINK REL="Next" HREF="000174.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Nel] snowballs is slow</H1>
    <B>Vianney Lecroart</B> 
    <A HREF="mailto:lecroart%40nevrax.com"
       TITLE="[Nel] snowballs is slow">lecroart@nevrax.com</A><BR>
    <I>Fri, 9 Feb 2001 12:01:55 +0100</I>
    <P><UL>
        <LI> Previous message: <A HREF="000170.html">[Nel] Computer Arts Lab</A></li>
        <LI> Next message: <A HREF="000174.html">[Nel] Compilation on Linux : no configure Script....</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#173">[ date ]</a>
              <a href="thread.html#173">[ thread ]</a>
              <a href="subject.html#173">[ subject ]</a>
              <a href="author.html#173">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>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: <A HREF="http://ace.planet-d.net">http://ace.planet-d.net</A>
www.geek.com: GCS/E d- s+++: a-- C+++$ UL++ P- L+++&gt;+$ E+&gt;- 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: &lt;<A HREF="mailto:david.belius@chello.se">david.belius@chello.se</A>&gt;
To: &lt;<A HREF="mailto:snowballs@nevrax.org">snowballs@nevrax.org</A>&gt;
Sent: Thursday, February 08, 2001 5:27 PM
Subject: Re: [Snowballs] Runnign snowballs - Finally snowballs runs!


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

</pre>



<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI> Previous message: <A HREF="000170.html">[Nel] Computer Arts Lab</A></li>
	<LI> Next message: <A HREF="000174.html">[Nel] Compilation on Linux : no configure Script....</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#173">[ date ]</a>
              <a href="thread.html#173">[ thread ]</a>
              <a href="subject.html#173">[ subject ]</a>
              <a href="author.html#173">[ author ]</a>
         </LI>
       </UL>
</body></html>