Melchior FRANZ wrote: > On Thu, Jan 19, 2006 at 10:02:39AM +0100, Melchior FRANZ wrote: > >>Solution: you have to change it back explicitly -- in a >>separate animation. > > > Solution II: you can also watch the sun angle in a Nasal loop > and set a property accordingly. Then you can leave the > material condition away and use that property with > <emission><blue-prop>foo-light/on</blue-prop>... > > m. > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Flightgear-devel mailing list > Flightgear-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/flightgear-devel >
Ok, I am trying this route now. I wanted to put the values for the lit material into the xml file, but it seems that that doesn't work. The block below did not leave any of the properties in the property tree, though the ones that were referenced by the material animation had been created and held nil values. Is it the intended behavior that one cannot define arbitrary properties from within a scenery object's xml file? For now I am defining all the values in the nasal file. Josh <sim> <model> <MormonTempleDC> <threshold archive="y">1.55</threshold> <material> <stone> <lit> <emissive> <red>0.25</red> <green>0.25</green> <blue>0.25</blue> </emissive> </lit> </stone> <bronze> <lit> <emissive> <!--red>0.39</red> <green>0.28</green> <blue>0.07</blue--> <red archive="y">0</red> <green archive="y">0</green> <blue archive="y">1</blue> </emissive> </lit> </bronze> <gold> <lit> <emissive> <red>0.53</red> <green>0.43</green> <blue>0.0</blue> </emissive> </lit> </gold> </material> </MormonTempleDC> </model> </sim> <!--animation> <type>material</type> <global type="bool">true</global> <object-name>Spires</object-name> <property-base>/sim/model/MormonTempleDC/material/bronze</property-base> <emission> <red-prop>red</red-prop> <green-prop>green</green-prop> <blue-prop>blue</blue-prop> </emission> </animation--> <nasal> <MasonicTempleDC> <file>MasonicTempleDC.nas</file> </MasonicTempleDC> </nasal> ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel