/tutorial/vision/opengl/data/world/world2.xml

http://github.com/tybor/Liberty · XML · 28 lines · 28 code · 0 blank · 0 comment · 0 complexity · 440826aeb101ebb79e09584471ed4044 MD5 · raw file

  1. <world>
  2. <camera>
  3. <position x="7" y="4" z="12"></position>
  4. <orientation h="30" p="-10" r="0"></orientation>
  5. </camera>
  6. <fog type="linear" start="0" end="17" atmospheric="True">
  7. <color r="0.25" g="0.25" b="0.25" a="1"></color>
  8. </fog>
  9. <light type="directional">
  10. <direction x="0.5" y="-1" z="-0.5"></direction>
  11. </light>
  12. <object file="ground.xml">
  13. <position x="0" y="0" z="0"></position>
  14. </object>
  15. <object file="crate2.xml">
  16. <position x="-1" y="1" z="-1"></position>
  17. </object>
  18. <object file="crate2.xml">
  19. <position x="1" y="1" z="-1"></position>
  20. </object>
  21. <object file="crate2.xml">
  22. <position x="-1" y="1" z="1"></position>
  23. </object>
  24. <object file="crate1.xml">
  25. <position x="2" y="1" z="2"></position>
  26. <orientation h="50" p="0" r="0"></orientation>
  27. </object>
  28. </world>