Re: [Flightgear-devel] Building FlightGear under Vista

2010-09-05 Thread Frederic Bouvier
Jon,

- Jon S. Berndt a écrit :

  On Sat, 4 Sep 2010, Jon S. Berndt wrote:
  
   Which directory should one be under when they execute the git
  command?
  
  Hi,
  
  You should be in the directory where you want to have the fgdata
  directory, i.e. git creates fgdata in the current directory.
  Cloning will download about 2.5GB of data so it will take a good
 while.
  If gitorious is slow you can also clone from
  http://mapserver.flightgear.org/git/fgdata
  
   Is there anything that needs to be done afterwards when the data
 is
  all
   downloaded, or is FlightGear ready to run at that point?
  
  FlightGear should be ready to run at that point. Use the
  --fg-root=/path/to/fgdata
  argument to point FlightGear to the fgdata directory - it probably
  won't
  find it otherwise.
  
  Cheers,
  
  Anders
 
 
 Here's how I ran FlightGear, but it did not like the command:
 
 $ FlightGear/projects/VC90/Win32/Release/fgfs
 --fg-root=/home/jon/flightgear/fgdata/
 
 
 Base package check failed ... Found version [none] at:
 /home/jon/flightgear/fgdata/
 Please upgrade to version: 2.0.0
 Hit a key to continue...
 
 I just downloaded the base package today as directed via git.
 
 What am I doing wrong?

Start a Windows command prompt and the command line should be something like

$ FlightGear/projects/VC90/Win32/Release/fgfs 
--fg-root=c:/cygwin/home/jon/flightgear/fgdata/

Anyway, you can use forward slash, but must have a drive letter at the start.
Found version [none] means there is no base package at the path specified, more 
likely because the
path is not understood

-Fred

-- 
Frédéric Bouvier
http://my.fotolia.com/frfoto/  Photo gallery - album photo
http://www.youtube.com/user/fgfred64   Videos


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

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Aircraft dirs (and noisy output atlog-level=info)

2010-09-05 Thread Alan Teeder

--
From: James Turner zakal...@mac.com
Sent: Monday, August 02, 2010 11:46 PM
To: FlightGear developers discussions 
flightgear-devel@lists.sourceforge.net
Subject: [Flightgear-devel] Aircraft dirs (and noisy output 
atlog-level=info)

 I committed some code a few days ago, to change how aircraft data files 
 are loaded - if you're running the latest code, you may have noticed the 
 paths used for each data file are now logged. This is a transitional 
 feature - it will help if someone reports problems with particular data 
 files not being loaded; once the code has had sufficient testing, I'll 
 remove or downgrade the message.

 The good news is, FG now supports --fg-aircraft=some/path/;another/path 
 syntax for loading aircraft data; you should be able to place development 
 aircraft or similar outside data/Aircraft and have everything work as 
 expected (right now you still need to have an 'Aircraft' dir, so I 
 do: --fg-aircraft=/foo/my-aircraft, and then have 
 /foo/my-aircraft/Aircraft/MD-81/MD-81-set.xml, and so on).

 data/Aircraft is still checked as a location, too, of course - this keeps 
 generic Aircraft resources (such as the standard AP) and shared 
 instruments working, though these could also be located in a separate 
 dir - the code check the current aircraft's direction, then 
 the --fg-aircraft paths in order, and finally data/Aircraft.

 This will hopefully simplify life for aircraft developers, packagers and 
 release maintainers in the near future, but in the short term it would be 
 great if people could try the feature out, and report any issues or 
 problems.

 BTW, the more verbose logging of file paths does reveal some latent places 
 where a file was missing / not-found (including in the C172 effects files, 
 due to a confused path), but this fact was not previous reported.

 James


I am using the new Aircraft dirs for my current development. It certainly is 
very useful.

However now that I have my cockpit layout nearly sorted out I have come 
across a problem, which can be duplicated using the existing Lightning  (I 
am using the Lighning as a template for my own model) as follows:

Copy the Lightning aircraft into the directory defined  by --fg-aircaft, and 
rename or delete the original in FGROOT. Set --aircraft=lightning in 
system.fgfsrc and run fgfs.

All runs until I attempt Auto Engine Start from the Lightning Configuration 
menu, when fgfs crashes.

If I restore the original Lightning aircraft directory in FGROOT, even after 
starting up fgfs, but before attempting the engine start, everything runs 
OK.

Hope this give you enough to go on.

Regards

Alan 


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

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Aircraft dirs (and noisy output atlog-level=info)

2010-09-05 Thread James Turner

On 5 Sep 2010, at 11:29, Alan Teeder wrote:

 All runs until I attempt Auto Engine Start from the Lightning Configuration 
 menu, when fgfs crashes.
 
 If I restore the original Lightning aircraft directory in FGROOT, even after 
 starting up fgfs, but before attempting the engine start, everything runs 
 OK.
 
 Hope this give you enough to go on.

Ouch!

This should be enough to reproduce, I'll post back here once I see what's going 
on.

James


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

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Musings on the range animation

2010-09-05 Thread thorsten . i . renk

I've recently come across some interesting phenomenon with regard to the
range animation.

In the second generation of my cloud rendering system, every cloud in the
system was rotated towards the viewer, and then shaded to invisible if it
was more than 31 km away by the vertex shader.

Since I generate clouds in 40x40 km tiles (to get a control scale for
long-range weather patterns), this meant that when a new tile was created,
typically more than 2/3 of the new clouds were out of visual range. I
figured that it was quite inefficient to let the shader do all the matrix
algebra to discover in the end that the cloud is too far away and shade it
invisible. At this point all cloud models received a range animation with
the idea that the shader should only do transformations for objects
actually in visible range, leading to the 3rd generation of the system and
a nice improvement in framerate.

Recently, I changed to the 4th generation with a scheme that would write
clouds only into the scenery when they are closer than a certain distance,
i.e. an Nasal-based equivalent of the range animation. Since I don't
particularly care if an object becomes visible at 31 km distance or at 28
km, as long as it's somewhere in that range, I implemented that as a loop
which runs through all candidates at a leasurely pace, so typically a
cloud is picked up 10 seconds or so after the range was reached. Since
that made the range animation obsolete, I threw it out.

And was surprised that my framerates increased by 50% (!).

I don't know how the range animation is implemented, but I have the
impression that it checks every object every frame. Which for most
purposes isn't necessary and makes a huge difference if you have, say,
6000 objects.

It pays off better if the object in question has a lot of vertices and is
hence more demanding for the shader, so you may trade e.g. 40 vertex
operations against a range check instead of just 4 with a cloudlet. But it
seems to me there are situations where a 'sloppy' version of the range
animation would use a lot less resources. I don't know how frequent range
animations appear in static sceneries such as Paris or the detailed
airport models - but it's something to keep in mind I guess.

Cheers,

* Thorsten


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

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Building FlightGear under Vista

2010-09-05 Thread Jon S. Berndt
 Start a Windows command prompt and the command line should be something
 like
 
 $ FlightGear/projects/VC90/Win32/Release/fgfs --fg-
 root=c:/cygwin/home/jon/flightgear/fgdata/
 
 Anyway, you can use forward slash, but must have a drive letter at the
 start.
 Found version [none] means there is no base package at the path
 specified, more likely because the
 path is not understood
 
 -Fred

That helped, but now I am getting different errors:

--- start ---
$ FlightGear/projects/VC90/Win32/Release/fgfs 
--fg-root=c:/cygwin/home/jon/flightgear/fgdata/
Processing command line arguments
using aircraft-dir 
for:c:/cygwin/home/jon/flightgear/fgdata//Aircraft/c172p/splash.png
Warning: Could not find plugin to read objects from file 
c:/cygwin/home/jon/flightgear/fgdata//Aircraft/c172p/splash.png.
Warning: Could not find plugin to read objects from file 
c:/cygwin/home/jon/flightgear/fgdata//Fonts/Helvetica.txf.
Warning: Could not find plugin to read objects from file 
c:/cygwin/home/jon/flightgear/fgdata//Fonts/Helvetica.txf.
Warning: Could not find plugin to read objects from file 
c:/cygwin/home/jon/flightgear/fgdata//Fonts/Helvetica.txf.
using aircraft-dir 
for:c:/cygwin/home/jon/flightgear/fgdata//Aircraft/c172p/c172-sound.xml
using aircraft-dir 
for:c:/cygwin/home/jon/flightgear/fgdata//Aircraft/c172p/Models/c172p.xml
Failed to load model: Failed to load 3D model:
from:Aircraft/c172p/Models/c172p.xml
...
--- end ---

Yet all of the plugins are clearly accessible. For example,

which osg2cpp

Yields:

/home/jon/flightgear/install/msvc90/OpenSceneGraph/bin/osg2cpp

The cygwin bash command line recognizes the path, but it seems that FlightGear 
may not recognize the path. How does this work in Linux?

Jon




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

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Building FlightGear under Vista

2010-09-05 Thread Jon S. Berndt
 That helped, but now I am getting different errors:
 
 --- start ---
 $ FlightGear/projects/VC90/Win32/Release/fgfs --fg-
 root=c:/cygwin/home/jon/flightgear/fgdata/
 Processing command line arguments
 using aircraft-dir
 for:c:/cygwin/home/jon/flightgear/fgdata//Aircraft/c172p/splash.png
 Warning: Could not find plugin to read objects from file
 c:/cygwin/home/jon/flightgear/fgdata//Aircraft/c172p/splash.png.
 Warning: Could not find plugin to read objects from file
 c:/cygwin/home/jon/flightgear/fgdata//Fonts/Helvetica.txf.
 Warning: Could not find plugin to read objects from file
 c:/cygwin/home/jon/flightgear/fgdata//Fonts/Helvetica.txf.
 Warning: Could not find plugin to read objects from file
 c:/cygwin/home/jon/flightgear/fgdata//Fonts/Helvetica.txf.
 using aircraft-dir
 for:c:/cygwin/home/jon/flightgear/fgdata//Aircraft/c172p/c172-sound.xml
 using aircraft-dir
 for:c:/cygwin/home/jon/flightgear/fgdata//Aircraft/c172p/Models/c172p.x
 ml
 Failed to load model: Failed to load 3D model:
 from:Aircraft/c172p/Models/c172p.xml
 ...
 --- end ---
 
 Yet all of the plugins are clearly accessible. For example,
 
 which osg2cpp
 
 Yields:
 
 /home/jon/flightgear/install/msvc90/OpenSceneGraph/bin/osg2cpp
 
 The cygwin bash command line recognizes the path, but it seems that
 FlightGear may not recognize the path. How does this work in Linux?
 
 Jon

I even went to a Windows command shell and got the same results. What is
FlightGear looking for, and why can it not find it?

Jon



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

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Building FlightGear under Vista

2010-09-05 Thread Frederic Bouvier
try to remove the trailing slash, or use fgrun that is in the official 2.0.0 
package

-Fred

- Jon S. Berndt jonsber...@comcast.net a écrit :

  That helped, but now I am getting different errors:
  
  --- start ---
  $ FlightGear/projects/VC90/Win32/Release/fgfs --fg-
  root=c:/cygwin/home/jon/flightgear/fgdata/
  Processing command line arguments
  using aircraft-dir
  for:c:/cygwin/home/jon/flightgear/fgdata//Aircraft/c172p/splash.png
  Warning: Could not find plugin to read objects from file
  c:/cygwin/home/jon/flightgear/fgdata//Aircraft/c172p/splash.png.
  Warning: Could not find plugin to read objects from file
  c:/cygwin/home/jon/flightgear/fgdata//Fonts/Helvetica.txf.
  Warning: Could not find plugin to read objects from file
  c:/cygwin/home/jon/flightgear/fgdata//Fonts/Helvetica.txf.
  Warning: Could not find plugin to read objects from file
  c:/cygwin/home/jon/flightgear/fgdata//Fonts/Helvetica.txf.
  using aircraft-dir
 
 for:c:/cygwin/home/jon/flightgear/fgdata//Aircraft/c172p/c172-sound.xml
  using aircraft-dir
 
 for:c:/cygwin/home/jon/flightgear/fgdata//Aircraft/c172p/Models/c172p.x
  ml
  Failed to load model: Failed to load 3D model:
  from:Aircraft/c172p/Models/c172p.xml
  ...
  --- end ---
  
  Yet all of the plugins are clearly accessible. For example,
  
  which osg2cpp
  
  Yields:
  
  /home/jon/flightgear/install/msvc90/OpenSceneGraph/bin/osg2cpp
  
  The cygwin bash command line recognizes the path, but it seems that
  FlightGear may not recognize the path. How does this work in Linux?
  
  Jon
 
 I even went to a Windows command shell and got the same results. What
 is
 FlightGear looking for, and why can it not find it?
 
 Jon
 
 
 
 --
 This SF.net Dev2Dev email is sponsored by:
 
 Show off your parallel programming skills.
 Enter the Intel(R) Threading Challenge 2010.
 http://p.sf.net/sfu/intel-thread-sfd
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel

-- 
Frédéric Bouvier
http://my.fotolia.com/frfoto/  Photo gallery - album photo
http://www.youtube.com/user/fgfred64   Videos


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

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Building FlightGear under Vista

2010-09-05 Thread Alan Teeder

--
From: Jon S. Berndt jonsber...@comcast.net
Sent: Sunday, September 05, 2010 1:27 PM
To: 'FlightGear developers discussions' 
flightgear-devel@lists.sourceforge.net
Subject: Re: [Flightgear-devel] Building FlightGear under Vista

 That helped, but now I am getting different errors:

 --- start ---
 $ FlightGear/projects/VC90/Win32/Release/fgfs --fg-
 root=c:/cygwin/home/jon/flightgear/fgdata/
 Processing command line arguments
 using aircraft-dir
 for:c:/cygwin/home/jon/flightgear/fgdata//Aircraft/c172p/splash.png
 Warning: Could not find plugin to read objects from file
 c:/cygwin/home/jon/flightgear/fgdata//Aircraft/c172p/splash.png.
 Warning: Could not find plugin to read objects from file
 c:/cygwin/home/jon/flightgear/fgdata//Fonts/Helvetica.txf.
 Warning: Could not find plugin to read objects from file
 c:/cygwin/home/jon/flightgear/fgdata//Fonts/Helvetica.txf.
 Warning: Could not find plugin to read objects from file
 c:/cygwin/home/jon/flightgear/fgdata//Fonts/Helvetica.txf.
 using aircraft-dir
 for:c:/cygwin/home/jon/flightgear/fgdata//Aircraft/c172p/c172-sound.xml
 using aircraft-dir
 for:c:/cygwin/home/jon/flightgear/fgdata//Aircraft/c172p/Models/c172p.x
 ml
 Failed to load model: Failed to load 3D model:
 from:Aircraft/c172p/Models/c172p.xml
 ...
 --- end ---

 Yet all of the plugins are clearly accessible. For example,

 which osg2cpp

 Yields:

 /home/jon/flightgear/install/msvc90/OpenSceneGraph/bin/osg2cpp

 The cygwin bash command line recognizes the path, but it seems that
 FlightGear may not recognize the path. How does this work in Linux?

 Jon

Why are you using cygwin for this?

FG builds well with XP and Vista in the Windows environment with Visual 
Studio Express 2008.  See the instructions on the wiki  at 
http://wiki.flightgear.org/index.php/Building_FlightGear_-_Windows which 
will give you a good start point.

