# History file 'sal-wrl.h' to transform surfaces
# in the SEG/EAGE Salt Model described in the form suitable
# for package MODEL into the VRML or GOCAD representations.
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Input files required
 #chk.pl: "data/sal/" "sal-cam.dat"
 #chk.pl: "data/sal/" "sal-dli.dat"
 #chk.pl: "forms/"    "hsv.dat"
# Output of 'sal-inv2.h'
 #chk.pl: ""          "sal-m2.out"

# General settings
# ~~~~~~~~~~~~~~~~
# Form of output file
  VRML='VRML2'
 #VRML='GOCAD'

# Name of the file with the model
  MODEL='sal-m2.out'

# Name of output file
  WRL='sal-srf.wrl'  # VRML
 #WRL='sal-srf.mx'   # GOCAD

# Setting of cameras (viewpoints) and lights
  UP1=0  UP2=0  UP3=-1  CAMERA='sal-cam.dat'
  DLIGHT='sal-dli.dat'  AMBIENT=0.00
  R=0.00  G=0.00  B=0.00  # Black background
# Colour properties
  COLORS='hsv.dat'   VPER=1.
  TRANSP=0.00  SPECULAR=0.22  SHININESS=0.10
  iniwrl:

# Structural interfaces in the model
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# N1=145  N2=145  N3=43
# D1=100  D2=100  D3=100
  N1=73   N2=73   N3=22
  D1=200  D2=200  D3=200
  O1=-200 O2=-200 O3=0
  VRTX='sm-pts.out' PLGN='sm-plg.out'
  modsrf:
  TRGL='sm-trg.out'
  trgl:
  KOLUMN=7
  VALUE=2 VRTXN='sm-pts2.out'  TRGLN='sm-trg2.out'         trglsort:
  VALUE=3 VRTXN='sm-pts3.out'  TRGLN='sm-trg3.out'         trglsort:
  VALUE=4 VRTXN='sm-pts4.out'  TRGLN='sm-trg4.out'         trglsort:
  VALUE=5 VRTXN='sm-pts5.out'  TRGLN='sm-trg5.out'         trglsort:
  VALUE=6 VRTXN='sm-pts6.out'  TRGLN='sm-trg6.out'         trglsort:
          VRTXN=               TRGLN=
  KOLSRF=7 VPER=7. VREF=0.
  PROPERTIES='N1 N2 N3 ISRF'  # just for GOCAD
  NAME='hrz_1'       VRTX='sm-pts2.out'  TRGL='sm-trg2.out'  srfwrl:
  NAME='gp2'         VRTX='sm-pts3.out'  TRGL='sm-trg3.out'  srfwrl:
  NAME='bottom'      VRTX='sm-pts4.out'  TRGL='sm-trg4.out'  srfwrl:
  NAME='salt_top'    VRTX='sm-pts5.out'  TRGL='sm-trg5.out'  srfwrl:
  NAME='salt_bottom' VRTX='sm-pts6.out'  TRGL='sm-trg6.out'  srfwrl:

# Plotting model box wireframe
  LIN='sal-bnd.out'
  KOLLIN=0  R=1.00  G=1.00  B=1.00
  NAME='box'  PROPERTIES=' '  # just for GOCAD
  bndlin:
  linwrl:
