Re: [Flightgear-devel] thermals gone ?

2005-11-16 Thread Dave Culp
On Tuesday 15 November 2005 10:26 pm, Patrice Poly wrote:

 I've just tried the 0.9.9-pre3
 ...
 but, what has happened to the thermal scenario ?


I don't have pre-3 downloaded yet, but it works in pre-2.  Do you have the 
file data/Data/AI/thermal_demo.xml  ?


Dave

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] thermals gone ?

2005-11-16 Thread Patrice Poly

 I don't have pre-3 downloaded yet, but it works in pre-2.  Do you have the
 file data/Data/AI/thermal_demo.xml  ?

well, there simply wasn't isn't any Data/AI/  directory...

I got it from CVS, now sgs233 starts.

When over the KSFO tower, the netto vario indication increases, and I can see 
in the internal proprieties that /environment/wind-from-down[0]  increases.

We are in the thermal, it works.

But the glider doesn't seem to be affected, vario remains stable, and altitude 
doesn't increase. I tried with higher values of thermal strengh - same.

did you notice that too, or have I missed something ?

A question: is it possible to send the wind-from-down property from another 
program ?
I am crap as a coder, but it would be nice to have a thermals program running 
in background, sending values according to long/lat, and why not dynamically 
generating thermals according to wheather conditions :) ( I apologize if this 
was formerly discussed, i didn't find the tread in the lists )

Thanks again !
-- 
Patrice Poly

Attention! Il y a des gens derrière les ordinateurs!

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] thermals gone ?

2005-11-16 Thread Buchanan, Stuart

--- Patrice Poly [EMAIL PROTECTED] wrote:
 A question: is it possible to send the wind-from-down property from
 another 
 program ?

Absolutely, though it would take a little bit of programming knowledge.
FlightGear provides various methods of reading and writing to the property
tree, from a telnet interface to XML. The file, README.IO is probably a
good place to start. You'd need to write a program to read the lat/long
properties from whatever interface you chose, then write them back. 

-Stuart



___ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] thermals gone ?

2005-11-16 Thread Dave Culp
On Wednesday 16 November 2005 10:22 am, Patrice Poly wrote:

 well, there simply wasn't isn't any Data/AI/  directory...

Oops, maybe the data/Data directory has been renamed?  There was talk about 
this earlier.  I'll check out pre3 and have a look.


 I got it from CVS, now sgs233 starts.

 When over the KSFO tower, the netto vario indication increases, and I can
 see in the internal proprieties that /environment/wind-from-down[0] 
 increases.

 We are in the thermal, it works.

 But the glider doesn't seem to be affected, vario remains stable, and
 altitude doesn't increase. I tried with higher values of thermal strengh -
 same.


There was a bug (my fault) that caused the thermal strength to max out at 1 
fps, regardless of what the configuration entry said.  I fixed it this 
morning and sent the fix in to Erik, who commited it.  So, try a cvs update 
and rebuild and this should be fixed for you.  The Netto should read about 8 
knots when you're in the middle of the thermal.

As far as automatic generation of thermals, that's been discussed from time to 
time.  The thermal model currently supports only cylindrical thermals, so 
ridge lift is not possible (yet), and if it is in the future it probably 
won't be modeled with an AI object.  In any case, automated thermal 
generation would require testing the tile underneath the airplane to see if 
that tile should have a rising or falling air mass, then some system will 
have to blend the edges together to prevent discontinuities at the tile 
boundaries.  I doubt I'll ever be able to get to this.

The current method can be used to create a good soaring experience though.  I 
had considered expanding the thermal_demo scenario to include many thermals, 
and some sinks, around the SFO area so that you could soar all the way around 
around SFO bay.  That wouldn't be hard - just need a map and a couple hours 
time :)

One note:  If you put multiple thermals in a scenario give them the same 
diameter.  If you don't the AIManager may give you lift from the wrong 
thermal (it judges by the *center* of the thermal, not the edge).


Dave







Dave 

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] thermals gone ?

2005-11-16 Thread Dave Culp
On Wednesday 16 November 2005 11:37 am, Dave Culp wrote:
 On Wednesday 16 November 2005 10:22 am, Patrice Poly wrote:
  well, there simply wasn't isn't any Data/AI/  directory...

 Oops, maybe the data/Data directory has been renamed?  There was talk
 about this earlier.  I'll check out pre3 and have a look.


Yes, the data/Data directory is missing in pre3.




Dave

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] thermals gone ?

2005-11-16 Thread Patrice Poly
fixed !

Many thanks, now i'll try to build a thermals map around KSFO.

I am also working on a ask13 model with aeromatics, mhh this is pretty hard 
but i'll let you know if this gives something.

Regards

-- 
Patrice Poly

Attention! Il y a des gens derrière les ordinateurs!

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] thermals gone ?

2005-11-15 Thread Patrice Poly
Hi !

I've just tried the 0.9.9-pre3
Very nice 3d clouds indeed ! ( fliing around with the ufo is great :)

but, what has happened to the thermal scenario ?

i tried to fly the sgs233, but this leads to :
'terminate called after throwing an instance of 'sg_io_exception''

any ideas ?

thanks
-- 
Patrice Poly

Attention! Il y a des gens derrière les ordinateurs!

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d