 
  'GL Example using Glo2/openglview sourcelibrary
  '
  '10 Sept 2010
  '14 Sept 2011
  '07 May  2012
  '14 Aug  2012
  '31 Jan  2013
  '28 Aug  2013
  '
  'Charles Pegge


  '==============
  'SPECIFICATIONS
  '==============


  $ WindowTitle  "OxygenBasic Opengl Viewer Demo"
  $ WindowSize   800,800


  'Controls
  '--------
  
  $ NavigationKeys
  $ FunctionKeys
  $ GraphicalControls

  'sources for editbox

  $ textfile1 "viewer.o2bas"


  'color / images / textures
  '-------------------------

  $ BackColor 0.3,0,.1,0
  $ GDIplus
  '$ BackImage "../../examples/images/dawn1815.jpg"


  'standard lighting
  '-----------------

  $ LightPosition     0.0, 8.0, 8.0, 1.0
  $ LightAmbient      1.0, 1.0, 1.0, 1.0
  $ LightDiffuse      1.0, 1.0, 1.0, 1.0 
  $ LightSpecular     1.0, 1.0, 1.0, 1.0

  'standard material
  '-----------------

  $ MaterialAmbient   .15, .15, 0.2, 1.0
  $ MaterialDiffuse   0.7, 0.7, 0.6, 1.0
  $ MaterialSpecular  0.0, 0.0, 0.1, 1.0
  $ MaterialShininess 0

  $ Geometries        include "geometries.inc"
  $ DrawingLists      include "DrawingLists.inc"
  $ scenes            include "scenes.inc"
  $ StartScene        7 ' 1..9,0 EXAMPLES
  $ StartMode         3 ' 2 WIREFRAME 3 SHADED 4 4PORT 5 TEXT 6 MIXED TEXT/GRAPHIC

  '$ fontA             "Arial",FW_SEMIBOLD
  '$ fontB            "Courier New",FW_BOLD
  '$ fontC            "Times",FW_NORMAL
   $ fontA            "Arial",FW_NORMAL


  'UNUSED CODE REMOVAL
  '-------------------
  #compact


  'COMPILING TO INDEPENDENT BINARY
  '-------------------------------

  'NON DLL NAME
  $ FileName "Viewer.exe"

  'DLL CONFIG & NAME
  '$ dll
  '$ filename "viewer.dll"

  '32 BIT INDEPENDENT BINARY
  'include "$\inc\RTL32.inc" 'to compile 32bit

  '64 BIT INDEPENDENT BINARY
  include "$\inc\RTL64.inc" 'to compile 64bit



  '===========
  'MAIN SOURCE
  '===========

  'include "$\inc\MemoryPool2.inc"
  include "OpenglView.inc"
