Re: [Flightgear-devel] Run time error - Program Crash

2003-03-31 Thread Erik Hofman
Gopal Mor wrote: Hi All, After the latest update of FlightGear and SimGear from CVS, a runtime error occurs on my system. Probable Cause: I tried to debug it and found that FGReshape() function tries to use current_panel (of FGGlobals) pointer even before it is assigned to valid panel object.

Re: [Flightgear-devel] major frame rate drop?

2003-03-31 Thread WillyB
On Sunday 30 March 2003 15:10, David Megginson wrote: David Luff writes: OK, that's it!!! - ATC did *not* break TuxRacer ;-) Are you sure? All the best, David LOL! Well .. it may not have! It could have possibly been something that I installed to enable TerraGear to be installed.

Re: [Flightgear-devel] major frame rate drop?

2003-03-31 Thread Gerhard Wesp
One of the jobs of the ATC manager is to spread the ATC load by only updating a maximum of one ATC station each frame, and it is assumed that the manager itself will run at full simulation fidelity. Updating only once every 2 seconds would mean a noticable lag between selecting a frequency

Re: [Flightgear-devel] FGControls upgrade

2003-03-31 Thread Erik Hofman
David Culp wrote: Here are the files needed to upgrade the base package, FlightGear, and JSBSim, to use the newly-organized FGControls module: Can I safely conclude nobody has any objections to include this? Erik ___ Flightgear-devel mailing list

[Flightgear-devel] Re: Valgrind now supports MMX insns

2003-03-31 Thread Melchior FRANZ
Hi Julian, Hi. I'm an author of valgrind, a memory debugger which I believe at least one person has used on FlightGear. We were three, AFAIK (Cameron, Andy and I). While I was quite active at first, I had to stop when my tdfx-card got busted. Now I've got a new machine with one of those nasty

Re: [Flightgear-devel] major frame rate drop?

2003-03-31 Thread David Luff
On 3/30/03 at 2:33 PM Curtis L. Olson wrote: My concern is that if the atc manager update is taking me from 60hz down to 20hz means it could be consuming on the order of 30 milleseconds per call. Simply calling it once every 2 seconds will impose a 30ms hitch in the frame rate every 2 seconds

Re: [Flightgear-devel] major frame rate drop?

2003-03-31 Thread David Luff
On 3/31/03 at 10:51 AM [EMAIL PROTECTED] wrote: Could the ATC manager be implemented as a low-priority thread which is woken up every so often (few seconds) to update the list of distances to the ground stations, and additionally if a frequency is changed? The realtime loop would then always have

Re: [Flightgear-devel] major frame rate drop?

2003-03-31 Thread Arnt Karlsen
On Mon, 31 Mar 2003 01:32:57 -0700, WillyB [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]: On Sunday 30 March 2003 15:10, David Megginson wrote: David Luff writes: OK, that's it!!! - ATC did *not* break TuxRacer ;-) Are you sure? LOL! Well .. it may not have! ..fwiw, I

Re: [Flightgear-devel] major frame rate drop?

2003-03-31 Thread Erik Hofman
Erik Hofman wrote: With the capital letter? It would be winderfull if you would use the FGSubsystem class and rename the to init() and update() Never mind. I see you are using that already. Good work. Erik ___ Flightgear-devel mailing list [EMAIL

[Flightgear-devel] Soft edges of areas

2003-03-31 Thread Roman Grigoriev
Hi guys!Found this articlehttp://www.delphi3d.net/articles/printarticle.php?article=terraintex.htmthat greatly improve our tiles. So maybe someone give me some hints on fgfsscenery1) first task is implement soft edges in areas. Now we have sharp areas butinn some game like Flanker 2.0 town

[Flightgear-devel] Routing mistake on German mirror

2003-03-31 Thread Martin Spott
Due to a 'small' mistake in our university backbone routing, the German FTP and HTTP mirror is currently unavailable. It will return within a few hours, Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are !

Re: [Flightgear-devel] major frame rate drop - someone please confirm my sanity!

2003-03-31 Thread David Luff
OK, the line of code causing the frame rate hit was the following: if((fabs(xyp.y() - xyc.y()) ((runway.length/2.0) + 5.0)) (fabs(xyp.x() - xyc.x()) (runway.width/2.0))) { return(true); } return false; To simplify things, I broke it down into a few more lines: double

[Flightgear-devel] Snapshots - B737 and OV-10

2003-03-31 Thread David Culp
Here's a snapshot of a North American OV-10A in the colors of the California Department of Forestry and Fire Protection (CDF). The 3D model is by Capt. Slug. The JSBSim flight model uses turbines and thrusters, rather than propellers. http://home.attbi.com/~davidculp2/fg-OV-10A.jpg Here's a

Re: [Flightgear-devel] Snapshots - B737 and OV-10

2003-03-31 Thread Curtis L. Olson
David Culp writes: Here's a snapshot of a North American OV-10A in the colors of the California Department of Forestry and Fire Protection (CDF). The 3D model is by Capt. Slug. The JSBSim flight model uses turbines and thrusters, rather than propellers.

Re: [Flightgear-devel] major frame rate drop?

2003-03-31 Thread WillyB
On Monday 31 March 2003 05:29, Jim Wilson wrote: WillyB [EMAIL PROTECTED] said: On Sunday 30 March 2003 15:10, David Megginson wrote: David Luff writes: OK, that's it!!! - ATC did *not* break TuxRacer ;-) Are you sure? All the best, David LOL! Well .. it

Re: [Flightgear-devel] major frame rate drop - someone please confirm my sanity!

2003-03-31 Thread David Luff
On 3/31/03 at 2:38 PM David Luff wrote: Replacing the offending line: return((ldiff rlen) (wdiff rwidth)); with the somewhat more verbose if(ldiff rlen) { return(wdiff rwidth); } else { return(false); } cures it completely! Am I doing something really daft, or is this a

Re: [Flightgear-devel] Snapshots - B737 and OV-10

2003-03-31 Thread Erik Hofman
Curtis L. Olson wrote: Is anyone working to get these put into cvs? Not me. I was heads down for the aircraft selection menu. Erik ___ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Re: [Flightgear-devel] major frame rate drop - someone please confirm my sanity!

2003-03-31 Thread Curtis L. Olson
David Luff writes: I'm doing something daft - forget this post - the above both drop the frame rate. The reason the return(false) fix fixes it is because then the function doesn't get called any more! Where's that brown paper bag when you need it?? A long time ago, when faced with things

Re: [Flightgear-devel] major frame rate drop - someone please confirm my sanity!

2003-03-31 Thread David Luff
On 3/31/03 at 4:52 PM David Luff wrote: I'm doing something daft - forget this post - the above both drop the frame rate. The reason the return(false) fix fixes it is because then the function doesn't get called any more! And here's the root cause - I was reading in the almost-one-megabyte

Re: [Flightgear-devel] Valgrind now supports MMX insns

2003-03-31 Thread Andy Ross
Julian Seward wrote: Hi. I'm an author of valgrind, a memory debugger which I believe at least one person has used on FlightGear. Whoa. There's a celebrity on the list. :) We've just extended valgrind to handle MMX instructions, and it works on some simple-ish test cases. FlightGear

Re: [Flightgear-devel] major frame rate drop?

2003-03-31 Thread Martin Spott
David Luff [EMAIL PROTECTED] wrote: On 3/30/03 at 2:33 PM Curtis L. Olson wrote: I understand that ATC is a work in progress, but something needs to be done before I go into a complete panic. :-) OK, I've committed an emergency fix - perhaps you could test again when Minnesota wakes up and

[Flightgear-devel] OT: 2D instruments helper plug-in anouncment

2003-03-31 Thread Martin Dressler
I made a plug-in, which could help with preparing of instrument xml file. I was realy bored that I need to compute where are boundaries of texture if I used small textures inserted in one rgb file. Because I am using gimp for preparation of texture file and I have textures stored as layers

Re: [Flightgear-devel] major frame rate drop?

2003-03-31 Thread WillyB
On Monday 31 March 2003 09:31, Andy Ross wrote: David Luff wrote: William McRaven wrote: I downloaded the CVS last week .. tues or wed .. and installed it. The frame rate went to.. very bad. basically made flightgear unflyable.. It also made regular flightgear unflyable .. the

[Flightgear-devel] Re: Valgrind now supports MMX insns

2003-03-31 Thread Melchior FRANZ
* Andy Ross -- Monday 31 March 2003 18:22: LD_PRELOADing mesa works pretty well for testing some stuff, [...] Ahh, hadn't even thought about this possibility. Works well, but even then fgfs aborts with the SSE-not-supported-yet message. So it's not nVidia-related. m.

Re: [Flightgear-devel] Valgrind now supports MMX insns

2003-03-31 Thread Andy Ross
Julian Seward wrote: Andy Ross wrote: So I take it that now that segmentation and MMX support is in valgrind that the NVidia drivers will work? That would be magnificent. Alas, no. They use SSE/SSE2. I have a test machine here with an NVidia card, and I tried it over the weekend, with

[Flightgear-devel] OT: Gimp and small textures

2003-03-31 Thread Martin Dressler
Hi, I made some investigations in last days and find why my textures look so bad when scaled down to 128x128 textures compared to textures generated by perl scripts (writen by Andy?) The problem isn't in scaling, because these scripts scale down too, but the diference is in how gimp render

[Flightgear-devel] Aircraft selector

2003-03-31 Thread David Culp
Here's a poor-man's aircraft selector. It's a bash script that calls fgfs with a string of command line parameters. I have three scripts I'm using now, called 737, t38 and ov10. To fly the t38 I type t38 at the shell prompt: #!/bin/bash cmdline= --fg-root=/usr/local/FlightGear

Re: [Flightgear-devel] OT: Gimp and small textures

2003-03-31 Thread Andy Ross
Martin Dressler wrote: I made some investigations in last days and find why my textures look so bad when scaled down to 128x128 textures compared to textures generated by perl scripts (writen by Andy?) Uh, once upon a time, yeah. They're terrible hacks; not exactly my best work. :) The

Re: [Flightgear-devel] FGControls upgrade

2003-03-31 Thread Erik Hofman
David Culp wrote: Here are the files needed to upgrade the base package, FlightGear, and JSBSim, to use the newly-organized FGControls module: David, Could you sent me the missing JSBSim file: ../../../../src/FDM/JSBSim/JSBSim.cxx, line 398: error(1132): class JSBSim::FGEngine has no

[Flightgear-devel] How to force subsystem reinit from checkbox property toggle?

2003-03-31 Thread David Luff
I've knocked up an ATC/AI enable/disable dialog using checkboxes, but if one of the subsystems starts disabled and is then enabled there is the possibility of update being called without a previous call to init. I can avoid this by setting an init-done-ok boolean flag in init and checking for

[Flightgear-devel] patch for ls_step.c (link error)

2003-03-31 Thread Darrell Walisser
The symbol current_model is also defined in ls_model.c, which results in a linker error. Here is the fix: Index: ls_step.c === RCS file: /var/cvs/FlightGear-0.9/FlightGear/src/FDM/LaRCsim/ls_step.c,v retrieving revision 1.1.1.1 diff

Re: [Flightgear-devel] How to force subsystem reinit from checkbox property toggle?

2003-03-31 Thread Curtis L. Olson
David Luff writes: I've knocked up an ATC/AI enable/disable dialog using checkboxes, but if one of the subsystems starts disabled and is then enabled there is the possibility of update being called without a previous call to init. I can avoid this by setting an init-done-ok boolean flag in

Re: [Flightgear-devel] Valgrind now supports MMX insns

2003-03-31 Thread Julian Seward
So I take it that now that segmentation and MMX support is in valgrind that the NVidia drivers will work? That would be magnificent. Alas, no. They use SSE/SSE2. I have a test machine here with an NVidia card, and I tried it over the weekend, with negative results. Well, we have to do SSE

[Flightgear-devel] Meigs Field Closed by Mayor Daley

2003-03-31 Thread Ryan Larson
Mayor Daley ordered Meigs Field (KCGX) closed early this morning and they have already torn up parts of the runway. Here is the current info on it.. http://www.aopa.org/whatsnew/newsitems/2003/03-1-157x.html If you can help in any way to fight this please let me know. Thanks Ryan

re: [Flightgear-devel] Meigs Field Closed by Mayor Daley

2003-03-31 Thread David Megginson
Ryan Larson writes: Mayor Daley ordered Meigs Field (KCGX) closed early this morning and they have already torn up parts of the runway. Here is the current info on it.. http://www.aopa.org/whatsnew/newsitems/2003/03-1-157x.html If you can help in any way to fight this please

Re: [Flightgear-devel] Meigs Field Closed by Mayor Daley

2003-03-31 Thread Christian Mayer
Ryan Larson wrote: Mayor Daley ordered Meigs Field (KCGX) closed early this morning and they have already torn up parts of the runway. Here is the current info on it.. http://www.aopa.org/whatsnew/newsitems/2003/03-1-157x.html If you can help in any way to fight this please let me

[Flightgear-devel] Aeronautica 3D

2003-03-31 Thread Jon Berndt
http://www.aeronautica3d.com/ Aeronautica 3D.url Description: Binary data smime.p7s Description: S/MIME cryptographic signature

Re: [Flightgear-devel] major frame rate drop?

2003-03-31 Thread Jim Wilson
WillyB [EMAIL PROTECTED] said: On Sunday 30 March 2003 15:10, David Megginson wrote: David Luff writes: OK, that's it!!! - ATC did *not* break TuxRacer ;-) Are you sure? All the best, David LOL! Well .. it may not have! It could have possibly been something that I

RE: [Flightgear-devel] FGControls upgrade

2003-03-31 Thread Jon Berndt
I don't have a problem with it. But I think the changes need to go in en masse, so before committing the JSBSim.?xx changes to JSBSim CVS, we need to make sure the rest of the changes are approved to go into FlightGear CVS. Jon -Original Message- From: [EMAIL PROTECTED]

Re: [Flightgear-devel] major frame rate drop?

2003-03-31 Thread Erik Hofman
David Luff wrote: On 3/31/03 at 10:51 AM [EMAIL PROTECTED] wrote: Could the ATC manager be implemented as a low-priority thread which is woken up every so often (few seconds) to update the list of distances to the ground stations, and additionally if a frequency is changed? The realtime loop

Re: [Flightgear-devel] FGControls upgrade

2003-03-31 Thread Erik Hofman
Jon Berndt wrote: I don't have a problem with it. But I think the changes need to go in en masse, so before committing the JSBSim.?xx changes to JSBSim CVS, we need to make sure the rest of the changes are approved to go into FlightGear CVS. Agreed. Erik