Added Procedural Lights for AI Models
This commit is contained in:
parent
3d716220d7
commit
61aa9126ff
17 changed files with 400 additions and 0 deletions
21
AI/Lights/procedural-light-beacon-bottom.eff
Normal file
21
AI/Lights/procedural-light-beacon-bottom.eff
Normal file
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Customize an Effect from Generic -->
|
||||
<PropertyList>
|
||||
<!-- Name the Effect -->
|
||||
<name>procedural-light-beacon-bottom</name>
|
||||
<inherits-from>Effects/procedural-light</inherits-from>
|
||||
<parameters>
|
||||
<!-- Colorize the Effect -->
|
||||
<light_color_base_r type="float">1.000</light_color_base_r>
|
||||
<light_color_base_g type="float">0.000</light_color_base_g>
|
||||
<light_color_base_b type="float">0.000</light_color_base_b>
|
||||
<light_color_center_r type="float">1.0</light_color_center_r>
|
||||
<light_color_center_g type="float">1.0</light_color_center_g>
|
||||
<light_color_center_b type="float">1.0</light_color_center_b>
|
||||
<!-- Choose Intensity and Direction -->
|
||||
<intensity_scale type="float">1.0</intensity_scale>
|
||||
<is_directional type="bool">false</is_directional>
|
||||
<!-- Pick Blinking Status -->
|
||||
<is_strobe type="bool">true</is_strobe>
|
||||
</parameters>
|
||||
</PropertyList>
|
16
AI/Lights/procedural-light-beacon-top.eff
Normal file
16
AI/Lights/procedural-light-beacon-top.eff
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PropertyList>
|
||||
<name>procedural-light-beacon-top</name>
|
||||
<inherits-from>Effects/procedural-light</inherits-from>
|
||||
<parameters>
|
||||
<light_color_base_r type="float">1.000</light_color_base_r>
|
||||
<light_color_base_g type="float">0.000</light_color_base_g>
|
||||
<light_color_base_b type="float">0.000</light_color_base_b>
|
||||
<light_color_center_r type="float">1.0</light_color_center_r>
|
||||
<light_color_center_g type="float">1.0</light_color_center_g>
|
||||
<light_color_center_b type="float">1.0</light_color_center_b>
|
||||
<intensity_scale type="float">1.0</intensity_scale>
|
||||
<is_directional type="bool">false</is_directional>
|
||||
<is_strobe type="bool">true</is_strobe>
|
||||
</parameters>
|
||||
</PropertyList>
|
16
AI/Lights/procedural-light-nav-left.eff
Normal file
16
AI/Lights/procedural-light-nav-left.eff
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PropertyList>
|
||||
<name>procedural-light-nav-left</name>
|
||||
<inherits-from>Effects/procedural-light</inherits-from>
|
||||
<parameters>
|
||||
<light_color_base_r type="float">1.000</light_color_base_r>
|
||||
<light_color_base_g type="float">0.000</light_color_base_g>
|
||||
<light_color_base_b type="float">0.000</light_color_base_b>
|
||||
<light_color_center_r type="float">1.0</light_color_center_r>
|
||||
<light_color_center_g type="float">1.0</light_color_center_g>
|
||||
<light_color_center_b type="float">1.0</light_color_center_b>
|
||||
<intensity_scale type="float">1.0</intensity_scale>
|
||||
<is_directional type="bool">false</is_directional>
|
||||
<is_strobe type="bool">false</is_strobe>
|
||||
</parameters>
|
||||
</PropertyList>
|
16
AI/Lights/procedural-light-nav-right.eff
Normal file
16
AI/Lights/procedural-light-nav-right.eff
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PropertyList>
|
||||
<name>procedural-light-nav-right</name>
|
||||
<inherits-from>Effects/procedural-light</inherits-from>
|
||||
<parameters>
|
||||
<light_color_base_r type="float">0.000</light_color_base_r>
|
||||
<light_color_base_g type="float">1.000</light_color_base_g>
|
||||
<light_color_base_b type="float">0.000</light_color_base_b>
|
||||
<light_color_center_r type="float">1.0</light_color_center_r>
|
||||
<light_color_center_g type="float">1.0</light_color_center_g>
|
||||
<light_color_center_b type="float">1.0</light_color_center_b>
|
||||
<intensity_scale type="float">1.0</intensity_scale>
|
||||
<is_directional type="bool">false</is_directional>
|
||||
<is_strobe type="bool">false</is_strobe>
|
||||
</parameters>
|
||||
</PropertyList>
|
16
AI/Lights/procedural-light-nav-tail.eff
Normal file
16
AI/Lights/procedural-light-nav-tail.eff
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PropertyList>
|
||||
<name>procedural-light-nav-tail</name>
|
||||
<inherits-from>Effects/procedural-light</inherits-from>
|
||||
<parameters>
|
||||
<light_color_base_r type="float">1.000</light_color_base_r>
|
||||
<light_color_base_g type="float">1.000</light_color_base_g>
|
||||
<light_color_base_b type="float">1.000</light_color_base_b>
|
||||
<light_color_center_r type="float">1.0</light_color_center_r>
|
||||
<light_color_center_g type="float">1.0</light_color_center_g>
|
||||
<light_color_center_b type="float">1.0</light_color_center_b>
|
||||
<intensity_scale type="float">1.0</intensity_scale>
|
||||
<is_directional type="bool">false</is_directional>
|
||||
<is_strobe type="bool">false</is_strobe>
|
||||
</parameters>
|
||||
</PropertyList>
|
16
AI/Lights/procedural-light-strobe-left.eff
Normal file
16
AI/Lights/procedural-light-strobe-left.eff
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PropertyList>
|
||||
<name>procedural-light-strobe-left</name>
|
||||
<inherits-from>Effects/procedural-light</inherits-from>
|
||||
<parameters>
|
||||
<light_color_base_r type="float">1.000</light_color_base_r>
|
||||
<light_color_base_g type="float">1.000</light_color_base_g>
|
||||
<light_color_base_b type="float">1.000</light_color_base_b>
|
||||
<light_color_center_r type="float">1.0</light_color_center_r>
|
||||
<light_color_center_g type="float">1.0</light_color_center_g>
|
||||
<light_color_center_b type="float">1.0</light_color_center_b>
|
||||
<intensity_scale type="float">1.0</intensity_scale>
|
||||
<is_directional type="bool">false</is_directional>
|
||||
<is_strobe type="bool">true</is_strobe>
|
||||
</parameters>
|
||||
</PropertyList>
|
16
AI/Lights/procedural-light-strobe-right.eff
Normal file
16
AI/Lights/procedural-light-strobe-right.eff
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PropertyList>
|
||||
<name>procedural-light-strobe-right</name>
|
||||
<inherits-from>Effects/procedural-light</inherits-from>
|
||||
<parameters>
|
||||
<light_color_base_r type="float">1.000</light_color_base_r>
|
||||
<light_color_base_g type="float">1.000</light_color_base_g>
|
||||
<light_color_base_b type="float">1.000</light_color_base_b>
|
||||
<light_color_center_r type="float">1.0</light_color_center_r>
|
||||
<light_color_center_g type="float">1.0</light_color_center_g>
|
||||
<light_color_center_b type="float">1.0</light_color_center_b>
|
||||
<intensity_scale type="float">1.0</intensity_scale>
|
||||
<is_directional type="bool">false</is_directional>
|
||||
<is_strobe type="bool">true</is_strobe>
|
||||
</parameters>
|
||||
</PropertyList>
|
16
AI/Lights/procedural-light-strobe-tail.eff
Normal file
16
AI/Lights/procedural-light-strobe-tail.eff
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PropertyList>
|
||||
<name>procedural-light-strobe-tail</name>
|
||||
<inherits-from>Effects/procedural-light</inherits-from>
|
||||
<parameters>
|
||||
<light_color_base_r type="float">1.000</light_color_base_r>
|
||||
<light_color_base_g type="float">1.000</light_color_base_g>
|
||||
<light_color_base_b type="float">1.000</light_color_base_b>
|
||||
<light_color_center_r type="float">1.0</light_color_center_r>
|
||||
<light_color_center_g type="float">1.0</light_color_center_g>
|
||||
<light_color_center_b type="float">1.0</light_color_center_b>
|
||||
<intensity_scale type="float">1.0</intensity_scale>
|
||||
<is_directional type="bool">false</is_directional>
|
||||
<is_strobe type="bool">true</is_strobe>
|
||||
</parameters>
|
||||
</PropertyList>
|
67
AI/Lights/procedural_light.ac
Normal file
67
AI/Lights/procedural_light.ac
Normal file
|
@ -0,0 +1,67 @@
|
|||
AC3Db
|
||||
MATERIAL "ac3dmat1" rgb 1 1 1 amb 1 1 1 emis 0 0 0 spec 0.0250 0.0250 0.0250 shi 50 trans 0.1
|
||||
OBJECT world
|
||||
kids 1
|
||||
OBJECT poly
|
||||
name "procedural_light"
|
||||
crease 45.000000
|
||||
numvert 9
|
||||
0 0 0.5
|
||||
0 0.353553 0.353553
|
||||
0 0.5 0
|
||||
0 0.353553 -0.353553
|
||||
0 -5.96046e-008 -0.5
|
||||
0 -0.353553 -0.353553
|
||||
0 -0.5 0
|
||||
0 -0.353553 0.353554
|
||||
0 0 0
|
||||
numsurf 8
|
||||
SURF 0x30
|
||||
mat 0
|
||||
refs 3
|
||||
0 1 0.5
|
||||
1 0.853553 0.853553
|
||||
8 0.5 0.5
|
||||
SURF 0x30
|
||||
mat 0
|
||||
refs 3
|
||||
1 0.853553 0.853553
|
||||
2 0.5 1
|
||||
8 0.5 0.5
|
||||
SURF 0x30
|
||||
mat 0
|
||||
refs 3
|
||||
2 0.5 1
|
||||
3 0.146447 0.853553
|
||||
8 0.5 0.5
|
||||
SURF 0x30
|
||||
mat 0
|
||||
refs 3
|
||||
3 0.146447 0.853553
|
||||
4 0 0.5
|
||||
8 0.5 0.5
|
||||
SURF 0x30
|
||||
mat 0
|
||||
refs 3
|
||||
4 0 0.5
|
||||
5 0.146447 0.146447
|
||||
8 0.5 0.5
|
||||
SURF 0x30
|
||||
mat 0
|
||||
refs 3
|
||||
5 0.146447 0.146447
|
||||
6 0.5 0
|
||||
8 0.5 0.5
|
||||
SURF 0x30
|
||||
mat 0
|
||||
refs 3
|
||||
6 0.5 0
|
||||
7 0.853553 0.146447
|
||||
8 0.5 0.5
|
||||
SURF 0x30
|
||||
mat 0
|
||||
refs 3
|
||||
7 0.853553 0.146447
|
||||
0 1 0.5
|
||||
8 0.5 0.5
|
||||
kids 0
|
25
AI/Lights/procedural_light_beacon_bottom.xml
Normal file
25
AI/Lights/procedural_light_beacon_bottom.xml
Normal file
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- Create a Light Object by Associating a Geometry and a Custom Effect -->
|
||||
<PropertyList>
|
||||
<path>procedural_light.ac</path>
|
||||
<nopreview />
|
||||
<effect>
|
||||
<inherits-from>procedural-light-beacon-bottom</inherits-from>
|
||||
<object-name>procedural_light</object-name>
|
||||
</effect>
|
||||
<animation>
|
||||
<!-- Scale the generic AC Object to allow view from larger distance -->
|
||||
<type>scale</type>
|
||||
<x-offset>10</x-offset>
|
||||
<y-offset>10</y-offset>
|
||||
<z-offset>10</z-offset>
|
||||
</animation>
|
||||
<!-- Re scale Light Object based on distance from viewer to compensate perspective -->
|
||||
<animation>
|
||||
<type>dist-scale</type>
|
||||
<object-name>procedural_light</object-name>
|
||||
<factor>0.006</factor>
|
||||
<offset>0.0</offset>
|
||||
<min>0.13</min>
|
||||
</animation>
|
||||
</PropertyList>
|
25
AI/Lights/procedural_light_beacon_top.xml
Normal file
25
AI/Lights/procedural_light_beacon_top.xml
Normal file
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- Create a Light Object by Associating a Geometry and a Custom Effect -->
|
||||
<PropertyList>
|
||||
<path>procedural_light.ac</path>
|
||||
<nopreview />
|
||||
<effect>
|
||||
<inherits-from>procedural-light-beacon-top</inherits-from>
|
||||
<object-name>procedural_light</object-name>
|
||||
</effect>
|
||||
<animation>
|
||||
<!-- Scale the generic AC Object to allow view from larger distance -->
|
||||
<type>scale</type>
|
||||
<x-offset>10</x-offset>
|
||||
<y-offset>10</y-offset>
|
||||
<z-offset>10</z-offset>
|
||||
</animation>
|
||||
<!-- Re scale Light Object based on distance from viewer to compensate perspective -->
|
||||
<animation>
|
||||
<type>dist-scale</type>
|
||||
<object-name>procedural_light</object-name>
|
||||
<factor>0.006</factor>
|
||||
<offset>0.0</offset>
|
||||
<min>0.13</min>
|
||||
</animation>
|
||||
</PropertyList>
|
25
AI/Lights/procedural_light_nav_left.xml
Normal file
25
AI/Lights/procedural_light_nav_left.xml
Normal file
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- Create a Light Object by Associating a Geometry and a Custom Effect -->
|
||||
<PropertyList>
|
||||
<path>procedural_light.ac</path>
|
||||
<nopreview />
|
||||
<effect>
|
||||
<inherits-from>procedural-light-nav-left</inherits-from>
|
||||
<object-name>procedural_light</object-name>
|
||||
</effect>
|
||||
<animation>
|
||||
<!-- Scale the generic AC Object to allow view from larger distance -->
|
||||
<type>scale</type>
|
||||
<x-offset>10</x-offset>
|
||||
<y-offset>10</y-offset>
|
||||
<z-offset>10</z-offset>
|
||||
</animation>
|
||||
<!-- Re scale Light Object based on distance from viewer to compensate perspective -->
|
||||
<animation>
|
||||
<type>dist-scale</type>
|
||||
<object-name>procedural_light</object-name>
|
||||
<factor>0.005</factor>
|
||||
<offset>0.0</offset>
|
||||
<min>0.12</min>
|
||||
</animation>
|
||||
</PropertyList>
|
25
AI/Lights/procedural_light_nav_right.xml
Normal file
25
AI/Lights/procedural_light_nav_right.xml
Normal file
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- Create a Light Object by Associating a Geometry and a Custom Effect -->
|
||||
<PropertyList>
|
||||
<path>procedural_light.ac</path>
|
||||
<nopreview />
|
||||
<effect>
|
||||
<inherits-from>procedural-light-nav-right</inherits-from>
|
||||
<object-name>procedural_light</object-name>
|
||||
</effect>
|
||||
<animation>
|
||||
<!-- Scale the generic AC Object to allow view from larger distance -->
|
||||
<type>scale</type>
|
||||
<x-offset>10</x-offset>
|
||||
<y-offset>10</y-offset>
|
||||
<z-offset>10</z-offset>
|
||||
</animation>
|
||||
<!-- Re scale Light Object based on distance from viewer to compensate perspective -->
|
||||
<animation>
|
||||
<type>dist-scale</type>
|
||||
<object-name>procedural_light</object-name>
|
||||
<factor>0.005</factor>
|
||||
<offset>0.0</offset>
|
||||
<min>0.12</min>
|
||||
</animation>
|
||||
</PropertyList>
|
25
AI/Lights/procedural_light_nav_tail.xml
Normal file
25
AI/Lights/procedural_light_nav_tail.xml
Normal file
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- Create a Light Object by Associating a Geometry and a Custom Effect -->
|
||||
<PropertyList>
|
||||
<path>procedural_light.ac</path>
|
||||
<nopreview />
|
||||
<effect>
|
||||
<inherits-from>procedural-light-nav-tail</inherits-from>
|
||||
<object-name>procedural_light</object-name>
|
||||
</effect>
|
||||
<animation>
|
||||
<!-- Scale the generic AC Object to allow view from larger distance -->
|
||||
<type>scale</type>
|
||||
<x-offset>10</x-offset>
|
||||
<y-offset>10</y-offset>
|
||||
<z-offset>10</z-offset>
|
||||
</animation>
|
||||
<!-- Re scale Light Object based on distance from viewer to compensate perspective -->
|
||||
<animation>
|
||||
<type>dist-scale</type>
|
||||
<object-name>procedural_light</object-name>
|
||||
<factor>0.005</factor>
|
||||
<offset>0.0</offset>
|
||||
<min>0.12</min>
|
||||
</animation>
|
||||
</PropertyList>
|
25
AI/Lights/procedural_light_strobe_left.xml
Normal file
25
AI/Lights/procedural_light_strobe_left.xml
Normal file
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- Create a Light Object by Associating a Geometry and a Custom Effect -->
|
||||
<PropertyList>
|
||||
<path>procedural_light.ac</path>
|
||||
<nopreview />
|
||||
<effect>
|
||||
<inherits-from>procedural-light-strobe-left</inherits-from>
|
||||
<object-name>procedural_light</object-name>
|
||||
</effect>
|
||||
<animation>
|
||||
<!-- Scale the generic AC Object to allow view from larger distance -->
|
||||
<type>scale</type>
|
||||
<x-offset>10</x-offset>
|
||||
<y-offset>10</y-offset>
|
||||
<z-offset>10</z-offset>
|
||||
</animation>
|
||||
<!-- Re scale Light Object based on distance from viewer to compensate perspective -->
|
||||
<animation>
|
||||
<type>dist-scale</type>
|
||||
<object-name>procedural_light</object-name>
|
||||
<factor>0.007</factor>
|
||||
<offset>0.0</offset>
|
||||
<min>0.15</min>
|
||||
</animation>
|
||||
</PropertyList>
|
25
AI/Lights/procedural_light_strobe_right.xml
Normal file
25
AI/Lights/procedural_light_strobe_right.xml
Normal file
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- Create a Light Object by Associating a Geometry and a Custom Effect -->
|
||||
<PropertyList>
|
||||
<path>procedural_light.ac</path>
|
||||
<nopreview />
|
||||
<effect>
|
||||
<inherits-from>procedural-light-strobe-right</inherits-from>
|
||||
<object-name>procedural_light</object-name>
|
||||
</effect>
|
||||
<animation>
|
||||
<!-- Scale the generic AC Object to allow view from larger distance -->
|
||||
<type>scale</type>
|
||||
<x-offset>10</x-offset>
|
||||
<y-offset>10</y-offset>
|
||||
<z-offset>10</z-offset>
|
||||
</animation>
|
||||
<!-- Re scale Light Object based on distance from viewer to compensate perspective -->
|
||||
<animation>
|
||||
<type>dist-scale</type>
|
||||
<object-name>procedural_light</object-name>
|
||||
<factor>0.007</factor>
|
||||
<offset>0.0</offset>
|
||||
<min>0.15</min>
|
||||
</animation>
|
||||
</PropertyList>
|
25
AI/Lights/procedural_light_strobe_tail.xml
Normal file
25
AI/Lights/procedural_light_strobe_tail.xml
Normal file
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- Create a Light Object by Associating a Geometry and a Custom Effect -->
|
||||
<PropertyList>
|
||||
<path>procedural_light.ac</path>
|
||||
<nopreview />
|
||||
<effect>
|
||||
<inherits-from>procedural-light-strobe-tail</inherits-from>
|
||||
<object-name>procedural_light</object-name>
|
||||
</effect>
|
||||
<animation>
|
||||
<!-- Scale the generic AC Object to allow view from larger distance -->
|
||||
<type>scale</type>
|
||||
<x-offset>10</x-offset>
|
||||
<y-offset>10</y-offset>
|
||||
<z-offset>10</z-offset>
|
||||
</animation>
|
||||
<!-- Re scale Light Object based on distance from viewer to compensate perspective -->
|
||||
<animation>
|
||||
<type>dist-scale</type>
|
||||
<object-name>procedural_light</object-name>
|
||||
<factor>0.007</factor>
|
||||
<offset>0.0</offset>
|
||||
<min>0.15</min>
|
||||
</animation>
|
||||
</PropertyList>
|
Loading…
Add table
Reference in a new issue