Howto:Illuminate faces: Difference between revisions

Jump to navigation Jump to search
m
Line 201: Line 201:
     <step> 1.57 </step>
     <step> 1.57 </step>
     <factor>0.318471338</factor>
     <factor>0.318471338</factor>
     <center>
     <nowiki><center></nowiki>
       <x-m> 0 </x-m>
       <x-m> 0 </x-m>
       <y-m> 0 </y-m>
       <y-m> 0 </y-m>
Line 212: Line 212:
     </axis>  
     </axis>  
   </animation>
   </animation>
The 3d object which "wears" the texture (the house) is called <tt>germanvillagehouse1</tt> here. This name refers to the name given to the respective object in the AC file. For more information on object names, see [[AC_files:_Understanding_and_changing_.ac_code#Identifying_an_object|AC files: Basic changes to textures and colors]].
The 3d object (the house) which "wears" the texture is called <tt>germanvillagehouse1</tt> here. This name refers to the name given to the respective object in the AC file. For more information on object names, see [[AC_files:_Understanding_and_changing_.ac_code#Identifying_an_object|AC files: Basic changes to textures and colors]].


In order to illuminate the object during dark, add the two blocks of code introduced above: [[Howto:_Illuminate_faces#Illuminate_during_dark|Illuminate during dark]]. Finally you will have three blocks of code: One that moves the texture at dusk and dawn, one that illuminates the object at dusk and one that switches the light off at dawn. Make sure all of them use the right object name.
In order to illuminate the object during dark, add the two blocks of code introduced above: [[Howto:_Illuminate_faces#Illuminate_during_dark|Illuminate during dark]]. Finally you will have three blocks of code: One that moves the texture at dusk and dawn, one that illuminates the object at dusk and one that switches the light off at dawn. Make sure all of them use the right object name.
248

edits

Navigation menu