ehofman 7795eb8239 Jim Wilson:
This patch adds support to the model animation system for modifying emissive
states on the fly so that it is possible to make "lights" appear to dimm.

This is an example of a configuration entry which should explain how it is used:


 <animation>
  <type>material-emission</type>
  <object-name>Face</object-name>
  <property>/controls/lighting/instruments-norm</property>
  <emiss-red>1.0</emiss-red>
  <emiss-green>0.8</emiss-green>
  <emiss-blue>0.5</emiss-blue>
 </animation>

Note the color entries are the emissive colors when the "property" value is
1.0.  They are useful for tinting the light.   The "property" itself must be
float or double and is clamped to values between 0 ~ 1.0 inclusively.   The
"property" value is multiplied against the colors to get the actual material
properties.  Thus property value 0.0 = darkest, and 1.0 = brightest.
2005-01-29 10:31:25 +00:00
2005-01-29 10:31:25 +00:00
2004-04-04 14:24:06 +00:00
2002-09-03 02:52:39 +00:00
2000-02-09 19:27:02 +00:00
2005-01-18 14:34:13 +00:00
2004-12-15 16:34:14 +00:00
2003-06-11 18:55:36 +00:00
2004-10-12 14:35:42 +00:00
2005-01-18 14:34:13 +00:00
2001-12-17 16:52:20 +00:00
2002-09-02 22:18:31 +00:00
2002-05-10 13:31:44 +00:00
2000-03-29 00:00:46 +00:00
2002-09-07 02:58:19 +00:00

[ Nothing here at this time. ]
Description
No description provided
Readme 14 MiB
Languages
C++ 85.5%
C 13.1%
CMake 1.4%