<?xml version="1.0" ?>
<Node name="root">
    <RequiredPlugin name="Sofa.Component.IO.Mesh"/> <!-- Needed to use components [MeshOBJLoader] -->
    <RequiredPlugin name="Sofa.GL.Component.Rendering3D"/> <!-- Needed to use components [OglModel] -->
    <RequiredPlugin name="Sofa.GL.Component.Shader"/> <!-- Needed to use components [LightManager OglShadowShader SpotLight] -->
    <DefaultAnimationLoop/>
    
    <LightManager name="lightManager" listening="1" shadows="1" />
    <SpotLight name="redLight" color="1 0 0" position="-5 -2.5 20" direction="0 0 -1" />
    <SpotLight name="greenLight" color="0 1 0" position="0 2.5 20" direction="0 0 -1" />
    <SpotLight name="blueLight" color="0 0 1" position="5 -2.5 20" direction="0 0 -1" />
    <SpotLight name="spotLight2" position="0 60 0" direction="0 -1 0.01" />
    <OglShadowShader name="oglShadowShader5" />
    <Node name="Dragon">
        <MeshOBJLoader name="meshLoader_0" filename="mesh/dragon.obj" handleSeams="1" />
        <OglModel name="dragon" src="@meshLoader_0" material="Default Diffuse 1 1 1 1 1 Ambient 1 0.2 0.2 0.2 1 Specular 0 1 1 1 1 Emissive 0 1 1 1 1 Shininess 0 45 No texture linked to the material No bump texture linked to the material " />
        <MeshOBJLoader name="meshLoader_1" filename="mesh/floor.obj" translation="0 -7 0" handleSeams="1" />
        <OglModel name="floor" src="@meshLoader_1" material="Default Diffuse 1 0.498039 0.498039 0.498039 1 Ambient 1 0.0980392 0.0980392 0.0980392 1 Specular 0 0.498039 0.498039 0.498039 1 Emissive 0 0.498039 0.498039 0.498039 1 Shininess 0 45 No texture linked to the material No bump texture linked to the material " />
    </Node>
</Node>
