Howto:Animate models: Difference between revisions

Jump to navigation Jump to search
More information on flash animation
(More information on flash animation)
Line 206: Line 206:
* '''factor:'''
* '''factor:'''
* '''min:'''
* '''min:'''
8 '''max:'''
* '''max:'''




Line 261: Line 261:


=== Flash ===
=== Flash ===
Used to scale an object based on the cosine of the angle between the axis provided in the animation and the view vector.
<source>
<source>
  <animation>
  <animation>
Line 287: Line 290:
* '''factor:'''
* '''factor:'''
* '''power:'''
* '''power:'''
* '''two-sides:'''
* '''two-sides:''' if false, nothing is drawn if the cosine is negative.
* '''min:'''
* '''min:'''
* '''max:'''
* '''max:'''
scale = factor * pow( cosine, power ) + offset
scale is then clamped between min and max.
and this scale factor is applied to the object, from the center specified. It works best if scale is less than 1. Otherwise, there will be clipping issues.


=== Interactions ===
=== Interactions ===
Line 623: Line 632:
{{Appendix|all|
{{Appendix|all|
* {{cite web |url=http://www.opensubscriber.com/message/flightgear-devel@flightgear.org/958955.html |title="material" animation (and the bo105 as an example) |first=Melchior |last=Franz |date=22 March 2005 |work=FlightGear-devel mailinglist }}
* {{cite web |url=http://www.opensubscriber.com/message/flightgear-devel@flightgear.org/958955.html |title="material" animation (and the bo105 as an example) |first=Melchior |last=Franz |date=22 March 2005 |work=FlightGear-devel mailinglist }}
* {{cite web |url=http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg01546.html |title=flash animation |first=Frederic |last=Bouvier |date=22 Feb 2006 |work=FlightGear-devel mailinglist }}
}}
}}


[[Category:Aircraft enhancement|Animate models]]
[[Category:Aircraft enhancement|Animate models]]
166

edits

Navigation menu