Harald JOHNSEN wrote:
> Its quasi free, simple, support a million (fake) spot light ;) I think the shadows are cool, but I think that being able to have spotlights is just awesome. Perhaps we should start thinking about how this will be implemented from the modeler's perspective. I can see the following being pretty useful in the model.xml file: <PropertyList> <light n="0" archive="y"> <pos-x-m>0</pos-x-m> <pos-y-m>0</pos-y-m> <pos-z-m>0</pos-z-m> <azimuth>0</azimuth> <elevation>0</elevation> <power-cp>1000000</power-cp> <width-deg>30</width-deg> <falloff-deg>5</falloff-deg> </light> </PropertyList> By executing commands against power-cp, azimuth and elevation you would be able to turn the light on and off and steer it, and width could be used to simulate spotlights focusing in and out. <falloff-deg> would represent the width of the band around the cone of light where the light transitions from full power to none. Whenever someone can implement colored lights, <hue> and <saturation> could be added (power-cp already takes the place of value in the HSV scheme). I guess it would still be up to the modeler to provide Melchior style billboards so that the actual light would be visible. I'm not sure how one would deal with the directionality of the light though. One could also add lights for the nav lights. Imagine being able to look out the cockpit window and see your anti-collision lights reflecting off the ramp! A really cool bit of eye candy would be to make a visible cone of light that would change intensity based on how much moisture is in the air. That could even produce blinding reflection in a heavy fog, which IMO would be very cool to see. It would be great to see two beams stabbing out in front of a landing jetliner! Josh _______________________________________________ Flightgear-devel mailing list [email protected] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
