<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE scene SYSTEM "scene.dtd">
<scene>
  <!-- écran !!! -->
  <screen width="800" height="800" fond="0.0 0.0 0.0" />
  <!-- caméra -->
  <camera position="400 400 -10000.0" />
  <!-- configuration de la scène -->
  <conf recursion="11" gamma="1.0" exposure="0.0" phong="1"/>

  <!-- materials -->
  <material id="1" color="0.33 0.22 0.04" refraction="0.3" diffraction="1.0000" density="0.5" /> <!-- marron -->
  <material id="2" color="1.00 0.00 1.00" refraction="0.3" diffraction="1.0000" density="0.5" />
  <material id="3" color="0.33 0.22 0.04" refraction="0.7" diffraction="1.0000" density="1.0" />
  <material id="4" color="1.00 1.00 1.00" refraction="0.9" diffraction="1.0000" density="1.0" />

  <!-- Spheres -->
  <sphere position="150.0 450.0 100"  radius="100" idMat="1" />
  <sphere position="450.0 150.0 100"  radius="100" idMat="2" />
  <sphere position="320.0 320.0 2000" radius="200" idMat="4" />
  <sphere position="420.0 420.0 0"    radius="050" idMat="4" />

  <sphere position="600 600 600"    radius="200" idMat="3" />
  <!-- Plans
  <plane normal="0.0 0.0 -1.0" position="320 320 10000" idMat="4" />-->


  <!-- Triangles
  <triangle p1="10 10 0" p2="320 300 -100" p3="540 200 -100" idMat="4" /> -->

  <!-- Lumière -->
  <light id="1" position="480 0.0 -1000.0" color="0.0 0.3 0.3" />
  <light id="2" position="0.0 480 -1000.0" color="0.3 0.0 0.3" />
  <light id="4" position="480 480 -1000.0" color="0.3 0.3 0.0" />
  <!-- Lumière ambiante ~ tres lointaine -->
  <light id="3" position="320 320 -10000.0" color="0.4 0.4 0.4" />
</scene>
