Added the exit to models and scene

This commit is contained in:
sfroitzheim 2015-03-06 16:28:38 +01:00
parent 71311f853d
commit 797d45467b
10 changed files with 114 additions and 31 deletions

BIN
Blenderfiles/exit.blend Normal file

Binary file not shown.

Binary file not shown.

12
data/geometry/exit.mtl Normal file
View File

@ -0,0 +1,12 @@
# Blender MTL File: 'exit.blend'
# Material Count: 1
newmtl Material.001
Ns 96.078431
Ka 0.000000 0.000000 0.000000
Kd 0.640000 0.640000 0.640000
Ks 0.500000 0.500000 0.500000
Ni 1.000000
d 1.000000
illum 2
map_Kd /home/sfroitzheim/swp/data/textures/exitTexture.jpg

39
data/geometry/exit.obj Normal file
View File

@ -0,0 +1,39 @@
# Blender v2.72 (sub 0) OBJ File: 'exit.blend'
# www.blender.org
o Plane
v -3.440849 -0.000000 2.993210
v 3.435127 -0.000000 2.993210
v -3.440849 -0.000000 -2.993210
v 3.435127 -0.000000 -2.993210
v -3.440849 -0.215618 2.993210
v 3.435127 -0.215618 2.993210
v -3.440849 -0.215618 -2.993210
v 3.435127 -0.215618 -2.993210
v 0.196185 -0.238611 0.123684
vt 0.000100 0.999900
vt 0.999900 0.999900
vt 0.999900 0.000100
vt 0.999981 0.000019
vt 0.000019 0.000019
vt 0.000019 0.036035
vt 0.999981 0.036035
vt 0.000100 0.000100
vn 0.000000 -1.000000 0.000000
vn 0.000000 1.000000 0.000000
vn 0.000000 0.000000 -1.000000
vn 1.000000 0.000000 0.000000
vn 0.000000 0.000000 1.000000
vn -1.000000 0.000000 0.000000
s off
f 3/1/1 4/2/1 2/3/1
f 6/3/2 8/2/2 7/1/2
f 8/4/3 7/5/3 3/6/3
f 6/6/4 8/7/4 4/4/4
f 5/6/5 6/7/5 2/4/5
f 7/4/6 5/5/6 1/6/6
f 1/8/1 3/1/1 2/3/1
f 5/8/2 6/3/2 7/1/2
f 4/7/3 8/4/3 3/6/3
f 2/5/4 6/6/4 4/4/4
f 1/5/5 5/6/5 2/4/5
f 3/7/6 7/4/6 1/6/6

View File

@ -482,7 +482,7 @@
<object>
<modelPath>brazier.obj</modelPath>
<xOffset>0.0</xOffset>
<yOffset>0.35</yOffset>
<yOffset>0.36</yOffset>
<zOffset>0.0</zOffset>
<xRot>0.0</xRot>
<yRot>0.0</yRot>
@ -509,6 +509,25 @@
</object>
</composition>
<!-- Exit -->
<composition>
<typeID>254</typeID>
<ignoreHeightmap>false</ignoreHeightmap>
<object>
<modelPath>exit.obj</modelPath>
<xOffset>0.0</xOffset>
<yOffset>0.1</yOffset>
<zOffset>0.0</zOffset>
<xRot>0.0</xRot>
<yRot>0.0</yRot>
<zRot>0.0</zRot>
<scale>1.5</scale>
<mass>0.0</mass>
</object>
</composition>
@ -689,3 +708,16 @@
<dampningA>0.5</dampningA>
<renderable>true</renderable>
</objectData>
<objectData>
<modelPath>exit.obj</modelPath>
<texturePath>exitTexture.png</texturePath>
<ambientFactor>0.1</ambientFactor>
<diffuseFactor>0.6</diffuseFactor>
<specularFactor>0.4</specularFactor>
<shininess>2.0</shininess>
<physicType>TriangleMesh</physicType>
<dampningL>0.555</dampningL>
<dampningA>0.5</dampningA>
<renderable>true</renderable>
</objectData>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

View File

@ -1,3 +1,33 @@
<composition>
<scale>1.0</scale>
<xRot>0.0</xRot>
<yRot>0.0</yRot>
<zRot>0.0</zRot>
<manualPos>false</manualPos>
<xPos>-215.500000</xPos>
<yOffset>0.0</yOffset>
<zPos>31.500000</zPos>
<idGreen>0</idGreen>
<idBlue>137</idBlue>
<typeID>254</typeID>
<trigger>
<name>-</name>
<undo>false</undo>
<xPosition>0</xPosition>
<yPosition>0</yPosition>
<zPosition>0</zPosition>
<targetIdGreen>-</targetIdGreen>
<targetIdBlue>-</targetIdBlue>
<distance>1.0</distance>
<isBiggerThan>false</isBiggerThan>
<objectNum>0</objectNum>
<luaScript>-</luaScript>
<toChangeIdGreen>0</toChangeIdGreen>
<toChangeIdBlue>0</toChangeIdBlue>
<toChangeObjNum>0</toChangeObjNum>
</trigger>
</composition>
<composition>
<scale>1.0</scale>
<xRot>0.0</xRot>

View File

@ -1,33 +1,3 @@
<composition>
<scale>1.0</scale>
<xRot>0.0</xRot>
<yRot>0.0</yRot>
<zRot>0.0</zRot>
<manualPos>false</manualPos>
<xPos>-217.500000</xPos>
<yOffset>0.0</yOffset>
<zPos>210.500000</zPos>
<idGreen>0</idGreen>
<idBlue>137</idBlue>
<typeID>245</typeID>
<trigger>
<name>-</name>
<undo>false</undo>
<xPosition>0</xPosition>
<yPosition>0</yPosition>
<zPosition>0</zPosition>
<targetIdGreen>-</targetIdGreen>
<targetIdBlue>-</targetIdBlue>
<distance>1.0</distance>
<isBiggerThan>false</isBiggerThan>
<objectNum>0</objectNum>
<luaScript>-</luaScript>
<toChangeIdGreen>0</toChangeIdGreen>
<toChangeIdBlue>0</toChangeIdBlue>
<toChangeObjNum>0</toChangeObjNum>
</trigger>
</composition>
<composition>
<scale>1.0</scale>
<xRot>0.0</xRot>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 MiB