From ae34966c76663e4b01d872308771f5a638b05a7e Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Fri, 25 Jul 2008 18:32:54 +0000 Subject: documentation updates --- doc/TODO | 4 ++-- doc/assets.html | 10 +++++++++- doc/index.html | 8 ++++++-- doc/models.html | 33 +++++++++++++++++++++++---------- doc/world.html | 12 +++++++++--- 5 files changed, 49 insertions(+), 18 deletions(-) (limited to 'doc') diff --git a/doc/TODO b/doc/TODO index 22bd4a4..f8d81c9 100644 --- a/doc/TODO +++ b/doc/TODO @@ -1,8 +1,7 @@ TODO milestone 1: - fix turning - fix camera rotation + fix turning (needs more testing) fix camera frustum clip fix cl_prediction @@ -78,6 +77,7 @@ client: key binds (ok) better crosshair bitmaps (ok) keyboard repeat (ok) + fix tracking camera (ok) shift/ctrl/alt modifier key binds diff --git a/doc/assets.html b/doc/assets.html index afbded8..6306968 100644 --- a/doc/assets.html +++ b/doc/assets.html @@ -98,10 +98,18 @@ http://freesound.iua.upf.edu/samplesViewSingle.php?id=22456 + + /base/textures/env + sky.tga + + Thorn + +

Files by nathanshadow are distributed under the terms of the Creative Commons Sampling Plus 1.0 license. - \ No newline at end of file + + diff --git a/doc/index.html b/doc/index.html index 4a88375..b15475f 100644 --- a/doc/index.html +++ b/doc/index.html @@ -68,13 +68,17 @@ Project lead, programming, models, graphics [mDc]Thorn - Technical advisor, Sharkan model, Horizon model, alpha testing + Technical advisor, models, sky sphere, alpha testing Supertanker Station 15 model, Supertanker model, Avatar model, Bumblebee model + Odin + Heavy Cruiser model + + Josky=KCT= Shuttle model, alpha testing @@ -141,4 +145,4 @@ and is not affiliated with these companies. - \ No newline at end of file + diff --git a/doc/models.html b/doc/models.html index 0567507..a2835aa 100644 --- a/doc/models.html +++ b/doc/models.html @@ -136,20 +136,34 @@ Textures

- The engine does not support model textures. Any real texturing information - is ignored. + The engine does not support textured models. Every brush face is drawn + using a single color and any real texturing information is ignored.

- The textures in the directory /textures/colors can be used by + The color textures in the directory /textures/colors can be used by the editor. The engine translates these textures into RGB colors when the model is loaded. Unknown textures will be colored hot pink. + +

+ The fixed set of colors is rather limited, more colors can be added by + using the common/entity_* family of textures. The actual in-game + color information for these faces will be provided by the engine. +

+ The special texture common/entity represents an object's primary color. + In-game the faces with this texture will be drawn in the color that the entite has + provided as the object's primary color. For example, for player-controled ships will + have their owner's color as primary color.

- You can also use two special textures from the /textures/common - directory: as explained above, faces with the common/caulk texture - will be ignored on load. The common/clip texture is reserved for - future use. At the moment they will be ignored as well. + Similar, the texture common/entity_second represents on object's secondary + color. common/entity_third will be a mix of the primary and secondary color. + Each of these textures also has a _dark variant.

+ You can also use two other special textures: as explained above, + faces with the common/caulk texture will be ignored on load. +

+ The common/clip texture is reserved for + future use. At the moment they will be ignored as well.

At the time of writing, texture names are hardcoded - in src/model/mapfile.cc. + in src/model/map.cc.

Surface flags @@ -157,8 +171,7 @@

The only supported surface flag is light. This will render the brush face fullbright and can be used to create light-emiting objects - or windows. The light flag does not work in conjunction with - the common/entity shader. + or windows.

Lights diff --git a/doc/world.html b/doc/world.html index ae8ba8a..4ae6bba 100644 --- a/doc/world.html +++ b/doc/world.html @@ -105,7 +105,7 @@ texture=planets/iceworld - +
radius =[float][float] the radius of the entity in game units
@@ -121,14 +121,20 @@ texture=planets/iceworld

- The color key sets the colour of the entity.This colour will be used to draw the entity in case of + The color key sets the primary color of the entity. This color will be used to draw the entity in case of a geometrical shape, or to draw model faces that have the common/entity texture. The default entity colour is white. +

+ The colorsecond key can be used to set the secondary color of entities with a model. - + + + + +
color = [float] [float] [float]entity colour with RGB values in the 0.0 - 1.0 or 0 - 255 rangeprimary entity color RGB values with in the 0.0 - 1.0 or 0 - 255 range
colorsecond =[float] [float] [float]secondary entity color

The location sets the in-game position: -- cgit v1.2.3