<?xml version="1.0"?>

<!-- A simple scene with a textured triangle -->
<scene>
<renderopt
    outfile="basic_tritex2.png"
    copyinfile="yes" 
    samples="3"
    jitter="false"
    maxdepth="6"
    background="0.6 0.9 1.0"
    cutoff="0.001"/>
<viewopt
    up="0 1 0"
    hfov="70"
    screen="384 384"
    _screen="128 128"
    eyep="0 4 7"
    lookp="0 0 0"/>
<surface
    name="diffusewhite"
    ambient="0.0 0.0 0.0"
    diffuse="1.0 1.0 1.0"
    specular="0.0 0.0 0.0"
    reflect="0.0 0.0 0.0"
    refract="0.0 0.0 0.0"/>
<applysurface surface="diffusewhite"/>
<!--
<plane pos="0 -2 0" norm="0 1 0">
    <texture image="texcheck.png" component="diffuse"/>
</plane> 
-->
<triangle 
     v1="-6 -2 5"  v2="6 -2 -6"  v3="-6 -2 -6"  
    uv1="0.0 0.0" uv2="5.0 5.0"    uv3="0 5">
    <texture image="texcheck.png" component="diffuse"/>
</triangle>
<triangle 
     v1="-6 -2 5"  v2="6 -2 5"  v3="6 -2 -6"
    uv1="0.0 0.0" uv2="5.0 0.0"    uv3="5 5">
    <texture image="texcheck.png" component="diffuse"/>
</triangle>

<triangle 
     v1="-2 -1 2"  v2="2 -1.5 0.4"  v3="0 3 -0.1"
    uv1="0.0 1.0" uv2="1.0 1.0"    uv3="0.5 0">
    <texture image="san.jpg" component="diffuse" smooth=""/>
</triangle>

<light intensity="1.0" type="ambient"/>
<light intensity="0.5" type="dir" dir="2 -4 0" noshadow=""/>
<light intensity="1.0" type="point" pos="4 7 1" />

</scene>

