Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2000:
[Freeciv-Dev] Re: [Re: Performance (was: [Re: [OpenGL client (was Re: Re
Home

[Freeciv-Dev] Re: [Re: Performance (was: [Re: [OpenGL client (was Re: Re

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Vasco Alexandre Da Silva Costa <vasc@xxxxxxxxxxxxxx>
Cc: Rob <spurius@xxxxxxxxxxxx>, Jules Bean <jmlb2@xxxxxxxxxxxxxxxx>, Developpement freeciv <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: [Re: Performance (was: [Re: [OpenGL client (was Re: Re: Project)] (fwd)])]
From: Franck Guillaud <f.guillaud@xxxxxxx>
Date: Fri, 4 Feb 2000 11:00:12 +0100 (CET)


On Thu, 3 Feb 2000, Vasco Alexandre Da Silva Costa wrote:

->On 3 Feb 2000, Rob wrote:
->
->
->> Silly me did the math wrong  I was interpreting megs for k  ;)  Its not near
->> as bad as previously thought, but I will still want to do disk caching.  
Also,
->> any ideas on optimizing a 3d landscape?  Obviously, removing polygons that 
are
->> too far away, off the screen, etc for openGL will help.  Also, is there a 
way
->> to define a 3d model, and then just call the model, instead of making
->> GL_TRIANGLES each time it draws?  I'm gonna mess around, but suggestions are
->> always very helpful/time saving.
->
->I guess what you want is to use display lists.  Also: there are other
->methods (not GL_TRIANGLES) do define polygon meshes.  Remember several of
->the vertexes are shared between squares so you could save some ram there.

        Rob may use display lists or vertex arrays. Displays lists are
good for objects wich are not modified very often. 

        Vertex arrays are powerfull too, but more complicated to use and
allow them to benefit from hardware Transform & Lighting.

        Rob, you definitly need the OpenGL programming Guide.

->quite an easy read.  Get the one for OpenGL 1.1 (an 1.2 version of book
->is on the works apparently).

        The OpenGL 1.2 is covered in the 3rd edition. It as been
published.


                                     Franck.


[Prev in Thread] Current Thread [Next in Thread]