/tutorial/vision/opengl/data/object/crate1.xml
http://github.com/tybor/Liberty · XML · 194 lines · 194 code · 0 blank · 0 comment · 0 complexity · 53b97cffa76fcc31a29399485da8d1e8 MD5 · raw file
- <object>
- <facet>
- <vertex x="-1" y="1" z="1">
- <normal x="-1" y="1" z="1"></normal>
- </vertex>
- <vertex x="-1" y="-1" z="1">
- <normal x="-1" y="-1" z="1"></normal>
- </vertex>
- <vertex x="1" y="1" z="1">
- <normal x="1" y="1" z="1"></normal>
- </vertex>
- <texture file="crate1.bmp">
- <coord s="0" t="1"></coord>
- <coord s="0" t="0"></coord>
- <coord s="1" t="1"></coord>
- </texture>
- </facet>
- <facet>
- <vertex x="-1" y="-1" z="1">
- <normal x="-1" y="-1" z="1"></normal>
- </vertex>
- <vertex x="1" y="-1" z="1">
- <normal x="1" y="-1" z="1"></normal>
- </vertex>
- <vertex x="1" y="1" z="1">
- <normal x="1" y="1" z="1"></normal>
- </vertex>
- <texture file="crate1.bmp">
- <coord s="0" t="0"></coord>
- <coord s="1" t="0"></coord>
- <coord s="1" t="1"></coord>
- </texture>
- </facet>
- <facet>
- <vertex x="1" y="1" z="1">
- <normal x="1" y="1" z="1"></normal>
- </vertex>
- <vertex x="1" y="-1" z="1">
- <normal x="1" y="-1" z="1"></normal>
- </vertex>
- <vertex x="1" y="1" z="-1">
- <normal x="1" y="1" z="-1"></normal>
- </vertex>
- <texture file="crate1.bmp">
- <coord s="0" t="1"></coord>
- <coord s="0" t="0"></coord>
- <coord s="1" t="1"></coord>
- </texture>
- </facet>
- <facet>
- <vertex x="1" y="-1" z="1">
- <normal x="1" y="-1" z="1"></normal>
- </vertex>
- <vertex x="1" y="-1" z="-1">
- <normal x="1" y="-1" z="-1"></normal>
- </vertex>
- <vertex x="1" y="1" z="-1">
- <normal x="1" y="1" z="-1"></normal>
- </vertex>
- <texture file="crate1.bmp">
- <coord s="0" t="0"></coord>
- <coord s="1" t="0"></coord>
- <coord s="1" t="1"></coord>
- </texture>
- </facet>
- <facet>
- <vertex x="-1" y="1" z="-1">
- <normal x="-1" y="1" z="-1"></normal>
- </vertex>
- <vertex x="-1" y="-1" z="-1">
- <normal x="-1" y="-1" z="-1"></normal>
- </vertex>
- <vertex x="-1" y="1" z="1">
- <normal x="-1" y="1" z="1"></normal>
- </vertex>
- <texture file="crate1.bmp">
- <coord s="0" t="1"></coord>
- <coord s="0" t="0"></coord>
- <coord s="1" t="1"></coord>
- </texture>
- </facet>
- <facet>
- <vertex x="-1" y="-1" z="-1">
- <normal x="-1" y="-1" z="-1"></normal>
- </vertex>
- <vertex x="-1" y="-1" z="1">
- <normal x="-1" y="-1" z="1"></normal>
- </vertex>
- <vertex x="-1" y="1" z="1">
- <normal x="-1" y="1" z="1"></normal>
- </vertex>
- <texture file="crate1.bmp">
- <coord s="0" t="0"></coord>
- <coord s="1" t="0"></coord>
- <coord s="1" t="1"></coord>
- </texture>
- </facet>
- <facet>
- <vertex x="-1" y="1" z="-1">
- <normal x="-1" y="1" z="-1"></normal>
- </vertex>
- <vertex x="-1" y="1" z="1">
- <normal x="-1" y="1" z="1"></normal>
- </vertex>
- <vertex x="1" y="1" z="-1">
- <normal x="1" y="1" z="-1"></normal>
- </vertex>
- <texture file="crate1.bmp">
- <coord s="0" t="1"></coord>
- <coord s="0" t="0"></coord>
- <coord s="1" t="1"></coord>
- </texture>
- </facet>
- <facet>
- <vertex x="-1" y="1" z="1">
- <normal x="-1" y="1" z="1"></normal>
- </vertex>
- <vertex x="1" y="1" z="1">
- <normal x="1" y="1" z="1"></normal>
- </vertex>
- <vertex x="1" y="1" z="-1">
- <normal x="1" y="1" z="-1"></normal>
- </vertex>
- <texture file="crate1.bmp">
- <coord s="0" t="0"></coord>
- <coord s="1" t="0"></coord>
- <coord s="1" t="1"></coord>
- </texture>
- </facet>
- <facet>
- <vertex x="-1" y="-1" z="1">
- <normal x="-1" y="-1" z="1"></normal>
- </vertex>
- <vertex x="-1" y="-1" z="-1">
- <normal x="-1" y="-1" z="-1"></normal>
- </vertex>
- <vertex x="1" y="-1" z="1">
- <normal x="1" y="-1" z="1"></normal>
- </vertex>
- <texture file="crate1.bmp">
- <coord s="0" t="1"></coord>
- <coord s="0" t="0"></coord>
- <coord s="1" t="1"></coord>
- </texture>
- </facet>
- <facet>
- <vertex x="-1" y="-1" z="-1">
- <normal x="-1" y="-1" z="-1"></normal>
- </vertex>
- <vertex x="1" y="-1" z="-1">
- <normal x="1" y="-1" z="-1"></normal>
- </vertex>
- <vertex x="1" y="-1" z="1">
- <normal x="1" y="-1" z="1"></normal>
- </vertex>
- <texture file="crate1.bmp">
- <coord s="0" t="0"></coord>
- <coord s="1" t="0"></coord>
- <coord s="1" t="1"></coord>
- </texture>
- </facet>
- <facet>
- <vertex x="1" y="1" z="-1">
- <normal x="1" y="1" z="-1"></normal>
- </vertex>
- <vertex x="1" y="-1" z="-1">
- <normal x="1" y="-1" z="-1"></normal>
- </vertex>
- <vertex x="-1" y="1" z="-1">
- <normal x="-1" y="1" z="-1"></normal>
- </vertex>
- <texture file="crate1.bmp">
- <coord s="0" t="1"></coord>
- <coord s="0" t="0"></coord>
- <coord s="1" t="1"></coord>
- </texture>
- </facet>
- <facet>
- <vertex x="1" y="-1" z="-1">
- <normal x="1" y="-1" z="-1"></normal>
- </vertex>
- <vertex x="-1" y="-1" z="-1">
- <normal x="-1" y="-1" z="-1"></normal>
- </vertex>
- <vertex x="-1" y="1" z="-1">
- <normal x="-1" y="1" z="-1"></normal>
- </vertex>
- <texture file="crate1.bmp">
- <coord s="0" t="0"></coord>
- <coord s="1" t="0"></coord>
- <coord s="1" t="1"></coord>
- </texture>
- </facet>
- </object>