Actions

LIGHTS.DAT: Difference between revisions

From BAWiki

imported>BAWiki 1
(Created page with '{{FileDescription |name_de=LIGHTS.DAT |filetype=lights.dat |version=April 2006 |version_descr=April 2006 |significance=File contains information about perspective, illumination,…')
 
imported>BAWiki 1
No edit summary
Line 17: Line 17:
: Remark: option 2 recilitates re-use of existing color scheme definitions.
: Remark: option 2 recilitates re-use of existing color scheme definitions.
|nutzerprogramme=
|nutzerprogramme=
FDGITTER05, GVIEW2D, HVIEW2D, LQ2PRO, TRGITTER05, VVIEW2D
[[FDGITTER05]], [[GVIEW2D]], [[HVIEW2D]], [[LQ2PRO]], [[TRGITTER05]], [[VVIEW2D]]
|language=Fortran90
|language=Fortran90
|fileform=FORMATTED
|fileform=FORMATTED

Revision as of 07:55, 25 May 2010

Basic Information

File-Type

lights.dat

File-Form

FORMATTED

Version

April 2006

Description-Date

April 2006

Significance of the File

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

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