BEGIN_SCENE
  RESOLUTION 512 512

CAMERA
  ZOOM  1.0
  ASPECTRATIO 1.0
  ANTIALIASING 0
  RAYDEPTH  4 
  CENTER    0.0 0.0 -6.0
  VIEWDIR   0.0 0.0 1.0
  UPDIR     0.0 1.0 0.0
END_CAMERA

LIGHT  
  CENTER -5.0 0.0 -4.0   
  RAD     0.2
  COLOR   0.0 0.3  0.7 

LIGHT
  CENTER  4.0 5.0 -4.0  
  RAD     0.2
  COLOR   0.7 0.3  0.0

LIGHT 
  CENTER  4.0 1.5  3.0 
  RAD     0.2
  COLOR   0.5 0.5  0.5

IMAGEDEF ::testpic
  FORMAT RGB24
  RESOLUTION 4 4 4
  ENCODING HEX

  000 f00 0f0 00f
  f00 0f0 00f 000
  000 f00 0f0 00f
  f00 0f0 00f 000

  fff 000 fff 000
  000 fff 000 fff
  fff 000 fff 000
  000 fff 000 fff

  000 fff 000 fff
  fff 000 fff 000
  000 fff 000 fff
  fff 000 fff 000

  000 fff 000 fff
  fff 000 fff 000
  000 fff 000 fff
  fff 000 fff 000

SPHERE
  CENTER 2.0  0.0 5.0   
  RAD 2.0 
  TEXTURE 
    AMBIENT  0.0 DIFFUSE  0.9 SPECULAR 0.0  OPACITY 1.0 
    COLOR 1.0 1.0 1.0  
    TEXFUNC 10 ::testpic
      CENTER 2.0 0.0 5.0
      ROTATE 0.0 0.0 0.0
      SCALE  1.0 1.0 1.0
      UAXIS  1.0 0.0 0.0
      VAXIS  0.0 1.0 0.0
      WAXIS  0.0 0.0 0.0

SPHERE
  CENTER -0.0  3.0 5.0   
  RAD 2.0 
  TEXTURE 
    AMBIENT  0.0 DIFFUSE  0.9 SPECULAR 0.0  OPACITY 1.0 
    COLOR 1.0 1.0 1.0  
    TEXFUNC 10 ::testpic
      CENTER 2.0 0.0 5.0
      ROTATE 0.0 0.0 0.0
      SCALE  1.0 1.0 1.0
      UAXIS  1.0 0.0 0.0
      VAXIS  0.0 1.0 0.0
      WAXIS  0.0 0.0 0.0

SPHERE
  CENTER -2.0  0.0 5.0
  RAD 2.0 
  TEXTURE
    AMBIENT  0.0 DIFFUSE  0.2 SPECULAR 0.8  OPACITY 1.0
    COLOR 1.0 1.0 1.0
    TEXFUNC 10 ::nosuchpicturecrashtest
      CENTER 2.0 0.0 5.0
      ROTATE 0.0 0.0 0.0
      SCALE  1.0 1.0 1.0
      UAXIS  1.0 0.0 0.0
      VAXIS  0.0 1.0 0.0
      WAXIS  0.0 0.0 0.0

PLANE 
  CENTER 0.0 -5.0 0.0 
  NORMAL 0.0  1.0 0.0  
  TEXTURE 
    AMBIENT  0.1 DIFFUSE  0.9 SPECULAR 0.0  OPACITY 1.0 
    COLOR  1.0 1.0 1.0 
    TEXFUNC 10 ::testpic
        CENTER 2.0 0.0 5.0
        ROTATE 0.0 0.0 0.0
        SCALE  1.0 1.0 1.0
        UAXIS  1.0 0.0 0.0
        VAXIS  0.0 0.0 1.0
        WAXIS  0.0 0.0 0.0

END_SCENE

