Howto:Illuminate faces: Difference between revisions

m
→‎Basics: fixed more typos
m (→‎Basics: typo)
m (→‎Basics: fixed more typos)
Line 3: Line 3:
==Basics==
==Basics==
To make something of your building, airport, plane or what else illuminate we need an .xml file. In that .xml file we will place some stuff. Every animation (lighting is an animation) starts with the <animation> tag. Followed by the type of animation. For illumination we use the material-type.
To make something of your building, airport, plane or what else illuminate we need an .xml file. In that .xml file we will place some stuff. Every animation (lighting is an animation) starts with the <animation> tag. Followed by the type of animation. For illumination we use the material-type.
Now comes a very important part: the objects. Here we need to place the objects that should react on the animation. If we have a building with a antenne on top of it and we only want the antenne to illuminate we need to make that a separate object. So every part that you wants to be illuminated should be seperated. You could do that in Blender, SketchUp or any other software you're using. Last part is the emisson part. The emission will tell FlightGear in what color the object should be illuminated. Using the tree colours (red, green and blue) you could make any color you want. If we did everthing as described above with a red light we will get something like:
Now comes a very important part: the objects. Here we need to place the objects that should react on the animation. If we have a building with a antenne on top of it and we only want the antenna to illuminate we need to make that a separate object. So every part that you want to be illuminated should be separated. You could do that in Blender, SketchUp or any other software you're using. Last part is the emission part. The emission will tell FlightGear in what color the object should be illuminated. By combining the three primary colors (red, green and blue) you can create any color you want. If we did everything as described above with a red light we will get something like:
  <animation>
  <animation>
   <type>material</type>  
   <type>material</type>  
240

edits