summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-04-08 11:50:40 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2023-04-08 11:50:40 +0100
commit26219bd0e3a1a0da74282509357f0ffcbcbafd7e (patch)
tree4578950e854e299bc638d0f116ca234b86358e6e
parentRemove no longer required getAdjacentFaceName (diff)
downloadilt-26219bd0e3a1a0da74282509357f0ffcbcbafd7e.tar.bz2
ilt-26219bd0e3a1a0da74282509357f0ffcbcbafd7e.tar.xz
ilt-26219bd0e3a1a0da74282509357f0ffcbcbafd7e.zip
Update Brush47 with yellow cab parts and window texture
Note: side window distorted still.
-rw-r--r--res/brush47.xml13
-rw-r--r--res/rail/cabWindowFront.pngbin0 -> 630 bytes
2 files changed, 12 insertions, 1 deletions
diff --git a/res/brush47.xml b/res/brush47.xml
index 20c43c8..31518c8 100644
--- a/res/brush47.xml
+++ b/res/brush47.xml
@@ -60,14 +60,25 @@
</object>
<textureFragment id="roofSideWithVents" path="rail/roofSideWithVents.png"/>
<textureFragment id="roofTopWithVents" path="rail/roofTopWithVents.png"/>
+ <textureFragment id="cabWindowFront" path="rail/cabWindowFront.png"/>
<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,0.3" colour="goldenrod">
<face id="bottom" colour="#2c3539"/>
<face id="top" type="extrude" position="0,0,1.05" colour="#2c4f5a">
<face id="front back" colour="goldenrod"/>
+ <face id="right left">
+ <split id="frontcorner" origin="0,7.90704,0" normal="0,1,0"/>
+ <split id="backcorner" origin="0,-7.90704,0" normal="0,-1,0"/>
+ <face id="rightfrontcorner leftfrontcorner rightbackcorner leftbackcorner" colour="goldenrod"/>
+ </face>
<face id="top" type="extrude" scale="1,0.96,1" position="0,0,0.775">
- <face id="front back" colour="#e1eff3"/>
+ <face id="front back" texture="cabWindowFront"/>
+ <face id="right left">
+ <split id="frontcorner" origin="0,7.90704,0" normal="0,1,0"/>
+ <split id="backcorner" origin="0,-7.90704,0" normal="0,-1,0"/>
+ <face id="rightfrontcorner leftfrontcorner rightbackcorner leftbackcorner" texture="cabWindowFront"/>
+ </face>
<face id="top" type="extrude" scale="0.5,0.85,0" smooth="true" position="0,0,0.575" colour="#aeb0b0">
<face id="top" texture="roofTopWithVents"/>
<face id="right left">
diff --git a/res/rail/cabWindowFront.png b/res/rail/cabWindowFront.png
new file mode 100644
index 0000000..3803f21
--- /dev/null
+++ b/res/rail/cabWindowFront.png
Binary files differ