Actions

LIGHTS.DAT

From BAWiki

Revision as of 07:53, 14 September 2012 by imported>Lang Guenther (link added to color brewer 2.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Basic Information

File-Type

lights.dat

File-Form

FORMATTED

Version

April 2006

Description-Date

April 2012

Significance of the File

File contains information about perspective, illumination, color scaling, shading

Useful informations concerning the design of color schemes as well as the use of color for different purposes can be found in the internet on ColorBrewer 2.0 - color advice for cartography.

File-Contents (in Catchwords)

  • basic data: fog factor, shade factor, shading steps, shading type, type of area filling (not yet used)
  • observer parameters: projection, distance between observer and picture, observer location, direction of view (not yet used)
  • illumination parameters / environmental light
  • light sources: count, type, color, relative intensity
  • material properties: count, identification number, number of color trace, coefficient of reflection, spectral reflection parameter, coefficient of transparency, structure identification
  • color scheme: number of colors/classes, identification number, start and end value for the phys. property, type of scaling, characterising, start and end values HLS model.
Optionally each color can be redefined individually in either one of the following ways:
  • insert optional block (BEGINDATA, ENDDATA) redef_colors directly in file lights.dat, or
  • insert optional input line REDEFCOLORFILE redef-filename, then file redef-filename contains block redef_colors with modified definitions of the individual colors.
Remark: option 2 recilitates re-use of existing color scheme definitions.

Programs using this Type of File

FDGITTER05, GVIEW2D, HVIEW2D, LQ2PRO, TRGITTER05, VVIEW2D

Example-File

Files of type "lights.dat":

  • $PROGHOME/examples/lights/lights.dat (color)
  • $PROGHOME/examples/lights/lights.sw.dat (black and white)
  • $PROGHOME/examples/lights/lights.brewer.dat (CorlorBrewer color schemes)

Files containing color redefinitions (used with REDEFCOLORFILE):

  • $PROGHOME/examples/lights/baw_10_Wheat_DimGray.dat (10 redefined colors)
  • $PROGHOME/examples/lights/baw_12_Snow_DarkSlateGray.dat (12 redefined colors)
  • $PROGHOME/examples/lights/baw_16_LemonChiffon_DarkSlateGray.dat (16 redefined colors)
  • $PROGHOME/examples/lights/baw_20_Snow_DimGray.dat (20 redefinied colors)
  • Dnn diverging ColorBrewer color schemes with nn classes
  • Qnn qualitative ColorBrewer color schemes with nn classes
  • SHnn sequential ColorBrewer color schemes with nn clasess and variable hue
  • SPnn sequential ColorBrewer color schemes with nn classes and variable hue

General informations:


back to: File Descriptions


Overview