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

http://github.com/tybor/Liberty · XML · 25 lines · 25 code · 0 blank · 0 comment · 0 complexity · 4306c95d3478448c2e79d245cfb8dbca MD5 · raw file

  1. <world>
  2. <camera>
  3. <position x="7" y="3.5" z="10"></position>
  4. <orientation h="40" p="-10" r="0"></orientation>
  5. </camera>
  6. <light type="directional">
  7. <direction x="-1" y="0" z="0"></direction>
  8. </light>
  9. <object file="crate2.xml">
  10. <position x="-1" y="1" z="-1"></position>
  11. </object>
  12. <object file="crate2.xml">
  13. <position x="1" y="1" z="-1"></position>
  14. </object>
  15. <object file="crate2.xml">
  16. <position x="-1" y="1" z="1"></position>
  17. </object>
  18. <object file="glass.xml">
  19. <position x="1" y="1" z="5"></position>
  20. </object>
  21. <object file="crate1.xml">
  22. <position x="2" y="1" z="2"></position>
  23. <orientation h="50" p="0" r="0"></orientation>
  24. </object>
  25. </world>