Commits

Jason McKesson committed df2bd32

Issue 12: Added mesh files for Tut07.

  • Participants
  • Parent commits 946f8d5

Comments (0)

Files changed (8)

Tut 07 World in Motion/data/UnitCone.xml

+<?xml version="1.0" encoding="UTF-8"?>
+<?oxygen RNGSchema="../../Documents/meshFormat.rnc" type="compact"?>
+
+<mesh xmlns="http://www.arcsynthesis.com/gltut/mesh" >
+	<attribute index="0" type="float" size="3" > 
+        0 0.866 0
+        0.5 0 0
+        0.48907381875731 0 0.1039557588888
+        0.45677280077542 0 0.20336815992623
+        0.40450865316151 0 0.29389241146627
+        0.33456556611288 0 0.37157217599218
+        0.2500003830126 0 0.43301248075957
+        0.15450900193016 0 0.47552809414644
+        0.052264847412855 0 0.49726088296277
+        -0.052263527886268 0 0.49726102165048
+        -0.15450774007312 0 0.47552850414828
+        -0.24999923397422 0 0.43301314415651
+        -0.33456458011157 0 0.37157306379065
+        -0.40450787329018 0 0.29389348486527
+        -0.45677226111814 0 0.20336937201315
+        -0.48907354289964 0 0.10395705668972
+        -0.49999999999824 0 1.3267948966764e-006
+        -0.48907409461153 0 -0.10395446108714
+        -0.45677334042948 0 -0.20336694783787
+        -0.40450943302999 0 -0.2938913380652
+        -0.33456655211184 0 -0.3715712881911
+        -0.25000153204922 0 -0.43301181735958
+        -0.15451026378611 0 -0.47552768414126
+        -0.052266166939075 0 -0.49726074427155
+        0.052262208359312 0 -0.4972611603347
+        0.15450647821499 0 -0.47552891414676
+        0.24999808493408 0 -0.4330138075504
+        0.3345635941079 0 -0.37157395158649
+        0.40450709341601 0 -0.2938945582622
+        0.45677172145764 0 -0.20337058409865
+        0.48907326703854 0 -0.10395835448992
+        0 0 0</attribute>
+	<indices cmd="tri-fan" type="ushort" >0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1</indices>
+	<indices cmd="tri-fan" type="ushort" >31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 30</indices>
+</mesh>

Tut 07 World in Motion/data/UnitConeTint.xml

+<?xml version="1.0" encoding="UTF-8"?>
+<?oxygen RNGSchema="../../Documents/meshFormat.rnc" type="compact"?>
+
+<mesh xmlns="http://www.arcsynthesis.com/gltut/mesh" >
+	<attribute index="0" type="float" size="3" > 
+        0 0.866 0
+        0.5 0 0
+        0.48907381875731 0 0.1039557588888
+        0.45677280077542 0 0.20336815992623
+        0.40450865316151 0 0.29389241146627
+        0.33456556611288 0 0.37157217599218
+        0.2500003830126 0 0.43301248075957
+        0.15450900193016 0 0.47552809414644
+        0.052264847412855 0 0.49726088296277
+        -0.052263527886268 0 0.49726102165048
+        -0.15450774007312 0 0.47552850414828
+        -0.24999923397422 0 0.43301314415651
+        -0.33456458011157 0 0.37157306379065
+        -0.40450787329018 0 0.29389348486527
+        -0.45677226111814 0 0.20336937201315
+        -0.48907354289964 0 0.10395705668972
+        -0.49999999999824 0 1.3267948966764e-006
+        -0.48907409461153 0 -0.10395446108714
+        -0.45677334042948 0 -0.20336694783787
+        -0.40450943302999 0 -0.2938913380652
+        -0.33456655211184 0 -0.3715712881911
+        -0.25000153204922 0 -0.43301181735958
+        -0.15451026378611 0 -0.47552768414126
+        -0.052266166939075 0 -0.49726074427155
+        0.052262208359312 0 -0.4972611603347
+        0.15450647821499 0 -0.47552891414676
+        0.24999808493408 0 -0.4330138075504
+        0.3345635941079 0 -0.37157395158649
+        0.40450709341601 0 -0.2938945582622
+        0.45677172145764 0 -0.20337058409865
+        0.48907326703854 0 -0.10395835448992
+        0 0 0</attribute>
+	<attribute index="1" type="float" size="4" > 
+        1 1 1 1
+        0.9 0.9 0.9 1
+        0.82 0.82 0.82 1
+        0.74 0.74 0.74 1
+        0.66 0.66 0.66 1
+        0.58 0.58 0.58 1
+        0.5 0.5 0.5 1
+        0.58 0.58 0.58 1
+        0.66 0.66 0.66 1
+        0.74 0.74 0.74 1
+        0.82 0.82 0.82 1
+        0.9 0.9 0.9 1
+        0.82 0.82 0.82 1
+        0.74 0.74 0.74 1
+        0.66 0.66 0.66 1
+        0.58 0.58 0.58 1
+        0.5 0.5 0.5 1
+        0.58 0.58 0.58 1
+        0.66 0.66 0.66 1
+        0.74 0.74 0.74 1
+        0.82 0.82 0.82 1
+        0.9 0.9 0.9 1
+        0.82 0.82 0.82 1
+        0.74 0.74 0.74 1
+        0.66 0.66 0.66 1
+        0.58 0.58 0.58 1
+        0.5 0.5 0.5 1
+        0.58 0.58 0.58 1
+        0.66 0.66 0.66 1
+        0.74 0.74 0.74 1
+        0.82 0.82 0.82 1
+        0.9 0.9 0.9 1</attribute>
+	<indices cmd="tri-fan" type="ushort" >0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1</indices>
+	<indices cmd="tri-fan" type="ushort" >31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 30</indices>
+</mesh>

Tut 07 World in Motion/data/UnitCube.xml

+<?xml version="1.0" encoding="UTF-8"?>
+<?oxygen RNGSchema="../../Documents/meshFormat.rnc" type="compact"?>
+
+<mesh xmlns="http://www.arcsynthesis.com/gltut/mesh" >
+	<attribute index="0" type="float" size="3" > 
+        0.5 0.5 0.5
+        0.5 -0.5 0.5
+        -0.5 -0.5 0.5
+        -0.5 0.5 0.5
+        0.5 0.5 0.5
+        -0.5 0.5 0.5
+        -0.5 0.5 -0.5
+        0.5 0.5 -0.5
+        0.5 0.5 0.5
+        0.5 0.5 -0.5
+        0.5 -0.5 -0.5
+        0.5 -0.5 0.5
+        0.5 0.5 -0.5
+        -0.5 0.5 -0.5
+        -0.5 -0.5 -0.5
+        0.5 -0.5 -0.5
+        0.5 -0.5 0.5
+        0.5 -0.5 -0.5
+        -0.5 -0.5 -0.5
+        -0.5 -0.5 0.5
+        -0.5 0.5 0.5
+        -0.5 -0.5 0.5
+        -0.5 -0.5 -0.5
+        -0.5 0.5 -0.5</attribute>
+	<indices cmd="triangles" type="ushort" > 
+        0 1 2
+        2 3 0
+        4 5 6
+        6 7 4
+        8 9 10
+        10 11 8
+        12 13 14
+        14 15 12
+        16 17 18
+        18 19 16
+        20 21 22
+        22 23 20</indices>
+</mesh>

Tut 07 World in Motion/data/UnitCubeColor.xml

+<?xml version="1.0" encoding="UTF-8"?>
+<?oxygen RNGSchema="../../Documents/meshFormat.rnc" type="compact"?>
+
+<mesh xmlns="http://www.arcsynthesis.com/gltut/mesh" >
+	<attribute index="0" type="float" size="3" > 
+        0.5 0.5 0.5
+        0.5 -0.5 0.5
+        -0.5 -0.5 0.5
+        -0.5 0.5 0.5
+        0.5 0.5 0.5
+        -0.5 0.5 0.5
+        -0.5 0.5 -0.5
+        0.5 0.5 -0.5
+        0.5 0.5 0.5
+        0.5 0.5 -0.5
+        0.5 -0.5 -0.5
+        0.5 -0.5 0.5
+        0.5 0.5 -0.5
+        -0.5 0.5 -0.5
+        -0.5 -0.5 -0.5
+        0.5 -0.5 -0.5
+        0.5 -0.5 0.5
+        0.5 -0.5 -0.5
+        -0.5 -0.5 -0.5
+        -0.5 -0.5 0.5
+        -0.5 0.5 0.5
+        -0.5 -0.5 0.5
+        -0.5 -0.5 -0.5
+        -0.5 0.5 -0.5</attribute>
+	<attribute index="1" type="float" size="4" > 
+        0 1 0 1
+        0 1 0 1
+        0 1 0 1
+        0 1 0 1
+        0 0 1 1
+        0 0 1 1
+        0 0 1 1
+        0 0 1 1
+        1 0 0 1
+        1 0 0 1
+        1 0 0 1
+        1 0 0 1
+        1 1 0 1
+        1 1 0 1
+        1 1 0 1
+        1 1 0 1
+        0 1 1 1
+        0 1 1 1
+        0 1 1 1
+        0 1 1 1
+        1 0 1 1
+        1 0 1 1
+        1 0 1 1
+        1 0 1 1</attribute>
+	<indices cmd="triangles" type="ushort" > 
+        0 1 2
+        2 3 0
+        4 5 6
+        6 7 4
+        8 9 10
+        10 11 8
+        12 13 14
+        14 15 12
+        16 17 18
+        18 19 16
+        20 21 22
+        22 23 20</indices>
+</mesh>

Tut 07 World in Motion/data/UnitCubeTint.xml

+<?xml version="1.0" encoding="UTF-8"?>
+<?oxygen RNGSchema="../../Documents/meshFormat.rnc" type="compact"?>
+
+<mesh xmlns="http://www.arcsynthesis.com/gltut/mesh" >
+	<attribute index="0" type="float" size="3" > 
+        0.5 0.5 0.5
+        0.5 -0.5 0.5
+        -0.5 -0.5 0.5
+        -0.5 0.5 0.5
+        0.5 0.5 0.5
+        -0.5 0.5 0.5
+        -0.5 0.5 -0.5
+        0.5 0.5 -0.5
+        0.5 0.5 0.5
+        0.5 0.5 -0.5
+        0.5 -0.5 -0.5
+        0.5 -0.5 0.5
+        0.5 0.5 -0.5
+        -0.5 0.5 -0.5
+        -0.5 -0.5 -0.5
+        0.5 -0.5 -0.5
+        0.5 -0.5 0.5
+        0.5 -0.5 -0.5
+        -0.5 -0.5 -0.5
+        -0.5 -0.5 0.5
+        -0.5 0.5 0.5
+        -0.5 -0.5 0.5
+        -0.5 -0.5 -0.5
+        -0.5 0.5 -0.5</attribute>
+	<attribute index="1" type="float" size="4" > 
+        1 1 1 1
+        1 1 1 1
+        1 1 1 1
+        1 1 1 1
+        0.75 0.75 0.75 1
+        0.75 0.75 0.75 1
+        0.75 0.75 0.75 1
+        0.75 0.75 0.75 1
+        0.5 0.5 0.5 1
+        0.5 0.5 0.5 1
+        0.5 0.5 0.5 1
+        0.5 0.5 0.5 1
+        1 1 1 1
+        1 1 1 1
+        1 1 1 1
+        1 1 1 1
+        0.75 0.75 0.75 1
+        0.75 0.75 0.75 1
+        0.75 0.75 0.75 1
+        0.75 0.75 0.75 1
+        0.5 0.5 0.5 1
+        0.5 0.5 0.5 1
+        0.5 0.5 0.5 1
+        0.5 0.5 0.5 1</attribute>
+	<indices cmd="triangles" type="ushort" > 
+        0 1 2
+        2 3 0
+        4 5 6
+        6 7 4
+        8 9 10
+        10 11 8
+        12 13 14
+        14 15 12
+        16 17 18
+        18 19 16
+        20 21 22
+        22 23 20</indices>
+</mesh>

Tut 07 World in Motion/data/UnitCylinder.xml

+<?xml version="1.0" encoding="UTF-8"?>
+<?oxygen RNGSchema="../../Documents/meshFormat.rnc" type="compact"?>
+
+<mesh xmlns="http://www.arcsynthesis.com/gltut/mesh" >
+	<attribute index="0" type="float" size="3" > 
+        0 0.5 0
+        0.5 0.5 0
+        0.5 -0.5 0
+        0.48907381875731 0.5 0.1039557588888
+        0.48907381875731 -0.5 0.1039557588888
+        0.45677280077542 0.5 0.20336815992623
+        0.45677280077542 -0.5 0.20336815992623
+        0.40450865316151 0.5 0.29389241146627
+        0.40450865316151 -0.5 0.29389241146627
+        0.33456556611288 0.5 0.37157217599218
+        0.33456556611288 -0.5 0.37157217599218
+        0.2500003830126 0.5 0.43301248075957
+        0.2500003830126 -0.5 0.43301248075957
+        0.15450900193016 0.5 0.47552809414644
+        0.15450900193016 -0.5 0.47552809414644
+        0.052264847412855 0.5 0.49726088296277
+        0.052264847412855 -0.5 0.49726088296277
+        -0.052263527886268 0.5 0.49726102165048
+        -0.052263527886268 -0.5 0.49726102165048
+        -0.15450774007312 0.5 0.47552850414828
+        -0.15450774007312 -0.5 0.47552850414828
+        -0.24999923397422 0.5 0.43301314415651
+        -0.24999923397422 -0.5 0.43301314415651
+        -0.33456458011157 0.5 0.37157306379065
+        -0.33456458011157 -0.5 0.37157306379065
+        -0.40450787329018 0.5 0.29389348486527
+        -0.40450787329018 -0.5 0.29389348486527
+        -0.45677226111814 0.5 0.20336937201315
+        -0.45677226111814 -0.5 0.20336937201315
+        -0.48907354289964 0.5 0.10395705668972
+        -0.48907354289964 -0.5 0.10395705668972
+        -0.49999999999824 0.5 1.3267948966764e-006
+        -0.49999999999824 -0.5 1.3267948966764e-006
+        -0.48907409461153 0.5 -0.10395446108714
+        -0.48907409461153 -0.5 -0.10395446108714
+        -0.45677334042948 0.5 -0.20336694783787
+        -0.45677334042948 -0.5 -0.20336694783787
+        -0.40450943302999 0.5 -0.2938913380652
+        -0.40450943302999 -0.5 -0.2938913380652
+        -0.33456655211184 0.5 -0.3715712881911
+        -0.33456655211184 -0.5 -0.3715712881911
+        -0.25000153204922 0.5 -0.43301181735958
+        -0.25000153204922 -0.5 -0.43301181735958
+        -0.15451026378611 0.5 -0.47552768414126
+        -0.15451026378611 -0.5 -0.47552768414126
+        -0.052266166939075 0.5 -0.49726074427155
+        -0.052266166939075 -0.5 -0.49726074427155
+        0.052262208359312 0.5 -0.4972611603347
+        0.052262208359312 -0.5 -0.4972611603347
+        0.15450647821499 0.5 -0.47552891414676
+        0.15450647821499 -0.5 -0.47552891414676
+        0.24999808493408 0.5 -0.4330138075504
+        0.24999808493408 -0.5 -0.4330138075504
+        0.3345635941079 0.5 -0.37157395158649
+        0.3345635941079 -0.5 -0.37157395158649
+        0.40450709341601 0.5 -0.2938945582622
+        0.40450709341601 -0.5 -0.2938945582622
+        0.45677172145764 0.5 -0.20337058409865
+        0.45677172145764 -0.5 -0.20337058409865
+        0.48907326703854 0.5 -0.10395835448992
+        0.48907326703854 -0.5 -0.10395835448992
+        0 -0.5 0</attribute>
+	<indices cmd="tri-fan" type="ushort" >0 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 1</indices>
+	<indices cmd="tri-fan" type="ushort" >61 60 58 56 54 52 50 48 46 44 42 40 38 36 34 32 30 28 26 24 22 20 18 16 14 12 10 8 6 4 2 60</indices>
+	<indices cmd="tri-strip" type="ushort" >1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 1 2</indices>
+</mesh>

Tut 07 World in Motion/data/UnitCylinderTint.xml

+<?xml version="1.0" encoding="UTF-8"?>
+<?oxygen RNGSchema="../../Documents/meshFormat.rnc" type="compact"?>
+
+<mesh xmlns="http://www.arcsynthesis.com/gltut/mesh" >
+	<attribute index="0" type="float" size="3" > 
+        0 0.5 0
+        0.5 0.5 0
+        0.5 -0.5 0
+        0.48907381875731 0.5 0.1039557588888
+        0.48907381875731 -0.5 0.1039557588888
+        0.45677280077542 0.5 0.20336815992623
+        0.45677280077542 -0.5 0.20336815992623
+        0.40450865316151 0.5 0.29389241146627
+        0.40450865316151 -0.5 0.29389241146627
+        0.33456556611288 0.5 0.37157217599218
+        0.33456556611288 -0.5 0.37157217599218
+        0.2500003830126 0.5 0.43301248075957
+        0.2500003830126 -0.5 0.43301248075957
+        0.15450900193016 0.5 0.47552809414644
+        0.15450900193016 -0.5 0.47552809414644
+        0.052264847412855 0.5 0.49726088296277
+        0.052264847412855 -0.5 0.49726088296277
+        -0.052263527886268 0.5 0.49726102165048
+        -0.052263527886268 -0.5 0.49726102165048
+        -0.15450774007312 0.5 0.47552850414828
+        -0.15450774007312 -0.5 0.47552850414828
+        -0.24999923397422 0.5 0.43301314415651
+        -0.24999923397422 -0.5 0.43301314415651
+        -0.33456458011157 0.5 0.37157306379065
+        -0.33456458011157 -0.5 0.37157306379065
+        -0.40450787329018 0.5 0.29389348486527
+        -0.40450787329018 -0.5 0.29389348486527
+        -0.45677226111814 0.5 0.20336937201315
+        -0.45677226111814 -0.5 0.20336937201315
+        -0.48907354289964 0.5 0.10395705668972
+        -0.48907354289964 -0.5 0.10395705668972
+        -0.49999999999824 0.5 1.3267948966764e-006
+        -0.49999999999824 -0.5 1.3267948966764e-006
+        -0.48907409461153 0.5 -0.10395446108714
+        -0.48907409461153 -0.5 -0.10395446108714
+        -0.45677334042948 0.5 -0.20336694783787
+        -0.45677334042948 -0.5 -0.20336694783787
+        -0.40450943302999 0.5 -0.2938913380652
+        -0.40450943302999 -0.5 -0.2938913380652
+        -0.33456655211184 0.5 -0.3715712881911
+        -0.33456655211184 -0.5 -0.3715712881911
+        -0.25000153204922 0.5 -0.43301181735958
+        -0.25000153204922 -0.5 -0.43301181735958
+        -0.15451026378611 0.5 -0.47552768414126
+        -0.15451026378611 -0.5 -0.47552768414126
+        -0.052266166939075 0.5 -0.49726074427155
+        -0.052266166939075 -0.5 -0.49726074427155
+        0.052262208359312 0.5 -0.4972611603347
+        0.052262208359312 -0.5 -0.4972611603347
+        0.15450647821499 0.5 -0.47552891414676
+        0.15450647821499 -0.5 -0.47552891414676
+        0.24999808493408 0.5 -0.4330138075504
+        0.24999808493408 -0.5 -0.4330138075504
+        0.3345635941079 0.5 -0.37157395158649
+        0.3345635941079 -0.5 -0.37157395158649
+        0.40450709341601 0.5 -0.2938945582622
+        0.40450709341601 -0.5 -0.2938945582622
+        0.45677172145764 0.5 -0.20337058409865
+        0.45677172145764 -0.5 -0.20337058409865
+        0.48907326703854 0.5 -0.10395835448992
+        0.48907326703854 -0.5 -0.10395835448992
+        0 -0.5 0</attribute>
+	<attribute index="1" type="float" size="4" > 
+        1 1 1 1
+        0.9 0.9 0.9 1
+        0.9 0.9 0.9 1
+        0.82 0.82 0.82 1
+        0.82 0.82 0.82 1
+        0.74 0.74 0.74 1
+        0.74 0.74 0.74 1
+        0.66 0.66 0.66 1
+        0.66 0.66 0.66 1
+        0.58 0.58 0.58 1
+        0.58 0.58 0.58 1
+        0.5 0.5 0.5 1
+        0.5 0.5 0.5 1
+        0.58 0.58 0.58 1
+        0.58 0.58 0.58 1
+        0.66 0.66 0.66 1
+        0.66 0.66 0.66 1
+        0.74 0.74 0.74 1
+        0.74 0.74 0.74 1
+        0.82 0.82 0.82 1
+        0.82 0.82 0.82 1
+        0.9 0.9 0.9 1
+        0.9 0.9 0.9 1
+        0.82 0.82 0.82 1
+        0.82 0.82 0.82 1
+        0.74 0.74 0.74 1
+        0.74 0.74 0.74 1
+        0.66 0.66 0.66 1
+        0.66 0.66 0.66 1
+        0.58 0.58 0.58 1
+        0.58 0.58 0.58 1
+        0.5 0.5 0.5 1
+        0.5 0.5 0.5 1
+        0.58 0.58 0.58 1
+        0.58 0.58 0.58 1
+        0.66 0.66 0.66 1
+        0.66 0.66 0.66 1
+        0.74 0.74 0.74 1
+        0.74 0.74 0.74 1
+        0.82 0.82 0.82 1
+        0.82 0.82 0.82 1
+        0.9 0.9 0.9 1
+        0.9 0.9 0.9 1
+        0.82 0.82 0.82 1
+        0.82 0.82 0.82 1
+        0.74 0.74 0.74 1
+        0.74 0.74 0.74 1
+        0.66 0.66 0.66 1
+        0.66 0.66 0.66 1
+        0.58 0.58 0.58 1
+        0.58 0.58 0.58 1
+        0.5 0.5 0.5 1
+        0.5 0.5 0.5 1
+        0.58 0.58 0.58 1
+        0.58 0.58 0.58 1
+        0.66 0.66 0.66 1
+        0.66 0.66 0.66 1
+        0.74 0.74 0.74 1
+        0.74 0.74 0.74 1
+        0.82 0.82 0.82 1
+        0.82 0.82 0.82 1
+        1 1 1 1</attribute>
+	<indices cmd="tri-fan" type="ushort" >0 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49 51 53 55 57 59 1</indices>
+	<indices cmd="tri-fan" type="ushort" >61 60 58 56 54 52 50 48 46 44 42 40 38 36 34 32 30 28 26 24 22 20 18 16 14 12 10 8 6 4 2 60</indices>
+	<indices cmd="tri-strip" type="ushort" >1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 1 2</indices>
+</mesh>

Tut 07 World in Motion/data/UnitPlane.xml

+<?xml version="1.0" encoding="UTF-8"?>
+<?oxygen RNGSchema="../../Documents/meshFormat.rnc" type="compact"?>
+
+<mesh xmlns="http://www.arcsynthesis.com/gltut/mesh" >
+	<attribute index="0" type="float" size="3" > 
+        0.5 0 -0.5
+        0.5 0 0.5
+        -0.5 0 0.5
+        -0.5 0 -0.5</attribute>
+	<indices cmd="triangles" type="ushort" > 
+        0 1 2
+        0 2 1
+        2 3 0
+        2 0 3</indices>
+</mesh>