diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-01-09 20:18:17 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-01-09 20:18:17 +0000 |
commit | 00f25bcce58789ad0f8082406f233de461d7ccf2 (patch) | |
tree | cf6b1c22b31ba4a7c5531f4fe71c461a8cc09f9a /res/lights.xml | |
parent | Add the Illuminator (type) and Light (instance) classes (diff) | |
download | ilt-00f25bcce58789ad0f8082406f233de461d7ccf2.tar.bz2 ilt-00f25bcce58789ad0f8082406f233de461d7ccf2.tar.xz ilt-00f25bcce58789ad0f8082406f233de461d7ccf2.zip |
Add lights resource set and test scene
Diffstat (limited to 'res/lights.xml')
-rw-r--r-- | res/lights.xml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/res/lights.xml b/res/lights.xml new file mode 100644 index 0000000..137137d --- /dev/null +++ b/res/lights.xml @@ -0,0 +1,16 @@ +<?xml version="1.0"?> +<ilt p.id="assetFactory"> + <asset p.typeid="Illuminator" id="r-light" name="r-light"> + <bodyMesh id="body"> + <use type="cylinder" scale="0.12,0.12,1" colour="lightslategray"/> + <use type="cylinder" scale="0.07,0.07,3" position="0,0,1" colour="lightslategray"/> + <use type="cylinder" scale="0.05,0.05,1.5" position="0,0.1,4" rotation="1.5,0,0" colour="lightslategray"/> + </bodyMesh> + </asset> + <!-- yes I'm hacking some floor to light up as though its a bush --> + <asset p.typeid="Foliage" id="floor" name="floor"> + <bodyMesh id="body"> + <use type="plane" scale="10,10,0" colour="#aaaaaa"/> + </bodyMesh> + </asset> +</ilt> |