[Flightgear-devel] Re: instrument xml question

2005-03-04 Thread Melchior FRANZ
* Curtis L. Olson -- Friday 04 March 2005 05:33: When configuring a 2d instrument, there is a concept of property aliases. The README.xmlpanel example uses absolute property paths, but the real world instruments I've seen use relative paths with a lot of ../../../../../params/etc. You

RE: [Flightgear-devel] AI thermals

2005-03-04 Thread Vivian Meazza
Dave Culp I've received a complaint that thermals in 0.98 are not working. I don't have 0.98 on my system but I tried them in the CVS version and see that they are not working. I'm guessing some changes were made in the AI subsystem that killed the thermals. Does anyone out there

[Flightgear-devel] Re: instrument xml question

2005-03-04 Thread Melchior FRANZ
* Melchior FRANZ -- Friday 04 March 2005 09:40: * Curtis L. Olson -- Friday 04 March 2005 05:33: params A123/A B trace-read=true456/B That should be just an y instead of true: B trace-read=y456/B and this is how you get a report

Re: [Flightgear-devel] Making FlightGear more deterministic

2005-03-04 Thread Erik Hofman
Drew wrote: Hey All, I'm running flightgear on Windows, and have noticed that it seems to use up all of the available processing time, and because of this, it seems to get jumpy when other applications are being used while FlightGear is running. I noticed that I can try to bump up the priority of

Re: [Flightgear-devel] Camera/FOV/View Frustum question.

2005-03-04 Thread Erik Hofman
Jorge Van Hemelryck wrote: Curt, Have you been successful in implementing your asymmetric frustum hack ? It might be a good idea to add it to the official FlightGear code. It is one of the features that might fill in the gap between amateur flight simulation and a professional product. It might

Re: [Flightgear-devel] Making FlightGear more deterministic

2005-03-04 Thread Frederic Bouvier
Quoting Erik Hofman : Drew wrote: Hey All, I'm running flightgear on Windows, and have noticed that it seems to use up all of the available processing time, and because of this, it seems to get jumpy when other applications are being used while FlightGear is running. I noticed that

Re: [Flightgear-devel] Camera/FOV/View Frustum question.

2005-03-04 Thread Curtis L. Olson
Jorge Van Hemelryck wrote: Have you been successful in implementing your asymmetric frustum hack ? It might be a good idea to add it to the official FlightGear code. It is one of the features that might fill in the gap between amateur flight simulation and a professional product. It might even be

Re: [Flightgear-devel] Re: instrument xml question

2005-03-04 Thread Curtis L. Olson
Melchior FRANZ wrote: * Curtis L. Olson -- Friday 04 March 2005 05:33: When configuring a 2d instrument, there is a concept of property aliases. The README.xmlpanel example uses absolute property paths, but the real world instruments I've seen use relative paths with a lot of

[Flightgear-devel] Re: instrument xml question

2005-03-04 Thread Melchior FRANZ
* Curtis L. Olson -- Friday 04 March 2005 15:15: At that point I was 8 or 9 levels deep and it's pretty difficult to count back though complex xml to figure out how many levels you actually need. With proper indentation you just count the tabs in the alias line. Seven tabs in front ==

Re: [Flightgear-devel] Re: instrument xml question

2005-03-04 Thread Curtis L. Olson
Melchior FRANZ wrote: * Curtis L. Olson -- Friday 04 March 2005 15:15: At that point I was 8 or 9 levels deep and it's pretty difficult to count back though complex xml to figure out how many levels you actually need. With proper indentation you just count the tabs in the alias line.

Re: [Flightgear-devel] Making FlightGear more deterministic

2005-03-04 Thread Curtis L. Olson
Frederic Bouvier wrote: There is the property /sim/frame-rate-throttle-hz that could be used to limit the framerate but the source should be modified to call a system sleep method ( with a fine resolution, for example pthread_cond_timedwait ) instead of looping wildly. I know this is hard to do

Re: [Flightgear-devel] Re: instrument xml question

2005-03-04 Thread James Turner
On 4 Mar 2005, at 15:08, Curtis L. Olson wrote: It's maybe analogous to writting assembly language without any sort of jump labels ... anytime you insert a statement, you have to go back and recompute all your jump addresses (or in this case any time you add anything you need to go back and

Re: [Flightgear-devel] Making FlightGear more deterministic

2005-03-04 Thread Curtis L. Olson
Erik Hofman wrote: Drew wrote: Hey All, I'm running flightgear on Windows, and have noticed that it seems to use up all of the available processing time, and because of this, it seems to get jumpy when other applications are being used while FlightGear is running. I noticed that I can try to bump

Re: [Flightgear-devel] Making FlightGear more deterministic

2005-03-04 Thread Andy Ross
Curtis L. Olson wrote: Frederic Bouvier wrote: There is the property /sim/frame-rate-throttle-hz that could be used to limit the framerate but the source should be modified to call a system sleep method ( with a fine resolution, for example pthread_cond_timedwait ) instead of looping

Re: [Flightgear-devel] Making FlightGear more deterministic

2005-03-04 Thread Frederic Bouvier
Quoting Andy Ross: * Hopefully in a CPU-friendly way. I know that older versions of the NVidia drivers did this by spinning in a polling loop inside the driver. I'm not sure if this has been fixed or not. From my experience, the latest non-beta Windows NVidia driver seems to eat CPU

[Flightgear-devel] Re: instrument xml question

2005-03-04 Thread Melchior FRANZ
* Curtis L. Olson -- Friday 04 March 2005 16:08: Melchior FRANZ wrote: With proper indentation you just count the tabs in the alias line. Seven tabs in front == seven times ../ :-) It's maybe analogous to writting assembly language without any sort of jump labels ... anytime you insert a

Re: [Flightgear-devel] Re: instrument xml question

2005-03-04 Thread Curtis L. Olson
Melchior FRANZ wrote: * Curtis L. Olson -- Friday 04 March 2005 16:08: Melchior FRANZ wrote: With proper indentation you just count the tabs in the alias line. Seven tabs in front == seven times ../ :-) It's maybe analogous to writting assembly language without any sort of jump

[Flightgear-devel] Re: instrument xml question

2005-03-04 Thread Melchior FRANZ
* Melchior FRANZ -- Friday 04 March 2005 17:18: $ perl -p -i -e 's,^(\t*)(.*alias=)(\.\./)+,$1$2 . (../ x length($1)),e' foo.xml Sorry, this should of course be: $ perl -p -i -e 's,^(\t*)(.*alias=)(\.\./)*,$1$2 . (../ x length($1)),e' foo.xml

[Flightgear-devel] Re: instrument xml question

2005-03-04 Thread Melchior FRANZ
* Curtis L. Olson -- Friday 04 March 2005 17:23: Melchior FRANZ wrote: $ perl -p -i -e 's,^(\t*)(.*alias=)(\.\./)+,$1$2 . (../ x length($1)),e' foo.xml I think most FG xml is indented with spaces ... generally one space per level, but sometimes more, sometimes less. True. I thought

Re: [Flightgear-devel] Re: Anyone using TomTom POI files for scenery

2005-03-04 Thread Roberto Inzerillo
John wrote: Regarding POI files - providing we can sort out the licensing implications I'm happy to write an import script to add them to the database in bulk. Ok John, I will try contacting some of the authors of those POI files and ask them permission to use them in this way. I will let

Re: [Flightgear-devel] Camera/FOV/View Frustum question.

2005-03-04 Thread John Wojnaroski
Jorge Van Hemelryck wrote: Have you been successful in implementing your asymmetric frustum hack ? It might be a good idea to add it to the official FlightGear code. It is one of the features that might fill in the gap between amateur flight simulation and a professional product. It might

Re: [Flightgear-devel] Camera/FOV/View Frustum question.

2005-03-04 Thread Curtis L. Olson
John Wojnaroski wrote: Yes, I think I was successful in adding support for asymmetric view frustums. It's a bit of a hack to get there, but the way I have set it up I think is slightly more intuitive than just passing l, r, t, b, n, f parameters to the glFrustum() function. For my specific need I

Re: [Flightgear-devel] Making FlightGear more deterministic

2005-03-04 Thread Drew
There is the property /sim/frame-rate-throttle-hz that could be used to limit the framerate but the source should be modified to call a system sleep method ( with a fine resolution, for example pthread_cond_timedwait ) instead of looping wildly. -Fred Just tried this, and I can make it

Re: [Flightgear-devel] Making FlightGear more deterministic

2005-03-04 Thread Andy Ross
Frederic Bouvier wrote: Quoting Andy Ross: * Hopefully in a CPU-friendly way. I know that older versions of the NVidia drivers did this by spinning in a polling loop inside the driver. I'm not sure if this has been fixed or not. From my experience, the latest non-beta Windows NVidia

Re: [Flightgear-devel] Camera/FOV/View Frustum question.

2005-03-04 Thread John Wojnaroski
I should say though that most people will just want to point their displays perpendicular to the viewer and use a more standard/straightforward symetric view frustums. I had to do asymmetric view frustums for a particular project with specialized needs. We ended up with a combination of

Re: [Flightgear-devel] Camera/FOV/View Frustum question.

2005-03-04 Thread Curtis L. Olson
John Wojnaroski wrote: Sounds kind of like the problem I'm facing with the left seat/right seat view perspective in the 747 simulator. Short of a fully collimated projection(s) and optics to handle a curved, wrap-around screen any solution will be a compromise. Yes, any time you want to make the

RE: [Flightgear-devel] Camera/FOV/View Frustum question.

2005-03-04 Thread Miles Gazic
If you want to project an image from a single projector onto a curved wrap-around screen, could you just use a normal projector, and add a fish-eye lens of some sort? Something like a glass cylinder cut in half vertically, with the flat part facing the projector, and the curved part towards the

RE: [Flightgear-devel] Making FlightGear more deterministic

2005-03-04 Thread Norman Vine
Frederic Bouvier writes: Quoting Andy Ross: * Hopefully in a CPU-friendly way. I know that older versions of the NVidia drivers did this by spinning in a polling loop inside the driver. I'm not sure if this has been fixed or not. From my experience, the latest non-beta Windows

Re: [Flightgear-devel] Camera/FOV/View Frustum question.

2005-03-04 Thread Manuel Massing
Hi, If you want to project an image from a single projector onto a curved wrap-around screen, could you just use a normal projector, and add a fish-eye lens of some sort? Something like a glass cylinder cut in half vertically, with the flat part facing the projector, and the curved part