The biggest problem is with the 3rd party stuff, each of which (especially 
OpenSceneGraph) has its own 3rd party requirements. This is only relevant 
if you really MUST build your own to to date version of each and not rely on 
the distributions suggested in the Wiki.  Also the 3rd part  stuff keeps 
changing, so it is very difficult to be at the cutting edge.

A Visual Studio 2010 build with fully up to date 3rd part stuff is 
possible - I have done it here, but at the moment it is not worth the 
hassle. 


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

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Building FlightGear under Vista

2010-09-05 Thread Jon S. Berndt
 From: Alan Teeder [mailto:ajtee...@v-twin.org.uk]

 Why are you using cygwin for this?

Alan,

I happily built FlightGear under MSVC, but much prefer the cygwin bash shell
to cmd.exe. I am only running FlightGear under cygwin - not building it
under cygwin. I should be able to do that.

Jon



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

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Building FlightGear under Vista

2010-09-05 Thread Jon S. Berndt
 From: Frederic Bouvier
 
 try to remove the trailing slash, or use fgrun that is in the official
 2.0.0 package
 
 -Fred

Still no joy. Where is the fgrun command located?

Jon



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

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Building FlightGear under Vista

2010-09-05 Thread Frederic Bouvier

- Jon S. Berndt a écrit :

  From: Alan Teeder [mailto:ajtee...@v-twin.org.uk]
 
  Why are you using cygwin for this?
 
 Alan,
 
 I happily built FlightGear under MSVC, but much prefer the cygwin bash
 shell
 to cmd.exe. I am only running FlightGear under cygwin - not building
 it
 under cygwin. I should be able to do that.

Maybe... Remember that the cygwin dll has special code to emulate an Unix 
filesystem under Windows, but this DLL is not included inside the MSVC build, 
so you can't express your path the unix way.
The only exception is the forward slash that is recognized by the Microsoft C 
runtime

-Fred

-- 
Frédéric Bouvier
http://my.fotolia.com/frfoto/  Photo gallery - album photo
http://www.youtube.com/user/fgfred64   Videos


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

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Building FlightGear under Vista

2010-09-05 Thread Frederic Bouvier

- Jon S. Berndt jonsber...@comcast.net a écrit :

  From: Frederic Bouvier
  
  try to remove the trailing slash, or use fgrun that is in the
 official
  2.0.0 package
  
  -Fred
 
 Still no joy. Where is the fgrun command located?
 

Download and install the official Win32 release

It is also available here : ftp://ftp.ihg.uni-duisburg.de/FlightGear/Win32

-Fred

-- 
Frédéric Bouvier
http://my.fotolia.com/frfoto/  Photo gallery - album photo
http://www.youtube.com/user/fgfred64   Videos


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

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Building FlightGear under Vista

2010-09-05 Thread Jon S. Berndt
I get the same problems in the windows command shell. What is it looking for??


-Original Message-
From: Frederic Bouvier fredfgf...@free.fr
Sent: Sunday, September 05, 2010 8:04 AM
To: FlightGear developers discussions flightgear-devel@lists.sourceforge.net
Subject: Re: [Flightgear-devel] Building FlightGear under Vista


- Jon S. Berndt a écrit :

  From: Alan Teeder [mailto:ajtee...@v-twin.org.uk]
 
  Why are you using cygwin for this?
 
 Alan,
 
 I happily built FlightGear under MSVC, but much prefer the cygwin bash
 shell
 to cmd.exe. I am only running FlightGear under cygwin - not building
 it
 under cygwin. I should be able to do that.

Maybe... Remember that the cygwin dll has special code to emulate an Unix 
filesystem under Windows, but this DLL is not included inside the MSVC build, 
so you can't express your path the unix way.
The only exception is the forward slash that is recognized by the Microsoft C 
runtime

-Fred

-- 
Frédéric Bouvier
http://my.fotolia.com/frfoto/  Photo gallery - album photo
http://www.youtube.com/user/fgfred64   Videos


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

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


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

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Building FlightGear under Vista

2010-09-05 Thread Frederic Bouvier
A PATH to OSG Binaries

 Warning: Could not find plugin to read objects from file
 c:/cygwin/home/jon/flightgear/fgdata//Aircraft/c172p/splash.png.
 Warning: Could not find plugin to read objects from file
 c:/cygwin/home/jon/flightgear/fgdata//Fonts/Helvetica.txf.
 Warning: Could not find plugin to read objects from file
 c:/cygwin/home/jon/flightgear/fgdata//Fonts/Helvetica.txf.
 Warning: Could not find plugin to read objects from file
 c:/cygwin/home/jon/flightgear/fgdata//Fonts/Helvetica.txf.


-Fred

- Jon S. Berndt jonsber...@comcast.net a écrit :

 I get the same problems in the windows command shell. What is it
 looking for??
 
 
 -Original Message-
 From: Frederic Bouvier fredfgf...@free.fr
 Sent: Sunday, September 05, 2010 8:04 AM
 To: FlightGear developers discussions
 flightgear-devel@lists.sourceforge.net
 Subject: Re: [Flightgear-devel] Building FlightGear under Vista
 
 
 - Jon S. Berndt a écrit :
 
   From: Alan Teeder [mailto:ajtee...@v-twin.org.uk]
 
   Why are you using cygwin for this?
 
  Alan,
 
  I happily built FlightGear under MSVC, but much prefer the cygwin
 bash
  shell
  to cmd.exe. I am only running FlightGear under cygwin - not building
  it
  under cygwin. I should be able to do that.
 
 Maybe... Remember that the cygwin dll has special code to emulate an
 Unix filesystem under Windows, but this DLL is not included inside the
 MSVC build, so you can't express your path the unix way.
 The only exception is the forward slash that is recognized by the
 Microsoft C runtime
 
 -Fred
 
 --
 Frédéric Bouvier
 http://my.fotolia.com/frfoto/  Photo gallery - album photo
 http://www.youtube.com/user/fgfred64   Videos
 
 
 --
 This SF.net Dev2Dev email is sponsored by:
 
 Show off your parallel programming skills.
 Enter the Intel(R) Threading Challenge 2010.
 http://p.sf.net/sfu/intel-thread-sfd
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel
 
 
 --
 This SF.net Dev2Dev email is sponsored by:
 
 Show off your parallel programming skills.
 Enter the Intel(R) Threading Challenge 2010.
 http://p.sf.net/sfu/intel-thread-sfd
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel

-- 
Frédéric Bouvier
http://my.fotolia.com/frfoto/  Photo gallery - album photo
http://www.youtube.com/user/fgfred64   Videos


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

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Building FlightGear under Vista

2010-09-05 Thread Alan Teeder
Your OSG library was not built with png and txf support?

Alan
--
From: Frederic Bouvier fredfgf...@free.fr
Sent: Sunday, September 05, 2010 3:08 PM
To: FlightGear developers discussions 
flightgear-devel@lists.sourceforge.net
Subject: Re: [Flightgear-devel] Building FlightGear under Vista

 A PATH to OSG Binaries

 Warning: Could not find plugin to read objects from file
 c:/cygwin/home/jon/flightgear/fgdata//Aircraft/c172p/splash.png.
 Warning: Could not find plugin to read objects from file
 c:/cygwin/home/jon/flightgear/fgdata//Fonts/Helvetica.txf.
 Warning: Could not find plugin to read objects from file
 c:/cygwin/home/jon/flightgear/fgdata//Fonts/Helvetica.txf.
 Warning: Could not find plugin to read objects from file
 c:/cygwin/home/jon/flightgear/fgdata//Fonts/Helvetica.txf.


 -Fred

 - Jon S. Berndt jonsber...@comcast.net a écrit :

 I get the same problems in the windows command shell. What is it
 looking for??


 -Original Message-
 From: Frederic Bouvier fredfgf...@free.fr
 Sent: Sunday, September 05, 2010 8:04 AM
 To: FlightGear developers discussions
 flightgear-devel@lists.sourceforge.net
 Subject: Re: [Flightgear-devel] Building FlightGear under Vista


 - Jon S. Berndt a écrit :

   From: Alan Teeder [mailto:ajtee...@v-twin.org.uk]
 
   Why are you using cygwin for this?
 
  Alan,
 
  I happily built FlightGear under MSVC, but much prefer the cygwin
 bash
  shell
  to cmd.exe. I am only running FlightGear under cygwin - not building
  it
  under cygwin. I should be able to do that.

 Maybe... Remember that the cygwin dll has special code to emulate an
 Unix filesystem under Windows, but this DLL is not included inside the
 MSVC build, so you can't express your path the unix way.
 The only exception is the forward slash that is recognized by the
 Microsoft C runtime

 -Fred

 --
 Frédéric Bouvier
 http://my.fotolia.com/frfoto/  Photo gallery - album photo
 http://www.youtube.com/user/fgfred64   Videos


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

 Show off your parallel programming skills.
 Enter the Intel(R) Threading Challenge 2010.
 http://p.sf.net/sfu/intel-thread-sfd
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel


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

 Show off your parallel programming skills.
 Enter the Intel(R) Threading Challenge 2010.
 http://p.sf.net/sfu/intel-thread-sfd
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel

 -- 
 Frédéric Bouvier
 http://my.fotolia.com/frfoto/  Photo gallery - album photo
 http://www.youtube.com/user/fgfred64   Videos


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

 Show off your parallel programming skills.
 Enter the Intel(R) Threading Challenge 2010.
 http://p.sf.net/sfu/intel-thread-sfd
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel


 


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

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Building FlightGear under Vista

2010-09-05 Thread Jon S. Berndt
I did not build it. I installed it all according to the procedure (see earlier 
in this thread). I just built FlightGear. Would it work for me to simply copy 
all the needed files into the FlightGear executable directory?

Jon


-Original Message-
From: Alan Teeder ajtee...@v-twin.org.uk
Sent: Sunday, September 05, 2010 9:17 AM
To: FlightGear developers discussions flightgear-devel@lists.sourceforge.net
Subject: Re: [Flightgear-devel] Building FlightGear under Vista

Your OSG library was not built with png and txf support?

Alan
--
From: Frederic Bouvier fredfgf...@free.fr
Sent: Sunday, September 05, 2010 3:08 PM
To: FlightGear developers discussions 
flightgear-devel@lists.sourceforge.net
Subject: Re: [Flightgear-devel] Building FlightGear under Vista

 A PATH to OSG Binaries

 Warning: Could not find plugin to read objects from file
 c:/cygwin/home/jon/flightgear/fgdata//Aircraft/c172p/splash.png.
 Warning: Could not find plugin to read objects from file
 c:/cygwin/home/jon/flightgear/fgdata//Fonts/Helvetica.txf.
 Warning: Could not find plugin to read objects from file
 c:/cygwin/home/jon/flightgear/fgdata//Fonts/Helvetica.txf.
 Warning: Could not find plugin to read objects from file
 c:/cygwin/home/jon/flightgear/fgdata//Fonts/Helvetica.txf.


 -Fred

 - Jon S. Berndt jonsber...@comcast.net a écrit :

 I get the same problems in the windows command shell. What is it
 looking for??


 -Original Message-
 From: Frederic Bouvier fredfgf...@free.fr
 Sent: Sunday, September 05, 2010 8:04 AM
 To: FlightGear developers discussions
 flightgear-devel@lists.sourceforge.net
 Subject: Re: [Flightgear-devel] Building FlightGear under Vista


 - Jon S. Berndt a écrit :

   From: Alan Teeder [mailto:ajtee...@v-twin.org.uk]
 
   Why are you using cygwin for this?
 
  Alan,
 
  I happily built FlightGear under MSVC, but much prefer the cygwin
 bash
  shell
  to cmd.exe. I am only running FlightGear under cygwin - not building
  it
  under cygwin. I should be able to do that.

 Maybe... Remember that the cygwin dll has special code to emulate an
 Unix filesystem under Windows, but this DLL is not included inside the
 MSVC build, so you can't express your path the unix way.
 The only exception is the forward slash that is recognized by the
 Microsoft C runtime

 -Fred

 --
 Frédéric Bouvier
 http://my.fotolia.com/frfoto/  Photo gallery - album photo
 http://www.youtube.com/user/fgfred64   Videos


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

 Show off your parallel programming skills.
 Enter the Intel(R) Threading Challenge 2010.
 http://p.sf.net/sfu/intel-thread-sfd
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel


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

 Show off your parallel programming skills.
 Enter the Intel(R) Threading Challenge 2010.
 http://p.sf.net/sfu/intel-thread-sfd
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel

 -- 
 Frédéric Bouvier
 http://my.fotolia.com/frfoto/  Photo gallery - album photo
 http://www.youtube.com/user/fgfred64   Videos


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

 Show off your parallel programming skills.
 Enter the Intel(R) Threading Challenge 2010.
 http://p.sf.net/sfu/intel-thread-sfd
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel


 


--
This SF.net Dev2Dev

[The entire original message is not included]

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

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Building FlightGear under Vista

2010-09-05 Thread Alan Teeder

--
From: Jon S. Berndt jonsber...@comcast.net
Sent: Sunday, September 05, 2010 3:40 PM
To: FlightGear developers discussions 
flightgear-devel@lists.sourceforge.net
Subject: Re: [Flightgear-devel] Building FlightGear under Vista

 I did not build it. I installed it all according to the procedure (see 
 earlier in this thread). I just built FlightGear. Would it work for me to 
 simply copy all the needed files into the FlightGear executable directory?

 Jon


 -Original Message-
 From: Alan Teeder ajtee...@v-twin.org.uk
 Sent: Sunday, September 05, 2010 9:17 AM
 To: FlightGear developers discussions 
 flightgear-devel@lists.sourceforge.net
 Subject: Re: [Flightgear-devel] Building FlightGear under Vista

 Your OSG library was not built with png and txf support?

 Alan
 --
 From: Frederic Bouvier fredfgf...@free.fr
 Sent: Sunday, September 05, 2010 3:08 PM
 To: FlightGear developers discussions
 flightgear-devel@lists.sourceforge.net
 Subject: Re: [Flightgear-devel] Building FlightGear under Vista

 A PATH to OSG Binaries

 Warning: Could not find plugin to read objects from file
 c:/cygwin/home/jon/flightgear/fgdata//Aircraft/c172p/splash.png.
 Warning: Could not find plugin to read objects from file
 c:/cygwin/home/jon/flightgear/fgdata//Fonts/Helvetica.txf.
 Warning: Could not find plugin to read objects from file
 c:/cygwin/home/jon/flightgear/fgdata//Fonts/Helvetica.txf.
 Warning: Could not find plugin to read objects from file
 c:/cygwin/home/jon/flightgear/fgdata//Fonts/Helvetica.txf.


 -Fred

 - Jon S. Berndt jonsber...@comcast.net a écrit :

 I get the same problems in the windows command shell. What is it
 looking for??


 -Original Message-
 From: Frederic Bouvier fredfgf...@free.fr
 Sent: Sunday, September 05, 2010 8:04 AM
 To: FlightGear developers discussions
 flightgear-devel@lists.sourceforge.net
 Subject: Re: [Flightgear-devel] Building FlightGear under Vista


 - Jon S. Berndt a écrit :

   From: Alan Teeder [mailto:ajtee...@v-twin.org.uk]
 
   Why are you using cygwin for this?
 
  Alan,
 
  I happily built FlightGear under MSVC, but much prefer the cygwin
 bash
  shell
  to cmd.exe. I am only running FlightGear under cygwin - not building
  it
  under cygwin. I should be able to do that.

 Maybe... Remember that the cygwin dll has special code to emulate an
 Unix filesystem under Windows, but this DLL is not included inside the
 MSVC build, so you can't express your path the unix way.
 The only exception is the forward slash that is recognized by the
 Microsoft C runtime

 -Fred

 --
 Frédéric Bouvier
 http://my.fotolia.com/frfoto/  Photo gallery - album photo
 http://www.youtube.com/user/fgfred64   Videos


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

 Show off your parallel programming skills.
 Enter the Intel(R) Threading Challenge 2010.
 http://p.sf.net/sfu/intel-thread-sfd
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel


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

 Show off your parallel programming skills.
 Enter the Intel(R) Threading Challenge 2010.
 http://p.sf.net/sfu/intel-thread-sfd
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel

 -- 
 Frédéric Bouvier
 http://my.fotolia.com/frfoto/  Photo gallery - album photo
 http://www.youtube.com/user/fgfred64   Videos


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

 Show off your parallel programming skills.
 Enter the Intel(R) Threading Challenge 2010.
 http://p.sf.net/sfu/intel-thread-sfd
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel





 --
 This SF.net Dev2Dev

 [The entire original message is not included]

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

 Show off your parallel programming skills.
 Enter the Intel(R) Threading Challenge 2010.
 http://p.sf.net/sfu/intel-thread-sfd
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel


I´m not sure with the cygwin distribution.
When I built OSG (from the latest SVN ) using  Cmake  I did not include tiff 
libraries. 

Re: [Flightgear-devel] Musings on the range animation

2010-09-05 Thread Curtis Olson
On Sun, Sep 5, 2010 at 7:01 AM, wrote:

 I've recently come across some interesting phenomenon with regard to the
 range animation.


Hi Thorsten,

One very generic comment about scene graphs is that typically, range
animations (and scene culling in general) works best if you arrange your
scene hierarchically.  So instead of having 100 leaf nodes and each one of
them requires a range test, arrange the objects in something like a quad
tree, so larger sub-trees (with all the spatially related leaf nodes) can
all be rejected together as a group.  Tiling sounds like a good first step
in that direction.  Usually you don't need to create a very deep quad-tree
to get near optimal results (and if you add too many more intermediate
nodes, there will be some overhead in traversing all those extra scene
elements.)  Are you placing your range animation node above each tile or
above each object in each tile?  I suspect that some careful scene graph
organization could yield better results than nasal ... but the same general
principle applies either way ... avoiding wasted work is a key element of
graphics optimization.

Regards,

Curt.
-- 
Curtis Olson:
http://www.atiak.com - http://aem.umn.edu/~uav/
http://www.flightgear.org -
http://www.flightgear.org/blogs/category/curt/http://www.flightgear.org/blogs/category/personal/curt/
--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Musings on the range animation

2010-09-05 Thread thorsten . i . renk

Hi Curt,

 Are you placing your range animation node above each tile or
 above each object in each tile?

One has to work with the tools available - or write one's owns... with
range animation I literally mean the xml-tag in the wrapper of a model:


animation
  typerange/type
  min-m0/min-m
  max-m31000/max-m
/animation

Using that tool, you can't organize a scene in subnodes with models
spawned from Nasal (or maybe you can and I just don't know how).

 I suspect that some careful scene graph
 organization could yield better results than nasal ...

I have organized clouds in a quadtree structure I wrote for Nasal and in
arrays when I need it for different purposes. For the problem at hand, I
want to limit the amount of possible models written into the scenery
(which is by far the slowest operation) - so the quadtree doesn't buy me
much - in my scheme I have 10 range comparisons per frame (at the expense
of not processing everything every frame - which I don't need anyway) -
the quadtree would need much more (but would process everything every
frame).

I tend to use the quadtree representation for things which need to be
fast, on a per-frame basis, and the array representation for things which
can be slow and be dragged out over many frames. The quadtree isn't so
good to solve slow problems - which, surprisingly, exist in rendering :-)

* Thorsten


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

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Building FlightGear under Vista

2010-09-05 Thread Jon S. Berndt
 When I built OSG (from the latest SVN ) using  Cmake  I did not include
 tiff
 libraries. The net result was a similar error message to yours when I
 tried
 to use a tiff texture file. Also all my panels were white.
 
 I replaced the tiff file with a png equivalent (as used by many FG
 aircraft
 models) and both the error message disappeared and my cockpit textures
 re-appeared.
 
 Hence my reply. It may be that an OSG plugin may be the solution under
 Linux/Cygwin, but with Windows the option was required at OSG�s
 Cmake/compilation time .
 
 Alan


OK, I tried this again under a Windows command window. Even after copying all 
of the dlls, etc., into the FlightGear executable directory, I still get tons 
of errors, until finally getting a core dump (see below). I do have all of the 
OSG DLLs, OpenAL, etc., which were installed during the process.

I have a sneaking suspicion that somehow I do not have my paths (PATH 
environment variable, or whatever) set up correctly. Is there an easy way to 
check that? I do see that there is an osgPlugin-2.9.7/ subdirectory under the 
OpenSceneGraph/bin/ directory. Is that supposed to be in the PATH, as well? I 
added it, but it seemed to have no effect.

Jon


C:\cygwin\home\jon\flightgearFlightGear\projects\VC90\Win32\Release\fgfs 
--fg-root=c:\cygwin\home\jon\flightgear\fgdata
Processing command line arguments
using aircraft-dir 
for:c:/cygwin/home/jon/flightgear/fgdata/Aircraft/c172p/splash.png
Warning: Could not find plugin to read objects from file 
c:/cygwin/home/jon/flightgear/fgdata/Aircraft/c172p/splash.png.
Warning: Could not find plugin to read objects from file 
c:/cygwin/home/jon/flightgear/fgdata/Fonts/Helvetica.txf.
... etc. ...
using aircraft-dir 
for:c:/cygwin/home/jon/flightgear/fgdata/Aircraft/c172p/c172-sound.xml
using aircraft-dir 
for:c:/cygwin/home/jon/flightgear/fgdata/Aircraft/c172p/Models/c172p.xml
Failed to load model: Failed to load 3D model:
from:Aircraft/c172p/Models/c172p.xml
Warning: Could not find plugin to read objects from file 
C:\cygwin\home\jon\flightgear\fgdata\Textures\Sky\overcast.png.
... etc. ...
Warning: Could not find plugin to read objects from file 
C:\cygwin\home\jon\flightgear\fgdata\Textures\Sky\outer_halo.png.
using FG_ROOT 
for:c:/cygwin/home/jon/flightgear/fgdata/Aircraft/Generic/generic-systems.xml
using FG_ROOT 
for:c:/cygwin/home/jon/flightgear/fgdata/Aircraft/Generic/Panels/generic-vfr-panel.xml
using FG_ROOT 
for:c:/cygwin/home/jon/flightgear/fgdata/Aircraft/Generic/Panels/Textures/panel-bg.rgb
Warning: Could not find plugin to read objects from file 
c:/cygwin/home/jon/flightgear/fgdata/Aircraft/Generic/Panels/Textures/panel-bg.rgb.
using FG_ROOT 
for:c:/cygwin/home/jon/flightgear/fgdata/Aircraft/Generic/Panels/Textures/generic-panel-01.rgb
... etc. ...
Warning: Could not find plugin to read objects from file 
c:/cygwin/home/jon/flightgear/fgdata/Fonts/typewriter.txf.
using FG_ROOT 
for:c:/cygwin/home/jon/flightgear/fgdata/Aircraft/Instruments/Textures/od_wxradar.rgb
... etc. ...
init contrail
*** NEW LOCATION ***
Loading local weather routines...
using aircraft-dir 
for:c:/cygwin/home/jon/flightgear/fgdata/Aircraft/c172p/Nasal/liveries.nas
... etc. ...
using aircraft-dir 
for:c:/cygwin/home/jon/flightgear/fgdata/Aircraft/c172p/Nasal/ki266.nas
KI266 dme indicator #0 initialized
using aircraft-dir 
for:c:/cygwin/home/jon/flightgear/fgdata/Aircraft/c172p/Nasal/c172-electrical.nas
using FG_ROOT 
for:c:/cygwin/home/jon/flightgear/fgdata/Aircraft/Generic/kap140.nas
using aircraft-dir 
for:c:/cygwin/home/jon/flightgear/fgdata/Aircraft/c172p/Nasal/kr87.nas
loading scenario 'nimitz_demo'
creating 3D noise texture... DONE
failed to load effect texture file 
C:\cygwin\home\jon\flightgear\fgdata\Textures\Terrain\water.png
... etc. ...
failed to load effect texture file 
C:\cygwin\home\jon\flightgear\fgdata\Textures\Terrain\water-lake.png
Failed to load model: Failed to load 3D model:
from:Models/Maritime/Civilian/ContainerShip.xml
Failed to load model: Failed to load 3D model:
from:Models/Maritime/Civilian/SailBoatUnderSail.xml
failed to load effect texture file 
C:\cygwin\home\jon\flightgear\fgdata\Textures\Trees\coniferous-summer.png
Failed to load model: Failed to load 3D model:
from:Models/Communications/radio-medium.xml
failed to load effect texture file 
C:\cygwin\home\jon\flightgear\fgdata\Textures.high\Terrain\deciduous1.png
... etc. ...
Failed to load object Models/Buildings/factory.ac

*** segfault here ***





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

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Building FlightGear under Vista

2010-09-05 Thread Frederic Bouvier
 Please post the result of the set PATH command (under Windows prompt,
not cygwin)

As said in the updated instructions, you must also have the 3rdParty/bin
directory in your path as well

To diagnose DLL loading problems, Dependency Walker is your friend.

-Fred

Le 05/09/2010 18:04, Jon S. Berndt a écrit :
 When I built OSG (from the latest SVN ) using  Cmake  I did not include
 tiff
 libraries. The net result was a similar error message to yours when I
 tried
 to use a tiff texture file. Also all my panels were white.

 I replaced the tiff file with a png equivalent (as used by many FG
 aircraft
 models) and both the error message disappeared and my cockpit textures
 re-appeared.

 Hence my reply. It may be that an OSG plugin may be the solution under
 Linux/Cygwin, but with Windows the option was required at OSG�s
 Cmake/compilation time .

 Alan

 OK, I tried this again under a Windows command window. Even after copying all 
 of the dlls, etc., into the FlightGear executable directory, I still get tons 
 of errors, until finally getting a core dump (see below). I do have all of 
 the OSG DLLs, OpenAL, etc., which were installed during the process.

 I have a sneaking suspicion that somehow I do not have my paths (PATH 
 environment variable, or whatever) set up correctly. Is there an easy way to 
 check that? I do see that there is an osgPlugin-2.9.7/ subdirectory under the 
 OpenSceneGraph/bin/ directory. Is that supposed to be in the PATH, as well? I 
 added it, but it seemed to have no effect.

 Jon


 C:\cygwin\home\jon\flightgearFlightGear\projects\VC90\Win32\Release\fgfs 
 --fg-root=c:\cygwin\home\jon\flightgear\fgdata
 Processing command line arguments
 using aircraft-dir 
 for:c:/cygwin/home/jon/flightgear/fgdata/Aircraft/c172p/splash.png
 Warning: Could not find plugin to read objects from file 
 c:/cygwin/home/jon/flightgear/fgdata/Aircraft/c172p/splash.png.
 Warning: Could not find plugin to read objects from file 
 c:/cygwin/home/jon/flightgear/fgdata/Fonts/Helvetica.txf.
 ... etc. ...
 using aircraft-dir 
 for:c:/cygwin/home/jon/flightgear/fgdata/Aircraft/c172p/c172-sound.xml
 using aircraft-dir 
 for:c:/cygwin/home/jon/flightgear/fgdata/Aircraft/c172p/Models/c172p.xml
 Failed to load model: Failed to load 3D model:
 from:Aircraft/c172p/Models/c172p.xml
 Warning: Could not find plugin to read objects from file 
 C:\cygwin\home\jon\flightgear\fgdata\Textures\Sky\overcast.png.
 ... etc. ...
 Warning: Could not find plugin to read objects from file 
 C:\cygwin\home\jon\flightgear\fgdata\Textures\Sky\outer_halo.png.
 using FG_ROOT 
 for:c:/cygwin/home/jon/flightgear/fgdata/Aircraft/Generic/generic-systems.xml
 using FG_ROOT 
 for:c:/cygwin/home/jon/flightgear/fgdata/Aircraft/Generic/Panels/generic-vfr-panel.xml
 using FG_ROOT 
 for:c:/cygwin/home/jon/flightgear/fgdata/Aircraft/Generic/Panels/Textures/panel-bg.rgb
 Warning: Could not find plugin to read objects from file 
 c:/cygwin/home/jon/flightgear/fgdata/Aircraft/Generic/Panels/Textures/panel-bg.rgb.
 using FG_ROOT 
 for:c:/cygwin/home/jon/flightgear/fgdata/Aircraft/Generic/Panels/Textures/generic-panel-01.rgb
 ... etc. ...
 Warning: Could not find plugin to read objects from file 
 c:/cygwin/home/jon/flightgear/fgdata/Fonts/typewriter.txf.
 using FG_ROOT 
 for:c:/cygwin/home/jon/flightgear/fgdata/Aircraft/Instruments/Textures/od_wxradar.rgb
 ... etc. ...
 init contrail
 *** NEW LOCATION ***
 Loading local weather routines...
 using aircraft-dir 
 for:c:/cygwin/home/jon/flightgear/fgdata/Aircraft/c172p/Nasal/liveries.nas
 ... etc. ...
 using aircraft-dir 
 for:c:/cygwin/home/jon/flightgear/fgdata/Aircraft/c172p/Nasal/ki266.nas
 KI266 dme indicator #0 initialized
 using aircraft-dir 
 for:c:/cygwin/home/jon/flightgear/fgdata/Aircraft/c172p/Nasal/c172-electrical.nas
 using FG_ROOT 
 for:c:/cygwin/home/jon/flightgear/fgdata/Aircraft/Generic/kap140.nas
 using aircraft-dir 
 for:c:/cygwin/home/jon/flightgear/fgdata/Aircraft/c172p/Nasal/kr87.nas
 loading scenario 'nimitz_demo'
 creating 3D noise texture... DONE
 failed to load effect texture file 
 C:\cygwin\home\jon\flightgear\fgdata\Textures\Terrain\water.png
 ... etc. ...
 failed to load effect texture file 
 C:\cygwin\home\jon\flightgear\fgdata\Textures\Terrain\water-lake.png
 Failed to load model: Failed to load 3D model:
 from:Models/Maritime/Civilian/ContainerShip.xml
 Failed to load model: Failed to load 3D model:
 from:Models/Maritime/Civilian/SailBoatUnderSail.xml
 failed to load effect texture file 
 C:\cygwin\home\jon\flightgear\fgdata\Textures\Trees\coniferous-summer.png
 Failed to load model: Failed to load 3D model:
 from:Models/Communications/radio-medium.xml
 failed to load effect texture file 
 C:\cygwin\home\jon\flightgear\fgdata\Textures.high\Terrain\deciduous1.png
 ... etc. ...
 Failed to load object Models/Buildings/factory.ac

 *** segfault here ***





 --
 This 

Re: [Flightgear-devel] Building FlightGear under Vista

2010-09-05 Thread Jon S. Berndt
 From: Frederic Bouvier
 
  Please post the result of the set PATH command (under Windows
 prompt,
 not cygwin)
 
 As said in the updated instructions, you must also have the
 3rdParty/bin
 directory in your path as well
 
 To diagnose DLL loading problems, Dependency Walker is your friend.
 
 -Fred

Yes, 3rdParty/bin is there, too. This is my PATH


C:\cygwin\home\jon\flightgearset PATH

Path=%CommonProgramFiles%\Microsoft Shared\Windows 
Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files 
(x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Common 
Files\Roxio Shared\10.0\DLLShared\;C:\Program Files (x86)\Common Files\Roxio 
Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio 
Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio 
Shared\10.0\DLLShared\;C:\cygwin\usr\share\bin;C:\Program Files 
(x86)\QuickTime\QTSystem\;C:\Program Files\Common Files\Microsoft 
Shared\Windows 
Live;c:\cygwin\home\jon\flightgear\install\msvc90\OpenSceneGraph\bin;c:\cygwin\home\jon\flightgear\3rdParty\bin;C:\Program
 Files (x86)\Pinnacle\Shared files\;C:\Program Files (x86)\Pinnacle\Shared 
files\Filter


I know it is set, now, too, because I can type in the name of executables in 
the relevant paths and the commands are found.

It seems obvious to me, though, that if FlightGear cannot load png files, 
cannot load 3D files, and cannot find the audio device, that something more is 
wrong than simply not being able to find the PNG loader DLL. I followed the 
procedure exactly. :-(

Jon



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

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Musings on the range animation

2010-09-05 Thread Tim Moore
On Sun, Sep 5, 2010 at 6:01 PM, thorsten.i.r...@jyu.fi wrote:


 Hi Curt,

  Are you placing your range animation node above each tile or
  above each object in each tile?

 One has to work with the tools available - or write one's owns... with
 range animation I literally mean the xml-tag in the wrapper of a model:


 There's an existing 3D cloud animation system which has had a lot of
optimization work done on it. Have you looked at this at all? What could we
do to integrate your work with that system?

Tim

 typerange/type
  min-m0/min-m
  max-m31000/max-m
 /animation

 Using that tool, you can't organize a scene in subnodes with models
 spawned from Nasal (or maybe you can and I just don't know how).

  I suspect that some careful scene graph
  organization could yield better results than nasal ...

 I have organized clouds in a quadtree structure I wrote for Nasal and in
 arrays when I need it for different purposes. For the problem at hand, I
 want to limit the amount of possible models written into the scenery
 (which is by far the slowest operation) - so the quadtree doesn't buy me
 much - in my scheme I have 10 range comparisons per frame (at the expense
 of not processing everything every frame - which I don't need anyway) -
 the quadtree would need much more (but would process everything every
 frame).

 I tend to use the quadtree representation for things which need to be
 fast, on a per-frame basis, and the array representation for things which
 can be slow and be dragged out over many frames. The quadtree isn't so
 good to solve slow problems - which, surprisingly, exist in rendering :-)

 * Thorsten



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

 Show off your parallel programming skills.
 Enter the Intel(R) Threading Challenge 2010.
 http://p.sf.net/sfu/intel-thread-sfd
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel

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

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Building FlightGear under Vista

2010-09-05 Thread Frederic Bouvier
 Le 05/09/2010 18:24, Jon S. Berndt a écrit :
 From: Frederic Bouvier

  Please post the result of the set PATH command (under Windows
 prompt,
 not cygwin)

 As said in the updated instructions, you must also have the
 3rdParty/bin
 directory in your path as well

 To diagnose DLL loading problems, Dependency Walker is your friend.

 -Fred
 Yes, 3rdParty/bin is there, too. This is my PATH


 C:\cygwin\home\jon\flightgearset PATH

 Path=%CommonProgramFiles%\Microsoft Shared\Windows 
 Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files 
 (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Common 
 Files\Roxio Shared\10.0\DLLShared\;C:\Program Files (x86)\Common Files\Roxio 
 Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio 
 Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio 
 Shared\10.0\DLLShared\;C:\cygwin\usr\share\bin;C:\Program Files 
 (x86)\QuickTime\QTSystem\;C:\Program Files\Common Files\Microsoft 
 Shared\Windows 
 Live;c:\cygwin\home\jon\flightgear\install\msvc90\OpenSceneGraph\bin;c:\cygwin\home\jon\flightgear\3rdParty\bin;C:\Program
  Files (x86)\Pinnacle\Shared files\;C:\Program Files (x86)\Pinnacle\Shared 
 files\Filter


 I know it is set, now, too, because I can type in the name of executables in 
 the relevant paths and the commands are found.

 It seems obvious to me, though, that if FlightGear cannot load png files, 
 cannot load 3D files, and cannot find the audio device, that something more 
 is wrong than simply not being able to find the PNG loader DLL. I followed 
 the procedure exactly. :-(

 Jon

So you should be able to run the command below :

osgviewer
c:\cygwin\home\jon\flightgear\fgdata\Aircraft\c172p\Models\c172p.ac

BTW: I had several times issues with Cygwin setting odd permissions on
files and directories that prevented me to remove files until I assigned
ownership on the files and folders to my Windows account

-Fred

-- 
Frédéric Bouvier
http://my.fotolia.com/frfoto/  Photo gallery - album photo
http://www.youtube.com/user/fgfred64   Videos


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

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Building FlightGear under Vista

2010-09-05 Thread Jon S. Berndt
 From: Frederic Bouvier
 
 BTW: I had several times issues with Cygwin setting odd permissions on
 files and directories that prevented me to remove files until I
 assigned ownership on the files and folders to my Windows account
 
 -Fred


Bingo!

I had already set the permissions via,

chmod 777 pathname/files

for the two directories that you mentioned, but I also HAD to do this for
the OpenSceneGraph/bin subdirectory, osgPlugins-2.9.7. Once I did that,
everything works exactly as it should - even from the cygwin shell. Can you
mention this in the procedure?

Thanks,

Jon



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

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Building FlightGear under Vista

2010-09-05 Thread Frederic Bouvier
 Le 05/09/2010 18:54, Jon S. Berndt a écrit :
 From: Frederic Bouvier

 BTW: I had several times issues with Cygwin setting odd permissions on
 files and directories that prevented me to remove files until I
 assigned ownership on the files and folders to my Windows account

 -Fred

 Bingo!

 I had already set the permissions via,

 chmod 777 pathname/files

 for the two directories that you mentioned, but I also HAD to do this for
 the OpenSceneGraph/bin subdirectory, osgPlugins-2.9.7. Once I did that,
 everything works exactly as it should - even from the cygwin shell. Can you
 mention this in the procedure?


To not use Cygwin ? ;-)

-Fred


-- 
Frédéric Bouvier
http://my.fotolia.com/frfoto/  Photo gallery - album photo
http://www.youtube.com/user/fgfred64   Videos


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

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Building FlightGear under Vista

2010-09-05 Thread Jon S. Berndt
 To not use Cygwin ? ;-)
 
 -Fred

Heh. Almost. But, I can't stand the Windows command shell.

I am still having a few minor issues, though.

1) The audio device is problematic:
Error: Audio device not available, trying default
Error: Default Audio device not available.

2) I'd like the aircraft to start up at the end of the runway, all ready for
takeoff. Can I do that?

3) The propeller disk is white - not transparent, so I can't take off.

Jon




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

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Building FlightGear under Vista

2010-09-05 Thread Frederic Bouvier
 Le 05/09/2010 19:14, Jon S. Berndt a écrit :
 To not use Cygwin ? ;-)

 -Fred
 Heh. Almost. But, I can't stand the Windows command shell.

 I am still having a few minor issues, though.

 1) The audio device is problematic:
 Error: Audio device not available, trying default
 Error: Default Audio device not available.

Try to run 3rdparty/bin/OpenALwEAX.exe

 2) I'd like the aircraft to start up at the end of the runway, all ready for
 takeoff. Can I do that?

You need to press the 's' key to start the engine. There should be a
property to have the engine started but I don't know which one. If you
know it, you can start fgfs with the --prop:/property/to/start/engine=true

 3) The propeller disk is white - not transparent, so I can't take off.

Indeed ( http://frbouvi.free.fr/flightsim/c172p-white-disk.jpg ).  Who
commited c172p files lately ?

-Fred

-- 
Frédéric Bouvier
http://my.fotolia.com/frfoto/  Photo gallery - album photo
http://www.youtube.com/user/fgfred64   Videos


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

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Building FlightGear under Vista

2010-09-05 Thread Jon S. Berndt
  I am still having a few minor issues, though.
 
  1) The audio device is problematic:
  Error: Audio device not available, trying default
  Error: Default Audio device not available.
 
 Try to run 3rdparty/bin/OpenALwEAX.exe

Permission denied   :-(  Strange. That's probably what the problem is, but
why would permission be denied?

Thanks.

Jon




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

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Building FlightGear under Vista

2010-09-05 Thread Frederic Bouvier
 Le 05/09/2010 19:36, Jon S. Berndt a écrit :
 I am still having a few minor issues, though.

 1) The audio device is problematic:
 Error: Audio device not available, trying default
 Error: Default Audio device not available.
 Try to run 3rdparty/bin/OpenALwEAX.exe
 Permission denied   :-(  Strange. That's probably what the problem is, but
 why would permission be denied?


I can only repeat: your cygwin setup wrecked the vista permissions. Go
in the explorer, open properties, go to security tabs, Advanced, Owner
tabs and check the owner of the files and directories is really your
Windows account, and not a cygwin account.

-Fred

-- 
Frédéric Bouvier
http://my.fotolia.com/frfoto/  Photo gallery - album photo
http://www.youtube.com/user/fgfred64   Videos


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

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Building FlightGear under Vista

2010-09-05 Thread Jon S. Berndt
 I can only repeat: your cygwin setup wrecked the vista permissions. Go
 in the explorer, open properties, go to security tabs, Advanced, Owner
 tabs and check the owner of the files and directories is really your
 Windows account, and not a cygwin account.
 
 -Fred

Already checked via cygwin *and* Windows explorer. 

Jon



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

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Building FlightGear under Vista

2010-09-05 Thread Frederic Bouvier

- Jon S. Berndt jonsber...@comcast.net a écrit :

  I can only repeat: your cygwin setup wrecked the vista permissions.
 Go
  in the explorer, open properties, go to security tabs, Advanced,
 Owner
  tabs and check the owner of the files and directories is really
 your
  Windows account, and not a cygwin account.
  
  -Fred
 
 Already checked via cygwin *and* Windows explorer. 

Alternatively, you can download and install 
http://connect.creativelabs.com/openal/Downloads/oalinst.zip

-Fred


-- 
Frédéric Bouvier
http://my.fotolia.com/frfoto/  Photo gallery - album photo
http://www.youtube.com/user/fgfred64   Videos


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

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Building FlightGear under Vista

2010-09-05 Thread Stuart Buchanan
On Sun, Sep 5, 2010 at 6:30 PM, Frederic Bouvier wrote:
 3) The propeller disk is white - not transparent, so I can't take off.

 Indeed ( http://frbouvi.free.fr/flightsim/c172p-white-disk.jpg ).  Who
 commited c172p files lately ?

Whoops!

That was me not check-flying the aircraft properly before committing.

I'll get it fixed shortly.

-Stuart

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

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Aircraft dirs (and noisy output atlog-level=info)

2010-09-05 Thread Ron Jensen
On Sunday 05 September 2010 05:26:33 James Turner wrote:
 On 5 Sep 2010, at 11:29, Alan Teeder wrote:
  All runs until I attempt Auto Engine Start from the Lightning
  Configuration menu, when fgfs crashes.
 
  If I restore the original Lightning aircraft directory in FGROOT, even
  after starting up fgfs, but before attempting the engine start,
  everything runs OK.
 
  Hope this give you enough to go on.

 Ouch!

 This should be enough to reproduce, I'll post back here once I see what's
 going on.

 James

Hi James,

I tried this feature yesterday... My $FG_ROOT is in the standard debian place 
(/usr/share/games/FlightGear), but I did not have the fokker100 aircraft 
installed in $FG_ROOT

$fgfs --aircraft-dir=/home/jentron/fg/fgdata/Aircraft/fokker100 
--aircraft=fokker100
Cannot find specified aircraft: fokker100
Config option parsing failed ...

requires a valid fokker100 in $FG_ROOT and then will switch to the specified 
path for some things

The -set file and everything it includes come from fgroot.

So, I copied the -set file, and its includes to $FG_ROOT and tried again:

loadxml: 
reading 
'/home/jentron/fg/fgdata/Aircraft/fokker100/Models/Liveries/KoreanAir.xml' 
denied (unauthorized access)

Nasal is forbidden from reading outside of a few specified directories, so a 
modification (at least locally) to Nasal/IOrules is needed.  I don't think it 
would be desirable to make $HOME globally readable.  Looking at IOrules there 
is an $FG_AIRCRAFT.  Should '--aircraft=' set that variable?

Fatal error: Failed to load wav file: I/O error
at /usr/share/games/FlightGear/Aircraft/fokker100/Sounds/altitude-10.wav


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

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Aircraft dirs (and noisy output atlog-level=info)

2010-09-05 Thread Durk Talsma
Hi Ron,

On Sunday, September 05, 2010 09:12:27 pm Ron Jensen wrote:
 $fgfs --aircraft-dir=/home/jentron/fg/fgdata/Aircraft/fokker100
 --aircraft=fokker100 Cannot find specified aircraft: fokker100
 Config option parsing failed ...
 

The correct option is --fg-aircraft. --aircraft-dir is (presumably) an older 
option that is unrelated to the new aircraft infrastructure recently developed 
by James.

I actually ran into the same issue earlier on. I can't recall what the 
original intention of the --aircraft-dir option was, and wonder whether it 
should be retained in the current code base.

Cheers,
Durk

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

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Aircraft dirs (and noisy output atlog-level=info)

2010-09-05 Thread Ron Jensen
On Sunday 05 September 2010 13:26:45 Durk Talsma wrote:
 Hi Ron,
 The correct option is --fg-aircraft. --aircraft-dir is (presumably) an
 older option that is unrelated to the new aircraft infrastructure recently
 developed by James.

 I actually ran into the same issue earlier on. I can't recall what the
 original intention of the --aircraft-dir option was, and wonder whether it
 should be retained in the current code base.

 Cheers,
 Durk

OK, I tried 
$fgfs --help --verbose
That came up with --aircraft-dir but not --fg-aircraft.

Thanks,
Ron

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

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Musings on the range animation

2010-09-05 Thread Martin Spott
thorsten.i.r...@jyu.fi wrote:

 One has to work with the tools available - or write one's owns... with
 range animation I literally mean the xml-tag in the wrapper of a model:
 
 
 animation
  typerange/type
  min-m0/min-m
  max-m31000/max-m
 /animation

This reminds me that people found similar animation patterns for
'common' Scenery models to be pretty expensive as well.

Cheers,
Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--

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

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Building FlightGear under Vista

2010-09-05 Thread Jon S. Berndt
 Whoops!
 
 That was me not check-flying the aircraft properly before committing.
 
 I'll get it fixed shortly.
 
 -Stuart

How does one do updates via git? And how will we know when the propeller has
been fixed?

Jon



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

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] CameraGroup.cxx hack

2010-09-05 Thread Rahul
I went through Readme.multiscreen
Apparently FlightGear2.0.0 cannot have more than one camera group.
But i need this. I think i might be able to achieve this if i modify the
code in
CameraGroup.cxx . Its a bit tough for me to understand though.
Any help regarding how this Camera Group system in flightGear works out
would be
much appreciated.

I need to be able to have more than one master camera so that i can change
their views independently.
I wont be needing any slave cameras.
Thanks

-- 
Rahul Roy
Ph #: +917259516983
-
--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel