summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-03-05 01:59:16 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2023-03-05 01:59:16 +0000
commitd4c073a18adaed73973f34c6c39fc15664d9211d (patch)
tree44536af3af0284ab75eae79ef81a5e4452019269 /res
parentAdd helper operator to perform vec3*mat4 and perspective divide (diff)
parentRemove old hard coded asset factory test, run entirely from XML load and rend... (diff)
downloadilt-d4c073a18adaed73973f34c6c39fc15664d9211d.tar.bz2
ilt-d4c073a18adaed73973f34c6c39fc15664d9211d.tar.xz
ilt-d4c073a18adaed73973f34c6c39fc15664d9211d.zip
Merge branch 'model-factory'
Diffstat (limited to 'res')
-rw-r--r--res/brush47.xml36
1 files changed, 36 insertions, 0 deletions
diff --git a/res/brush47.xml b/res/brush47.xml
new file mode 100644
index 0000000..9c7d2a8
--- /dev/null
+++ b/res/brush47.xml
@@ -0,0 +1,36 @@
+<?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,1.5708"/>
+ </object>
+ <object id="axel">
+ <use type="wheel" position="-0.717,0,0"/>
+ <use type="wheel" position="0.717,0,0" rotation="0,3.14159,0"/>
+ </object>
+ <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 p.typeid="RailVehicleClass" id="brush-47" name="Brush 47" length="19.38" wheelBase="15.70" maxSpeed="42.4688">
+ <bodyMesh 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="#2c4f5a">
+ <face id="bottom" colour="#2c3539"/>
+ <face id="front" colour="goldenrod"/>
+ <face id="back" colour="goldenrod"/>
+ <face id="top" type="extrude" scale="1,0.95,1" position="0,0,0.8">
+ <face id="front" colour="#e1eff3"/>
+ <face id="back" colour="#e1eff3"/>
+ <face id="top" type="extrude" scale="0.5,0.8,0" position="0,0,0.4" smooth="true" colour="#aeb0b0"/>
+ </face>
+ </use>
+ <use type="cuboid" position="0,0,0.2" scale="2.6,4.5,1" colour="grey30"/>
+ </bodyMesh>
+ <bogie id="bogie1">
+ <use type="bogie" position="0,-1.85,0" colour="#413b3a"/>
+ </bogie>
+ <bogie id="bogie2">
+ <use type="bogie" position="0,1.85,0" rotation="0,3.14159,0" colour="#413b3a"/>
+ </bogie>
+ </asset>
+</ilt>