Re: [Flightgear-devel] SimGear build fails

2013-06-26 Thread Alex Romosan
Torsten Dreyer tors...@t3r.de writes:

 I'm failing to build SimGear on 64bit linux:
 EffectGeode.cxx:83:136: error: no matching function for call to 
 ‘osg::Geometry::setVertexAttribArray(int, osg::Geometry::ArrayData)’

 OSG is stable 3.0.1 from svn (same with OSG trunk)
 SimGear is git next from today

 Yes, I rm-rf'ed previous artefacts and started from scratch.

these are the changes i made to get simgear to compile with
openscenegraph from svn:

diff --git a/simgear/scene/material/EffectGeode.cxx 
b/simgear/scene/material/EffectGeode.cxx
index 26eab38..d634ac8 100644
--- a/simgear/scene/material/EffectGeode.cxx
+++ b/simgear/scene/material/EffectGeode.cxx
@@ -80,15 +80,15 @@ void EffectGeode::runGenerators(osg::Geometry *geometry)
 int n = _effect-getGenerator(Effect::TANGENT);
 tsg-generate(geometry, 0);  // 0 is normal_unit, but I have no idea 
what that is!
 if (n != -1  !geometry-getVertexAttribArray(n))
-geometry-setVertexAttribData(n, 
osg::Geometry::ArrayData(tsg-getTangentArray(), 
osg::Geometry::BIND_PER_VERTEX,GL_FALSE));
+geometry-setVertexAttribArray(n, tsg-getTangentArray());
 
 n = _effect-getGenerator(Effect::BINORMAL);
 if (n != -1  !geometry-getVertexAttribArray(n))
-geometry-setVertexAttribData(n, 
osg::Geometry::ArrayData(tsg-getBinormalArray(), 
osg::Geometry::BIND_PER_VERTEX,GL_FALSE));
+geometry-setVertexAttribArray(n, tsg-getBinormalArray());
 
 n = _effect-getGenerator(Effect::NORMAL);
 if (n != -1  !geometry-getVertexAttribArray(n))
-geometry-setVertexAttribData(n, 
osg::Geometry::ArrayData(tsg-getNormalArray(), 
osg::Geometry::BIND_PER_VERTEX,GL_FALSE));
+geometry-setVertexAttribArray(n, tsg-getNormalArray());
 }
 }

 
--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] JSBSim Synch with FlightGear

2013-06-11 Thread Alex Romosan
Anders Gidenstam anders-...@gidenstam.org writes:


 2.
 The JSBSim class FGPropertyManager was previously derived from 
 SGPropertyNode, but isn't now. This affects the creation of the
 main JSBSim object (FGFDMExec) since it requires a FGPropertyManager 
 instance to access the property tree.

 I have currently changed the FG JSBSim driver, JSBSim.cxx, like this:
 -fdmex = new FGFDMExec( (FGPropertyManager*)globals-get_props() );
 +// FIXME: The FGPropertyManager object must be freed somewhere!
 + fdmex = new FGFDMExec( new FGPropertyManager(
 (FGPropertyNode*)globals-get_props() ) );

 but this will leak a FGPropertyManager object on each reset.
 Hopefully there is no problem to just keep track of the FGPropertyManager 
 object and delete it at reset. I have not tried that yet.


wouldn't it better to have something like this:

FGPropertyManager pm = 
FGPropertyManager((FGPropertyNode*)globals-get_props() );
fdmex = new FGFDMExec(pm);

that way we don't leak an FGPropertyManager object on each reset. seems
to work for me.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] new An-2

2011-08-12 Thread Alex Romosan
Tim Moore timoor...@gmail.com writes:

 I have created the ac-an2 repository, which includes only the An-2
 (duh), and deleted the an2 from fgdata.

so where is the new repository? is there a way of integrating it with
the rest of the data so that when i do a 'git pull' in fgdata it
automatically does a 'git pull' in the ac-an2 repository as well?
thanks.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. 
http://p.sf.net/sfu/wandisco-dev2dev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] new An-2

2011-08-12 Thread Alex Romosan
Tim Moore timoor...@gmail.com writes:

 You can look at git submodules, which would give you a way to do  that.

i did, but it's not very clear to me what exactly i am supposed to do. i
did a 'git clone git://.../ac-an2' in the fgdata/Aircraft directory,
then i tried 'git submodule add Aircraft/ac-an2' in the fgdata directory
but that gave me a copy of the ac-an2 in the fgdata directory. maybe
somebody could post step-by-step instructions on how to do this. thanks.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

--
FREE DOWNLOAD - uberSVN with Social Coding for Subversion.
Subversion made easy with a complete admin console. Easy 
to use, easy to manage, easy to install, easy to extend. 
Get a Free download of the new open ALM Subversion platform now.
http://p.sf.net/sfu/wandisco-dev2dev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Fwd: Issue 184 in flightgear-bugs: JSBSim: command line arguments broken

2011-05-28 Thread Alex Romosan
Roland Häder r.hae...@gmx.de writes:

 with that latest changes I get this compiler error:
 http://pastebin.com/HuTaZ85Z

this patch fixed for me:

--- a/src/MultiPlayer/multiplaymgr.hxx
+++ b/src/MultiPlayer/multiplaymgr.hxx
@@ -34,6 +34,7 @@
 
 #include string
 #include vector
+#include memory
 
 #include simgear/compiler.h
 #include simgear/props/props.hxx

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] ..simgear(?) link error, undefined references to SGPagedLOD

2011-04-10 Thread Alex Romosan
Arnt Karlsen a...@c2i.net writes:

  and OSG-svn does not build on neither g++-4.6 nor g++-4.5, which
 compiler version is used on the Hudson server?

what are you talking about? osg svn head builds just fine for me on
debian unstable with g++ 4.5.2 and everything just works.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] aircraft search

2010-07-23 Thread Alex Romosan
James Turner zakal...@mac.com writes:

 Alex and Lance, I'm still confused as to the failures you are seeing.
 Assuming you're still seeing same issues after updating (and anyone
 else who is seeing something similar), I will make up a debug patch to
 see what's going on.

still doesn't work for me (same behaviour). i'll try to find some time
and figure out what's going on.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] aircraft search

2010-07-23 Thread Alex Romosan
James Turner zakal...@mac.com writes:

 My basic plan is to send you a patch that adds many log calls, and get
 you to send me the console output with that applied. If you can get me
 an ssh login to a box with debug-enabled fgfs, I can do it in GDB, of
 course.

post the patch, i'll give it a try.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] aircraft search

2010-07-23 Thread Alex Romosan
Alex Romosan romo...@sycorax.lbl.gov writes:

 James Turner ja...@bugless.co.uk writes:

 Can you email me what you get for --show-aircraft? (off list, is best)

 fgfs --show-aircraft

 Available aircraft:


 (that is nothing). this on linux.

on non ext* file systems readdir doesn't return the file type in d_type
so this explains why i kept getting an empty list for show-aircraft (my
flightgear directory is on reiserfs). i've already sent the patch to
james, but maybe somebody else also wants to give it a try (works for
me).

diff --git a/simgear/misc/sg_dir.cxx b/simgear/misc/sg_dir.cxx
index 9c5aa78..64232c3 100644
--- a/simgear/misc/sg_dir.cxx
+++ b/simgear/misc/sg_dir.cxx
@@ -119,25 +119,11 @@ PathList Dir::children(int types, const std::string nameFilter) const
   continue;
 }
 
-int type = entry-d_type;
-if (type == DT_LNK) {
-  // find symlink target type using stat()
-  struct stat s;
-  if (stat(file(entry-d_name).c_str(), s)) {
-continue; // stat() failed
-  }
-  
-  if (S_ISDIR(s.st_mode)) {
-type = DT_DIR;
-  } else if (S_ISREG(s.st_mode)) {
-type = DT_REG;
-  } else {
-// symlink to block/fifo/char file, ignore
-continue;
-  }
-} // of symlink look-through
-
-if (type == DT_DIR) {
+struct stat st;
+if(stat(file(entry-d_name).c_str(), st))
+  continue; // stat() failed
+
+if (S_ISDIR(st.st_mode)) {
   if (!(types  TYPE_DIR)) {
 continue;
   }
@@ -147,7 +133,7 @@ PathList Dir::children(int types, const std::string nameFilter) const
   continue;
 }
   }
-} else if (type == DT_REG) {
+} else if (S_ISREG(st.st_mode)) {
   if (!(types  TYPE_FILE)) {
 continue;
   }

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] aircraft search

2010-07-21 Thread Alex Romosan
James Turner ja...@bugless.co.uk writes:

 Can you email me what you get for --show-aircraft? (off list, is best)

fgfs --show-aircraft

Available aircraft:


(that is nothing). this on linux.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] aircraft search

2010-07-20 Thread Alex Romosan
James Turner ja...@bugless.co.uk writes:

 dante:~$ fgfs --help
 Cannot find specified aircraft: b1900d
 Config option parsing failed ...
 
 All options command line options fail in the same way. (That's a
 little worrying actually.)

 Unfortunately that's due to how the --aircraft option is parsed -
 *before* most of the config files are loaded.

 You're on Unix, I infer from the paths you posted earlier ... hmm. Can
 you email me your .fgfsrc?

i noticed something even stranger. for me, if the aircraft file matches
the directory name then i can load it using --aircraft=aircraft syntax
(tried it with f16, f-14b, b1900d and some others). if it doesn't (p61
and x35) then i get:

Cannot find specified aircraft: p61
Config option parsing failed ...

i tried it with and without a .fgfsrc file with the same results. this
is with the latest from git.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] failed assertion

2010-06-26 Thread Alex Romosan
if i try to set the time of day (--timeofday) to anything i get

fgfs: sunsolver.cxx:60: void fgSunPositionGST(double, double*, double*): 
Assertion `sun' failed.
Abort

without the timeofday flightgear starts normally. this is with the
latest git.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] sound system oddity

2009-11-17 Thread Alex Romosan
this is with the f-16. while inside the cockpit then engine sound
changes depending on the heading of the aircraft. going west the sound
is very loud going east it's almost completely gone. as the plane turns
the sound gradually changes going either up or down depending on the
direction of the turn. hope this helps.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] multiple instances of given ai aircraft

2009-11-17 Thread Alex Romosan
Durk Talsma d.tal...@xs4all.nl writes:

 Just out of curiosity, is there a specific problem that you try to
 address? I.e. a problem with multiple aircraft of the same call sign
 in the property tree,

and i forgot to mention, all the duplicate aircraft have the same call
sign in the property tree and fly together as one as you can see in the
pictures i mentioned in the previous post.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] multiple instances of given ai aircraft

2009-11-17 Thread Alex Romosan
Gijs de Rooy gijsr...@hotmail.com writes:

 What I see on your pictures and know from my own encounters with such
 aircraft is that they do not fly, as in flying an airplane. They
 just hover above the ground.

if that's the case (and it seems to be because i looked and the airplane
velocities and they were all 0) then it would make sense to draw the
airplane only 30 mins before the scheduled departure date since it will
eliminate all these conflicts (as i tried to do in my patch).
unfortunately i still haven't seen any of those planes take off.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] sound system oddity

2009-11-17 Thread Alex Romosan
Alex Romosan romo...@sycorax.lbl.gov writes:

 this is with the f-16. while inside the cockpit then engine sound
 changes depending on the heading of the aircraft. going west the sound
 is very loud going east it's almost completely gone. as the plane turns
 the sound gradually changes going either up or down depending on the
 direction of the turn. hope this helps.

that was at JFK. if i fly at EHAM the directions seem to be north-south,
with south at no sound and north at maximum. strange.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Custom scenery data startup location problem.

2009-11-16 Thread Alex Romosan
Anders Gidenstam anders-...@gidenstam.org writes:

 I wonder if anyone alse has noticd that the startup location on
 runways with a displaced threshold differs depending on whether the
 custom scenery ICAO.threshold.xml file or apt.dat is used?

i've solved this problem by applying the following patch to flightgear:

diff -u -r1.43 runways.cxx
--- ./Airports/runways.cxx  16 Sep 2009 00:17:12 -  1.43
+++ ./Airports/runways.cxx  16 Nov 2009 21:33:10 -
@@ -153,7 +153,7 @@
   
   // compute the new runway center, based on the threshold lat/lon, length,
   // and any displaced threshold.
-  double offsetFt = (0.5 * _length) - _displ_thresh;
+  double offsetFt = (0.5 * _length) + _displ_thresh;
   SGGeod newCenter;
   double dummy;
   SGGeodesy::direct(newThreshold, _heading, offsetFt * SG_FEET_TO_METER, 
newCenter, dummy);

and now the plane is positioned at the beginning of the runway proper.
if --prop:/sim/paths/use-custom-scenery-data is set to false than the
aircraft is positioned at the beginning of the threshold. i think this
is the right fix but somebody more knowledgable should take a look and
maybe commit it to cvs. thanks.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] multiple instances of given ai aircraft

2009-11-16 Thread Alex Romosan
while flying out of jfk today i noticed once again multiple instances of
a given ai aircraft. looking at the properties tree i noticed that there
were multiple aircraft with the same call sign. after a bit of detective
work i noticed that the number of aircrafts corresponds to the number of
entries for that given aircraft in AI/Traffic. For example Delta0080 is
listed 7 times departing from jfk, once for each day of the week, and
that's how many aircraft were drawn on the screen.

after trying to understand the scheduler code i think i finally came up
with a patch:

--- src/Traffic/Schedule.cxx3 Sep 2009 20:18:34 -   1.40
+++ src/Traffic/Schedule.cxx17 Nov 2009 02:15:32 -
@@ -372,7 +372,7 @@
  SG_LOG (SG_GENERAL, SG_DEBUG, Traffic manager:   registration  
 is scheduled for a flight from  
  dep-getId()   to   arr-getId()  . Current distance 
to user:  
   distanceToUser);
- if (distanceToUser  TRAFFICTOAIDISTTOSTART)
+ if (distanceToUser  TRAFFICTOAIDISTTOSTART  
((*i)-getDepartureTime()-now1800))
{
  string flightPlanName = dep-getId() + string(-) + arr-getId() 
+ 
string(.xml);

which basically creates the AI model only if the departure time is 30
mins or less from now. i don't know if this is the correct solution, but
i believe the reason we see multiple instances of a given AI aircraft is
because we draw a new plane for each entry in the schedule. hope this
helps.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] multiple ai aircraft

2009-09-08 Thread Alex Romosan
i was just flying around kpdx when i ran into one of the ai aircraft.
what made it strange is that instead of being just one plane there were
about five or so aircrfat stacked on top of each other. you can see a
picture at:

  http://caliban.lbl.gov/fgfs-weird.jpg

not really sure where this is coming from. this happened with the
latest cvs for both flightgear and simgear (and the data).

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] typo in Aircraft/f16/Models/adi.xml

2009-06-08 Thread Alex Romosan
diff -u -r1.4 adi.xml
--- Aircraft/f16/Models/adi.xml 7 Jun 2009 08:25:53 -   1.4
+++ Aircraft/f16/Models/adi.xml 8 Jun 2009 18:30:04 -
@@ -403,7 +403,7 @@
   /emission
  /animation
  animation
-  object-nameglide-slop-index/object-name
+  object-nameglide-slope-index/object-name
   typematerial/type
   emission 
factor-propcontrols/lighting/instruments-norm/factor-prop

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] shift key ignored

2009-06-06 Thread Alex Romosan
Melchior FRANZ writes:

 * dave perry -- Friday 29 May 2009:
 None of the keyboard inputs involving shift work any more.

 That's now fixed in OSG/SVN.

but the [ and ] keys still don't seem to work so there is no flaps
control anymore. reverting src/osgViewer/GraphicsWindowX11.cpp to
version 10268 gets flaps working again. can anybody else confirm this?

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] shift key ignored

2009-05-29 Thread Alex Romosan
dave perry writes:

 I updated osg, SimGear, fgfs, and data from svn/cvs yesterday at 
 approximately 1400 zulu.  None of the keyboard inputs involving shift 
 work any more.  With the prior update about 7 days prior, shift was 
 working.  I looked at when keyboard.xml was last changed in cvs, and 
 that was 2 months ago, so some other recent change has broken this.

i bet you are using osg from svn. release 10269 changed the way key
strokes are handled in src/osgViewer/GraphicsWindowX11.cpp. i am not
sure what needs to be done to get flightgear to work with the new way
but i backed out of those changes in the above file and things work
fine.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA,  Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] working ridge lift !!

2009-04-23 Thread Alex Romosan
syd adams  writes:

 I tried this but no luck here  Im still getting this message
 about every second:

 Warning: invalid line segment passed to IntersectVisitor::addLineSegment(..)
  nan nan 3.87514e+06 nan nan 3.85687e+06 segment ignored.

i think this depends on the version of osg you are using. this
particular warning comes from src/osgUtil/IntersectVisitor.cpp. can
you try using a different version of osg? i use the latest from cvs and
don't have any problems.

--alex--


-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

--
Crystal Reports #45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] 777-200ER

2009-04-21 Thread Alex Romosan
syd adams writes:

 Since that doesn't happen here , I suspect you have leftovers,but more
 details would be helpful.

i am not the original poster, but this is what i get when loading the
777-200ER:

Error reading panel: 
Failed to open file
 at 
/usr/local/share/FlightGear/Aircraft/777-200/Models/Instruments/EICAS/AIR.xml
 (reported by SimGear XML Parser)
Failed to load submodel: Failed to load panel 
Aircraft/777-200/Models/Instruments/EICAS/eicas-text-panel.xml
Failed to load submodel: Failed to load panel 
Aircraft/777-200/Models/Instruments/EICAS/eicas-text-panel.xml
Failed to load model: Failed to load panel 
Aircraft/777-200/Models/Instruments/EICAS/eicas-text-panel.xml
FGMultiplayMgr - No receiver port, Multiplayermode disabled
Segmentation fault

you probably forgot to add
Aircraft/777-200/Models/Instruments/EICAS/AIR.xml to CVS and commit it
in. it happens...

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] problems with z-buffer

2008-12-28 Thread Alex Romosan
the latest commit to src/Main/CameraGroup.cxx changed the value of
zNear from .1 to .4 and this causes strange artifacts to show up when
panning around (like holes in the cockpit, etc.). the following patch
changes it back:

--- src/Main/CameraGroup.cxx27 Dec 2008 14:35:33 -  1.9
+++ src/Main/CameraGroup.cxx29 Dec 2008 06:58:41 -
@@ -446,7 +446,7 @@
 cgroup-buildGUICamera(pNode);
 }
 }
-bindMemberToNode(gnode, znear, cgroup, CameraGroup::_zNear, .4f);
+bindMemberToNode(gnode, znear, cgroup, CameraGroup::_zNear, .1f);
 bindMemberToNode(gnode, zfar, cgroup, CameraGroup::_zFar, 12.0f);
 bindMemberToNode(gnode, near-field, cgroup, CameraGroup::_nearField,
  100.0f);

any reason for the change?

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

--
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] texture updates...

2008-10-13 Thread Alex Romosan
Syd writes:

No further responses , so I'm about to commit the png texture updates ,
 and a patch for simgear/source/scene/sky to read png instead of rgb
 and rgba textures.
 The earlier problem I had turn out to be trashed png files 
 transparency was removed ...

the sun shows up as a square with a square halo around it

  http://caliban.lbl.gov/fgfs-sun-square.jpg

this is with the latest cvs on linux with an nvidia card.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] texture updates...

2008-10-13 Thread Alex Romosan
Syd writes:

 Yes things will look strange until someone applies the patch I sent 

no problem, it actually makes things more interesting...

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] CVS: data/Scenery/Terrain/w130n30/w123n37

2008-10-11 Thread Alex Romosan
Martin Spott writes:

 Update of /var/cvs/FlightGear-0.9/data/Scenery/Terrain/w130n30/w123n37
 In directory baron.flightgear.org:/tmp/cvs-serv26589/Terrain/w130n30/w123n37

 Scenery 1.0.1 Base Package 'preview'

what happened to the roads? all the highways around san francisco are
gone. hope you'll put them back before the next build.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] f16 speedbrakes

2008-09-07 Thread Alex Romosan
Jon S. Berndt writes:

 This would be good to see in a plot. Can you do that?

i guess jsbsim can do it but i never tried it. any pointers?

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] f16 speedbrakes

2008-09-06 Thread Alex Romosan
Jon S. Berndt writes:

 I don't know if this matters, but remember that not too long ago we
 added the ability to enter aero coefficients in several coordinate
 systems - including BODY and WIND, etc.

so if i were to represent the wind tunnel data in x,y,z axis then the
drag due to horizontal tail deflection (the data on pages 45-49 of the
nasa technical paper 1538) would then look like this:

axis name=X
  function name=aero/coefficient/CDDh
descriptionDrag_due_to_horizontal_tail_deflection/description
product
  propertyaero/qbar-psf/property
  propertymetrics/Sw-sqft/property
  table name=CDdHT
independentVar lookup=rowaero/beta-deg/independentVar
independentVar lookup=columnaero/alpha-deg/independentVar
independentVar lookup=tablefcs/elevator-pos-deg/independentVar
tableData breakPoint=-25
  -30 -25 -20 -15 -10 -8 -6 -4 -2 0 2 4 6 8 10 15 20 25 30 
  -20 -0.1837 -0.1853 -0.1904 -0.1899 -0.1949 -0.1914 -0.1872 -0.186 
-0.186 -0.1868 -0.1899 -0.1902 -0.19 -0.1896 -0.1883 -0.1833 -0.1838 -0.1787 
-0.1771
  -15 -0.1714 -0.1765 -0.1792 -0.1827 -0.1816 -0.1834 -0.1852 -0.1853 
-0.1877 -0.1875 -0.1898 -0.1876 -0.1868 -0.1848 -0.1841 -0.1852 -0.1817 -0.179 
-0.1739
  -10 -0.1531 -0.1627 -0.1692 -0.1718 -0.1695 -0.1693 -0.1707 -0.1735 
-0.1772 -0.1787 -0.1769 -0.1729 -0.1711 -0.1706 -0.1698 -0.1721 -0.1695 -0.163 
-0.1534
  -5 -0.1151 -0.1232 -0.1276 -0.1317 -0.139 -0.1415 -0.142 -0.1425 
-0.1437 -0.1432 -0.1425 -0.1422 -0.141 -0.1397 -0.1372 -0.1299 -0.1258 -0.1214 
-0.1133
  0 -0.0907 -0.0985 -0.1043 -0.1093 -0.112 -0.1115 -0.1122 -0.1124 
-0.113 -0.1132 -0.1129 -0.1119 -0.111 -0.1102 -0.1092 -0.1065 -0.1015 -0.0957 
-0.0879
  5 -0.0514 -0.0567 -0.0603 -0.064 -0.0653 -0.0661 -0.0668 -0.0675 
-0.069 -0.0693 -0.0686 -0.068 -0.0664 -0.065 -0.0649 -0.0631 -0.0594 -0.0558 
-0.0505
  10 -0.0079 -0.0108 -0.0099 -0.0101 -0.0074 -0.007 -0.0078 -0.009 
-0.0116 -0.012 -0.0123 -0.0106 -0.0088 -0.0083 -0.008 -0.0107 -0.0105 -0.0114 
-0.0085
  15 0.0354 0.0358 0.0388 0.0402 0.0477 0.0503 0.0535 0.0553 0.0538 
0.0537 0.0533 0.0536 0.0527 0.0509 0.0485 0.041 0.0396 0.0366 0.0362
  20 0.074 0.0756 0.0746 0.0745 0.0867 0.0888 0.0924 0.0941 0.0948 
0.0951 0.0975 0.0939 0.0913 0.0867 0.0824 0.0702 0.0703 0.0713 0.0697
  25 0.1092 0.1124 0.1102 0.1067 0.1101 0.1121 0.1126 0.1129 0.1123 
0. 0.1122 0.1125 0.1136 0.1115 0.1075 0.1041 0.1076 0.1098 0.1066
  30 0.0915 0.101 0.0975 0.1079 0.1188 0.1333 0.1399 0.1422 0.1443 
0.1435 0.1431 0.1407 0.1379 0.1359 0.1323 0.1214 0.111 0.1145 0.105
  35 0.1079 0.1137 0.1198 0.1278 0.1402 0.1425 0.1478 0.157 0.1623 
0.1663 0.1667 0.1664 0.1637 0.156 0.146 0.1336 0.1256 0.1195 0.1137
  40 0.1306 0.1437 0.135 0.1441 0.1574 0.1585 0.1601 0.1682 0.1726 
0.1739 0.1711 0.1699 0.1655 0.1611 0.1567 0.1434 0.1343 0.143 0.1299
  45 0.1535 0.1603 0.1605 0.1604 0.1637 0.1671 0.1664 0.1639 0.1674 
0.1659 0.1649 0.165 0.1625 0.1597 0.1573 0.154 0.1541 0.1539 0.1471
  50 0.1471 0.1584 0.1646 0.1671 0.1712 0.1712 0.1676 0.1644 0.1656 
0.1693 0.1714 0.1728 0.1749 0.1725 0.173 0.1537 0.1457 0.1435 0.1362
  55 0.1554 0.1615 0.1568 0.1661 0.1778 0.1769 0.1765 0.1749 0.1762 
0.1804 0.1743 0.1666 0.1677 0.1724 0.1761 0.1722 0.1347 0.1448 0.1442
  60 0.1501 0.1599 0.1647 0.1525 0.1664 0.1662 0.1704 0.171 0.1719 
0.1718 0.1728 0.173 0.1734 0.1721 0.1688 0.1471 0.1462 0.1486 0.146
  70 0.1501 0.1536 0.1569 0.142 0.1573 0.1595 0.1788 0.1715 0.1738 
0.1695 0.171 0.1712 0.173 0.172 0.1686 0.1474 0.1567 0.1557 0.1545
  80 0.1685 0.1615 0.1559 0.152 0.1521 0.1521 0.1535 0.1585 0.1566 
0.1598 0.1573 0.1563 0.1586 0.1558 0.1572 0.141 0.141 0.1467 0.1538
  90 0.1712 0.1651 0.1608 0.1648 0.1676 0.166 0.1686 0.1667 0.1669 
0.166 0.1672 0.1662 0.1664 0.1711 0.1677 0.1531 0.1493 0.1549 0.1624
/tableData
tableData breakPoint=-10
  -30 -25 -20 -15 -10 -8 -6 -4 -2 0 2 4 6 8 10 15 20 25 30 
  -20 -0.1362 -0.1351 -0.1419 -0.1386 -0.1374 -0.133 -0.1268 -0.1249 
-0.1222 -0.1223 -0.1246 -0.1247 -0.1252 -0.1257 -0.1282 -0.1294 -0.1327 -0.1259 
-0.127
  -15 -0.1216 -0.1245 -0.1235 -0.1208 -0.1176 -0.1176 -0.117 -0.1177 
-0.1184 -0.1188 -0.1185 -0.1187 -0.1182 -0.1178 -0.1184 -0.1216 -0.1243 -0.1253 
-0.1224
  -10 -0.1018 -0.1066 -0.1068 -0.1071 -0.1061 -0.1068 -0.1072 -0.1083 
-0.1094 -0.1147 -0.1095 -0.1084 -0.1077 -0.1063 -0.1069 -0.1079 -0.1076 -0.1074 
-0.1026
  -5 -0.0655 -0.0706 -0.0746 -0.0771 -0.0836 -0.0864 -0.0876 -0.0887 
-0.0889 -0.0893 -0.0885 -0.0875 -0.0859 -0.0842 -0.0812 -0.0747 -0.0722 -0.0682 
-0.0631
  0 -0.0483 -0.0509 -0.0532 -0.0544 -0.0578 -0.0589 -0.0597 -0.0606 
-0.0613 -0.0617 -0.0611 -0.0603 -0.0595 -0.0577 -0.0561 -0.0527 -0.0515 -0.0492 
-0.0466
  5 -0.0118 -0.0106 -0.0096 -0.0102 -0.0142 -0.0148 -0.0155 -0.0161 

Re: [Flightgear-devel] f16 speedbrakes

2008-09-04 Thread Alex Romosan
Erik Hofman writes:

 Alex Romosan wrote:
 can you give me a pointer as to where i could get this data? thanks.
   
 Search for NASA Technical Paper 1538

i've been looking at it but i can't figure out the relationship
between the number in the report and the numbers in the flightgear
model. if somebody could explain the magic involved i would really
appreciate it. thanks.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] f16 speedbrakes

2008-08-30 Thread Alex Romosan
Erik Hofman writes:

 Alex Romosan wrote:
 can you give me a pointer as to where i could get this data? thanks.
   
 Search for NASA Technical Paper 1538

thanks.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] f16 speedbrakes

2008-08-29 Thread Alex Romosan
Erik Hofman writes:

 Believe me, this is correct behavior, and this is why:

i found a nice article about flying in an f16:

  http://www.avweb.com/news/skywrite/181916-1.html

this is the part about the speed brakes:

  Here's where the speed brakes come in handy, I'll open em up. And
  you'll see what happens.

  I felt what happens! It seemed my face was being pulled from my
  skull. I couldn't believe how effective those speed brakes were. An
  F-16's speed brakes are located at the back of the fuselage either
  side of the engine nacelle, and really look diminutive. However,
  introducing even that much surface area to hang out in the 600-mph
  breeze has a pronounced effect on one's forward motion. We slowed to
  about 400 then he retracted the brakes and let the airspeed start
  increasing again.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] f16 speedbrakes

2008-08-29 Thread Alex Romosan
Erik Hofman writes:

 Alex Romosan wrote:

   I felt what happens! It seemed my face was being pulled from my
   skull. I couldn't believe how effective those speed brakes were. An
   F-16's speed brakes are located at the back of the fuselage either
   side of the engine nacelle, and really look diminutive. However,
   introducing even that much surface area to hang out in the 600-mph
   breeze has a pronounced effect on one's forward motion. We slowed to
   about 400 then he retracted the brakes and let the airspeed start
   increasing again.

 This says nothing about generating lift or not..

no, but it would seem to indicate that the speed brakes are quite
effective at slowing down the aircraft which is not at all the case
with the current model in flightgear.

and nothing to do with the speed brakes, but this is a really cool
video of an f16 dead stick landing:

  http://www.patricksaviation.com/videos/SUPERGT/3384

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] f16 speedbrakes

2008-08-29 Thread Alex Romosan
Erik Hofman writes:

 Sorry, I got the data from windtunnel test data performed by NASA.

can you give me a pointer as to where i could get this data? thanks.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] f16 speedbrakes

2008-08-14 Thread Alex Romosan
Erik Hofman writes:

 Ok, I think I have most of it figured out. I might even consider 
 upgrading the status to 'production' the way it is now.

hmm, i don't know how the real f-16 behaves but i still find the
current behaviour a bit strange. level flight, ~350 knots extend the
brakes the aircraft pitches up slightly and really starts to climb (no
effect on the speed at all). push the nose down (quite a lot) to bring
it back to level flight speed actually increases. not very useful if
you are actually trying to slow down.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] f16 speedbrakes

2008-08-14 Thread Alex Romosan
Erik Hofman writes:

 Ok, tested it again. The only way I could reproduce your scenario is not 
 to have the throttle near idle.
 As I did state earlier, the speeedbrakes of the F-16 are quite small and 
 as it turns out the engine can easily produce enough thrust to overcome 
 the increased drag.

yes, the throttle was nowhere near idle. thanks for the great work.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] f16 speedbrakes

2008-08-12 Thread Alex Romosan
Erik Hofman writes:

 You were right, I had to map speedbrake-pos-norm to 
 speedbrake-pos-rad/deg by using an aerosurface scale section.

i think there is still something wrong with the speedbrakes but i am
not sure how to quantify this. basically i think they provide way too
much lift (which makes me suspect there is a sign problem somewhere).
the effect is more pronounced at slower speeds (250 - 300 knots or
so). extend the speedbrakes and see the f16 suddenly start climbing.
handy if you are too low on approach but not realistic at all (i would
expect the speedbrakes to cause the plane to lose altitude faster not
provide lift).

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] f16 speedbrakes

2008-08-01 Thread Alex Romosan
Erik Hofman writes:

 Looking at the code it looks like setting speed-break-pos-norm should be 
 the same as setting speed-break-pos-rad so the patch shouldn't have any 
 effect.

look at aero/coefficient/CDDsb or fcs/mag-speedbrake-pos-rad in the
property browser. when you deploy the speed brakes the values are
still zero (they never change).

and i looked at the code speed-break-pos-norm never sets
speed-break-pos-rad (it couldn't really, what would be the
correlation).

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] f16 speedbrakes

2008-07-31 Thread Alex Romosan
i noticed that on the f16 the speedbrakes have no effect at all and i
managed to track it down to the fact that the various coefficients use
fcs/mag-speedbrake-pos-rad on input which never gets set anywhere (so
it is always 0).

digging through the cvs logs i found that in version 1.17 of f16.xml
the output of fcs/speedbrake-cmd-norm used to be fcs/speedbrake-pos-rad
and it was set to 1.05 (which would translate roughly to 60 degrees).
so i tried applying this patch:

--- f16.xml 18 Jul 2008 14:41:41 -  1.50
+++ f16.xml 31 Jul 2008 20:22:09 -
@@ -572,6 +572,12 @@
 outputfcs/speedbrake-pos-norm/output
 /kinematic
 
+   pure_gain name=Speedbrake Deflection
+   inputfcs/speedbrake-pos-norm/input
+   gain60./gain
+   outputfcs/speedbrake-pos-deg/output
+   /pure_gain
+
 /channel
 
 channel name=Landing Gear

now the various coefficients change when i activate the speedbrake but
there is still no noticeable effect on the plane.

does anybody have any ideas how to fix the speedbrakes?

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Scenery 1.0.0 coastline is not processed

2008-03-19 Thread Alex Romosan
Ralf Gerlich [EMAIL PROTECTED] writes:

 Scenery V1.0.0 has been built using VMAP0 landmass and shoreline data.

scenery v0.9.8 was also built with the vmap0 landmass and shoreline
data.

looking at:
http://mapserver.flightgear.org/openlayers_sfobay.html?zoom=13lat=37.86284lon=-122.28796layers=B0TFFTFTT
(this is the bay area). i am not really sure how to interpret the
colours but if you look at the berkeley coastline in v1.0.0 you'll see
that the berkeley marina is missing, big chunks of alameda are also
missing, and so on. on the above map it looks like the actual coast is
outlined in a red line, then there is some white (same as the water)
and then there are the red and green chunks (which is the scenery in
v1.0.0). the berkeley marina is present in 0.9.8 (but it disappeared
in subsequent scenery releases). something is wrong (and it's been
wrong for a long time). it will be interesting to compare the current
algorithm with the one used to generate the coastline in 0.9.8 to try
to understand why all these things have disappeared.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Error building FG

2007-04-05 Thread Alex Romosan
Roy Vegard Ovesen writes:

 I tried the patch from the users list first, but while it got past 
 model_panel.cxx I gor similar errors on Main/renderer.cxx. 

there are two patches i posted. you need to apply both.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] ATISs upgrade

2007-03-03 Thread Alex Romosan
John Denker writes:

 On 03/03/2007 12:32 PM, Melchior FRANZ wrote:

   hxx:
 +virtual void Init();
   cxx:
 +void FGATC::Init() {
 +// This should never be called, since each derived class will have its 
 own
 +// Init() that overrides this one.
 +}
 
 So, why are you adding it?!

 Perhaps because the code wouldn't be correct without it?!

then make in a pure virtual function in the header file.

 virtual void Init()=0;

this way every derived class will have to implement it but there is no
definition in the base class.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] SenecaII OAT indicator patch: please revert

2006-11-28 Thread Alex Romosan
Melchior FRANZ writes:

 * Torsten Dreyer -- Tuesday 28 November 2006 13:38:
 [...] due to a patch applied a few days ago.
^^^ ^^
 May I kindly ask to revert this patch 

 *Which* patch?

the patch was committed on saturday by erik hofman:

  3. SenecaII\Models\SenecaII.xml changed to relocate the OAT
 thermometer down to lower part of windshield just right of the
 center post. Now the instrument panel does not have to be moved
 to monitor the outside temperature. Icing was experienced between
 Calgary and Edmonton at -10 degrees centrigrade. Airspeed was
 dropping together with loss of altitude. This icing occurred
 without any pilot setup. De-icers restored the proper flight
 dynamics.

this is to Aircraft/SenecaII/Models/SenecaII.xml. the relevant part
would be (i think):

*** 100,107 
  nameoat/name
  offsets
! x-m-1.43604/x-m
! y-m-0.0860261/y-m
! z-m1.94829/z-m
! pitch-deg50/pitch-deg
  /offsets
  /model
--- 79,86 
  nameoat/name
  offsets
! x-m-1.7/x-m
! y-m0.0860261/y-m
! z-m1.67/z-m
! pitch-deg0/pitch-deg
  /offsets
  /model

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Re: CVS: FlightGear/src/Instrumentation wxradar.cxx,1.6,1.7 wxradar.hxx,1.4,1.5

2006-04-17 Thread Alex Romosan
Melchior Franz writes:

 Update of /var/cvs/FlightGear-0.9/FlightGear/src/Instrumentation
 In directory baron:/tmp/cvs-serv8740

 Modified Files:
   wxradar.cxx wxradar.hxx 
 Log Message:
 make headers include headers they depend on, don't rely on the c(xx)
 file to do that. (This is a requirement for header precompiling.)

i don't understand what you mean by precompiling but making the header
file include unnecessary headers is wrong. i looked at this particular
case, and it's okay to forward declare a class and include the header
file in the c++ source file. you actually want to do this as it
minimizes the amount of recompilation in case the base header files
changes. i suspect all your changes are unnecessary (this one really
looks like it) so i suggest you revert them.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Re: CVS: FlightGear/src/Instrumentation wxradar.cxx,1.6,1.7 wxradar.hxx,1.4,1.5

2006-04-17 Thread Alex Romosan
Melchior FRANZ writes:

 It's OK to forward declare classes that are referred to via
 *pointers*. But it is not OK to use class/type instances that are
 not known to the header, and relying on external code to make them
 known. How often would you say again changes plib/ssg.h? Per year?
 Once? 0.5 times?

the header itself might not change that often, but the time-stamp
definitely changes every time you reinstall plib (because some other
part got changed, and you recompiled it) and this will trigger
needless recompilation. things are never that simple (and the header
file dependency in flightgear/simgear is already messy enough as it
is). if you feel like recompiling everything all the time, by all
means, make as many changes as this as you want. what's the point of
having fast computers if not to recompile code over and over again?!

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Re: night slowdown with nvidia GeForce 6200 on linux

2006-01-28 Thread Alex Romosan
Diogo Kastrup writes:

 I've modified your test program to follow what is done in flightgear,
 and looks like the problem is the lack of acceleration when drawing
 triangles in point mode. So, if this is right, we can't get the
 acceleration again without changing the way lights are drawn.

thanks. this makes it a lot easier to find some kind of workaround.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |


---
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=lnkkid=103432bid=230486dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Re: night slowdown with nvidia GeForce 6200 on linux

2006-01-27 Thread Alex Romosan
Erik Hofman [EMAIL PROTECTED] writes:

 Alex Romosan wrote:

 still trying to figure out the real reason why the nvidia driver is
 slow when we enable GL_POINT_SMOOTH in fgfs (and learning a lot more
 about openGL then i ever wanted to know).

 If I'm correct then you're not using points larger than one pixel in
 this test application. Maybe that's the reason?

the point size is set to 5. that's not it.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |


---
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=lnkkid=103432bid=230486dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Re: night slowdown with nvidia GeForce 6200 on linux

2006-01-26 Thread Alex Romosan
Erik Hofman [EMAIL PROTECTED] writes:

 Alex Romosan wrote:
 or you can add a call to glEnable(GL_POINT_SPRITE):

 +glEnable(GL_POINT_SPRITE);
 this allowed me to use GL_POINT_SMOOTH on my nvidia card (enhanced
 lighting works fine now).
 i think this would be a better solution (tested only on my nvidia
 card
 though).

 Ok, I've added support for point sprites. I does indeed increase the
 framerate in my PC. I find this a rather peculiar extension though.
 Especially since SGI has always been using point sprites without
 naming them.

i still think we are papering over a real bug in the fgfs display code
when we enable point sprites. the attached program:

#include stdio.h
#include stdlib.h

#include GL/gl.h  /* Header File For The OpenGL Library */
#include GL/glu.h /* Header File For The GLU Library */
#include GL/glut.h

#define NB_PIXELS 1000



void GLUTdraw(void)
{
int i;
int done=0;
GLfloat pixels[NB_PIXELS*3];
  for(i=0;iNB_PIXELS;i++)
  {
pixels[3*i]=rand()%250-125;
pixels[3*i+1]=rand()%250-125;
pixels[3*i+2]=rand()%250-125;
  }
  do
  {
glClear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT);

glRotatef(2.0,1.0,1.0,1.0);
glRotatef(1.0,0.0,1.0,1.0);

glColor4ub(255,255,255,255);
glBegin(GL_POINTS);
for(i=0;iNB_PIXELS;i++)
{
  glVertex3f(pixels[3*i],pixels[3*i+1],pixels[3*i+2]);
}
glEnd();
glutSwapBuffers();
  }
  while(!done);
}

int main(int argc,char *argv[])
{
  glutInit(argc, argv);		// initialize the toolkit
  glutInitDisplayMode( GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH | GLUT_STENCIL);
  glutInitWindowSize(640,480);	// set window size
  glutInitWindowPosition(100, 150);	// set window position on screen
  glutCreateWindow(testgl); // open the screen window

  glutDisplayFunc(GLUTdraw);

  glViewport(0,0,640,480);

  glMatrixMode(GL_PROJECTION);
  glLoadIdentity();
  glOrtho(-100,100,-100,100,-500,500);

  glMatrixMode(GL_MODELVIEW);
  glLoadIdentity();

  glEnable(GL_POINT_SMOOTH);
  glHint(GL_POINT_SMOOTH_HINT,GL_DONT_CARE);
  glPointSize(5.0f);
  glutMainLoop();

  return 0;
}

enables GL_POINT_SMOOTH and runs just fine on my nvidia card without
the need to enable GL_POINT_SPRITE. so it's something else we do
along the way that gets the driver in a very confused state.

btw, if i understand correctly GL_POINT_SMOOTH is supposed to give you
round points instead of square ones (GL_FASTEST/GL_NICEST hints refer
to the most efficient/correct option, while GL_DONT_CARE means the
client has no preference). GL_POINT_SPRITE will also let you map a
texture across a point sprite if GL_COORD_REPLACE is enabled.

still trying to figure out the real reason why the nvidia driver is
slow when we enable GL_POINT_SMOOTH in fgfs (and learning a lot more
about openGL then i ever wanted to know).

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |


[Flightgear-devel] night slowdown with nvidia GeForce 6200 on linux

2006-01-25 Thread Alex Romosan
i am currently running flightgear on an amd64 linux machine with an
nvidia geforce 6200 pci express card. i normally get about 60fps but
the moment the lights come on the display grinds to a halt (~1-2fps).
playing with the rendering options i discovered that if i turn
enhanced lighting on and off then the frame rate goes back to normal.

so i looked at src/Main/renderer.cxx and after applying this patch:

RCS file: /var/cvs/FlightGear-0.9/source/src/Main/renderer.cxx,v
retrieving revision 1.35
diff -u -r1.35 renderer.cxx
--- src/Main/renderer.cxx   21 Jan 2006 12:07:40 -  1.35
+++ src/Main/renderer.cxx   25 Jan 2006 21:24:09 -
@@ -226,8 +226,8 @@
 glFrontFace ( GL_CCW );
 
 // Just testing ...
-glEnable(GL_POINT_SMOOTH);
-glEnable(GL_LINE_SMOOTH);
+//glEnable(GL_POINT_SMOOTH);
+//glEnable(GL_LINE_SMOOTH);
 // glEnable(GL_POLYGON_SMOOTH);  
 glHint(GL_POLYGON_SMOOTH_HINT, GL_DONT_CARE);
 glHint(GL_LINE_SMOOTH_HINT, GL_DONT_CARE);

flightgear runs at 60fps even when the lights are on (except if i
enable enhanced runway lighting).

so it looks like my card has problems with glEnable(GL_POINT_SMOOTH).
i am not really sure what this does (so if somebody could clue me in i
would appreciate it) but i wonder if it wouldn't be worth it to remove
the glEnable(GL_POINT_SMOOTH) call altogether from FGRenderer::init().
alternatively, could anybody think of a better fix?

forgot to say, the system is running linux kernel 2.6.16-rc1 with
nvidia driver 1.0-8178. thanks.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |


---
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=lnkkid=103432bid=230486dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Re: night slowdown with nvidia GeForce 6200 on linux

2006-01-25 Thread Alex Romosan
Alex Romosan [EMAIL PROTECTED] writes:

 so i looked at src/Main/renderer.cxx and after applying this patch:

 RCS file: /var/cvs/FlightGear-0.9/source/src/Main/renderer.cxx,v
 retrieving revision 1.35
 diff -u -r1.35 renderer.cxx
 --- src/Main/renderer.cxx   21 Jan 2006 12:07:40 -  1.35
 +++ src/Main/renderer.cxx   25 Jan 2006 21:24:09 -
 @@ -226,8 +226,8 @@
  glFrontFace ( GL_CCW );
  
  // Just testing ...
 -glEnable(GL_POINT_SMOOTH);
 -glEnable(GL_LINE_SMOOTH);
 +//glEnable(GL_POINT_SMOOTH);
 +//glEnable(GL_LINE_SMOOTH);
  // glEnable(GL_POLYGON_SMOOTH);  
  glHint(GL_POLYGON_SMOOTH_HINT, GL_DONT_CARE);
  glHint(GL_LINE_SMOOTH_HINT, GL_DONT_CARE);

after some googling looks like the problems is with GL_POINT_SMOOTH
and the latest nvidia driver (GL_LINE_SMOOTH is okay). so i suggest we
don't enable GL_POINT_SMOOTH by default in FGRenderer::init().

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |


---
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=lnkkid=103432bid=230486dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Re: 64 bit

2006-01-16 Thread Alex Romosan
Ampere K. Hardraade [EMAIL PROTECTED] writes:

 On January 16, 2006 01:39 pm, Alex Romosan wrote:
 i compile it on amd64; debian version 4.0.3 20060104 (prerelease).
 stand alone JSBSim compiles fine as well. what exactly is the error you
 are getting?

 --alex--

 Do you mean gcc 4.0.3?

yes, cut and paste typo :-( 

gcc debian version 4.0.3 20060104 (prerelease)

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |


---
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=lnkkid=103432bid=230486dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel