summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-02-22 23:40:46 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2023-02-22 23:40:46 +0000
commitdf2a078c51cee464905c6fb1d1c7c4aa7873f6a1 (patch)
tree209467479c61ab42bf39510f32fd375027115dcd /res
parentFixup MapByMember to work with shared or unique ptr (diff)
downloadilt-df2a078c51cee464905c6fb1d1c7c4aa7873f6a1.tar.bz2
ilt-df2a078c51cee464905c6fb1d1c7c4aa7873f6a1.tar.xz
ilt-df2a078c51cee464905c6fb1d1c7c4aa7873f6a1.zip
Implement loading asset, mesh and face definitions
Diffstat (limited to 'res')
-rw-r--r--res/brush47.xml24
1 files changed, 21 insertions, 3 deletions
diff --git a/res/brush47.xml b/res/brush47.xml
index 3c6705a..9cd654f 100644
--- a/res/brush47.xml
+++ b/res/brush47.xml
@@ -1,15 +1,33 @@
<?xml version="1.0"?>
<ilt p.id="assetFactory">
<object id="wheel">
- <use type="cylinder" position="0,0,0.571" scale="1.142,1.142,0.07" rotation="0,0,90"/>
+ <use type="cylinder" position="0,0,0.571" scale="1.142,1.142,0.07" rotation="0,0,1.5708"/>
</object>
<object id="axel">
<use type="wheel" position="0.717,0,0"/>
- <use type="wheel" position="-0.717,0,0" rotation="0,90,0"/>
+ <use type="wheel" position="-0.717,0,0" rotation="0,3.14159,0"/>
</object>
- <object id="bogey">
+ <object id="bogie">
<use type="axel" position="0,0,0"/>
<use type="axel" position="0,2,0"/>
<use type="axel" position="0,-2,0"/>
</object>
+ <asset id="brush-47" name="Brush 47">
+ <mesh id="body" size="2.69,19.38,3.9">
+ <use type="cuboid" position="0,0,1.2" scale="2.69,19.38,1.5" colour="#1111dd">
+ <face id="bottom" colour="#2C3539"/>
+ <face id="top" type="extrude" scale="1,0.95,1" position="0,0,1.0">
+ <face id="top" type="extrude" scale="0.6,0.9,0" position="0,0,0.2"/>
+ <!--smooth="true"-->
+ </face>
+ </use>
+ <use type="cuboid" position="0,0,0.2" scale="2.6,4.5,1" colour="#2C3539"/>
+ </mesh>
+ <mesh id="bogie1">
+ <use type="bogie" position="0,6,0"/>
+ </mesh>
+ <mesh id="bogie2">
+ <use type="bogie" position="0,-6,0" rotation="0,3.14159,0"/>
+ </mesh>
+ </asset>
</ilt>