On Wednesday 23 July 2003 18:59, Curtis L. Olson wrote: > Hi, > > I just committed an update to simgear to add support for a scale > animation type (in addition to rotate and translate.) > > If someone can tell me where the model animation is documented I will > update the docs as well. > > One use for scaling that comes to mind is to do something analogous to > Lee's shadow trick to impliment a crude landing light. Instead of > drawing a black translucent shape which darkens the ground we could > draw a white translucent shape that lightens[1] the ground. However, > since we are simulating the intersection of the spotlight cone with > the ground, we need to expand the size of the shape as altitude > increases. This doesn't take everything into effect, but we could > probably fake pitch and roll effects enough to be believable in the > normal flight range. > > Thanks, > > Curt. > -- > Curtis Olson IVLab / HumanFIRST Program FlightGear Project > Twin Cities curt 'at' me.umn.edu curt 'at' flightgear.org > Minnesota http://www.menet.umn.edu/~curt http://www.flightgear.org > > [1] an opengl guru would probably go balistic if they heard such a > simple description of the effect, but we are talking a quick and dirty > hack here, not some really fancy opengl-2.0 shading effect.
I don't think I've actually seen any animation docs anywhere. They'd be pretty handy infact - it was only recently that I discovered the 'translate' function. Doh! LeeE _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
