Re: [Flightgear-devel] Nasal props API relative path support

2013-04-14 Thread Renk Thorsten
> If you just want a quick and dirty way to read one property, we have > getprop / setprop - for any other use, you should be doing what the API > already supported; getting a props.Node object for the leaf, and then > manipulating it with no further string/path handling. > Using getprop on

Re: [Flightgear-devel] Terrain self-shading

2013-04-14 Thread Renk Thorsten
@Erik: > They are read from the ambient, diffuse and specular files in > fgdata/Lighting. For the default lighting scheme these do get altered, > but I think you already override that scheme completely. Um... as they depend on the sun angle, these appear to be the light intensity curves. I indee

[Flightgear-devel] static friction patch

2013-04-14 Thread Diogo Kastrup
Hi, A long time ago I started working on a different implementation for YASim static friction. With help from Csaba and Mathias Fröhlich the patch worked but I never finished polishing it to submit a final version. I finally got back to it and, although it is working on my tests, I am not sure it

Re: [Flightgear-devel] Terrain self-shading

2013-04-14 Thread Stuart Buchanan
On Sun, Apr 14, 2013 at 9:40 AM, Renk Thorsten wrote: > Downstream, to preserve the illusion of shadows, I've had to alter the tree > shader to purely ambient lighting based on sun angle above the horizon. But > that seems to be a good idea in general - not only is this cheapter to > compute, bu

Re: [Flightgear-devel] Nasal props API relative path support

2013-04-14 Thread Thomas Geymayer
Am 2013-04-14 14:30, schrieb James Turner: >> Extend Nasal property methods to support relative paths. >> >> All methods exposed to the Nasal props module now accept an >> optional first parameter refering to another node by a relative >> path. > > I'm a bit torn on this change; making APIs mor

Re: [Flightgear-devel] Terrain self-shading

2013-04-14 Thread Frederic Bouvier
Hi Thorsten, I presume the balance between ambient and diffuse should vary with the weather. A clear sky gives harsh shadows and overcast sky with several layers of clouds gives barely any shadows (dull day in photographer speak). Your results (which are really pretty) are likely to be unrealis

[Flightgear-devel] Nasal props API relative path support

2013-04-14 Thread James Turner
> Extend Nasal property methods to support relative paths. > >All methods exposed to the Nasal props module now accept an >optional first parameter refering to another node by a relative >path. I'm a bit torn on this change; making APIs more flexible is usually a good thing. However

[Flightgear-devel] vb6

2013-04-14 Thread akram mohammed
how to use visual basic to display attitude of aircraft ,, full example -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The

Re: [Flightgear-devel] Terrain self-shading

2013-04-14 Thread Erik Hofman
On 04/14/2013 10:40 AM, Renk Thorsten wrote: > One problem is that I don't know the default ambient and diffuse reflection > coefficients of terrain, so I have to experiment. If anyone knows these, > please let me know, then I could compute rather than experiment. They are read from the ambient,

[Flightgear-devel] Terrain self-shading

2013-04-14 Thread Renk Thorsten
Following a forum discussion http://www.flightgear.org/forums/viewtopic.php?f=47&t=19693 I've done some experiments with terrain self-shading based on changing the balance between ambient and diffuse light. The results look fairly compelling and the illusion (even without a real shadow-map)