> The main problem is that it's actually the code that generates the > values and setting. If you are adjusting the corresponding properties > from NASAL (they are in the property tree already) they will be > overwritten the next frame. I think it would be way easier to implement > this in the C++ code from the beginning, hacking away to allow NASAL to > adjust them probably would be more work.
You misunderstood - I don't want to set the properties directly (far too complicated to recompute all that in Nasal), I would like to pass an argument to the existing code that modifies the way the light is created by desaturating and darkening it. * Thorsten ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel