RE: [Flightgear-devel] MD-11

2004-05-07 Thread Richard Bytheway
> From: Durk Talsma
> Sent: 07 May 2004 7:20 am
> To: FlightGear developers discussions
> Subject: Re: [Flightgear-devel] MD-11
> 
> 
> On Friday 07 May 2004 07:56, Innis Cunningham wrote:
> > Hi Ampere
> > See JPG for how the MD11 appeared in FG9.2 and 9.4.
> > Maybe someone on the list has a simple answer.I don't
> > think it is anything at my end.
> >
> 
> Innis,
> 
> You just beat me by about 30 seconds posting a screenshot. :-)
> 
> Anyways, here's mine...
> http://members.ams.chello.nl/d.talsma/md11-model.jpg
> 
> It's my impression that some transformation paramters are not 
> properly 
> recognized in FlightGear/plib, or perhaps done in the wrong order.
> 
> Cheers,
> Durk
> 

No, I think you two just crashed it :-)

Richard

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] MD-11

2004-05-07 Thread Innis Cunningham
Hi Durk
I have converted it to AC3D to allow me to move it around.
It appears that for what ever reason everything is coming
out left handed,eg the wings horizontal and vertical stab
are all showing as left hand pieces.My guess is it is something
Ampere has or has not set at his end.Because I am sure I
have seen 3DS models in FG before with no problems.
Cheers
Innis
Durk Talsma writes
On Friday 07 May 2004 07:56, Innis Cunningham wrote:
> Hi Ampere
> See JPG for how the MD11 appeared in FG9.2 and 9.4.
> Maybe someone on the list has a simple answer.I don't
> think it is anything at my end.
>
Innis,

You just beat me by about 30 seconds posting a screenshot. :-)

Anyways, here's mine...
http://members.ams.chello.nl/d.talsma/md11-model.jpg
It's my impression that some transformation paramters are not properly
recognized in FlightGear/plib, or perhaps done in the wrong order.
Cheers,
Durk


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
_
Personalise your mobile chart ringtones and polyphonics. Go to  
http://ringtones.com.au/ninemsn/control?page=/ninemsn/main.jsp

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] MD-11

2004-05-07 Thread Chris Horler

> No, I think you two just crashed it :-)
pipped at the post...

Is this the plane where the three hydraulics systems pass adjacent to each 
other next to the tail engine?

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] MD-11

2004-05-07 Thread Erik Hofman
Innis Cunningham wrote:
Hi Ampere
See JPG for how the MD11 appeared in FG9.2 and 9.4.
Maybe someone on the list has a simple answer.I don't
think it is anything at my end.
I got exactly the same when importing it in AC3D ...

Erik

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] MD-11

2004-05-07 Thread David Megginson
Innis Cunningham wrote:

See JPG for how the MD11 appeared in FG9.2 and 9.4.
Maybe someone on the list has a simple answer.I don't
think it is anything at my end.
Plib's 3DS loader tends to mess up the geometry -- I remember that from 
experiments a year or two ago.  I think that our only fully-functioning 
loaders (including textures) are AC3D and the MSFS one.

All the best,

David

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] MD-11

2004-05-07 Thread David Megginson
Chris Horler wrote:

Is this the plane where the three hydraulics systems pass adjacent to each 
other next to the tail engine?
It was its predecessor, the DC-10, that had the crash because of that; I'm 
not sure what changes they made in the MD-11.

It is the plane that was involved in the Swissair crash a few years ago, due 
to an electrical fire.

All the best,

David

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


[Flightgear-devel] openal lib problem

2004-05-07 Thread Josh Babcock
I just did my first recompile in a few months and everything seemed to build fine including openal, 
but at runtime I get this:

[EMAIL PROTECTED] SimGear]$ fgfs
fgfs: error while loading shared libraries: libopenal.so.0: cannot open shared object file: No such 
file or directory
[EMAIL PROTECTED] SimGear]$ ls -l /usr/local/lib/*openal*
-rwxr-xr-x1 root root   424510 May  6 17:09 /usr/local/lib/libopenal.a
lrwxrwxrwx1 root root   33 May  6 17:09 /usr/local/lib/libopenal.so -> 
/usr/local/lib/libopenal.so.0.0.7
lrwxrwxrwx1 root root   33 May  6 17:09 /usr/local/lib/libopenal.so.0 -> 
/usr/local/lib/libopenal.so.0.0.7
-rwxr-xr-x1 root root   330457 May  6 17:09 /usr/local/lib/libopenal.so.0.0.7

Anybody know what I did wrong?  I even ran a few of the tests, and they seemed to run fine.

Josh

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] openal lib problem

2004-05-07 Thread Josh Babcock
Josh Babcock wrote:
I just did my first recompile in a few months and everything seemed to 
build fine including openal, but at runtime I get this:

[EMAIL PROTECTED] SimGear]$ fgfs
fgfs: error while loading shared libraries: libopenal.so.0: cannot open 
shared object file: No such file or directory
[EMAIL PROTECTED] SimGear]$ ls -l /usr/local/lib/*openal*
-rwxr-xr-x1 root root   424510 May  6 17:09 
/usr/local/lib/libopenal.a
lrwxrwxrwx1 root root   33 May  6 17:09 
/usr/local/lib/libopenal.so -> /usr/local/lib/libopenal.so.0.0.7
lrwxrwxrwx1 root root   33 May  6 17:09 
/usr/local/lib/libopenal.so.0 -> /usr/local/lib/libopenal.so.0.0.7
-rwxr-xr-x1 root root   330457 May  6 17:09 
/usr/local/lib/libopenal.so.0.0.7

Anybody know what I did wrong?  I even ran a few of the tests, and they 
seemed to run fine.

Josh

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Oh, yeah SimGear and FlightGear were straight out of CVS this morning.

Josh

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] openal lib problem

2004-05-07 Thread Andy Ross
Josh Babcock wrote:
> I just did my first recompile in a few months and everything seemed to
> build fine including openal, but at runtime I get this:
>
> fgfs: error while loading shared libraries: libopenal.so.0: cannot
>open shared object file: No such file or directory
>
> $ ls -l /usr/local/lib/*openal*
> lrwxrwxrwx1 root root   33 May  6 17:09
> /usr/local/lib/libopenal.so
> -> /usr/local/lib/libopenal.so.0.0.7
>
> Anybody know what I did wrong?

Many distributions don't include /usr/local/lib on the default shared
library path.  Try setting it via an environment variable:

  export LD_LIBRARY_PATH=/usr/local/lib

And see if that fixes the problem.  If it does, then consider adding
"/usr/local/lib" as a line in /etc/ld.so.conf (the global list of
directories to search).  Then you either need to run "ldconfig" or
reboot to refresh the cache.

Andy

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] openal lib problem

2004-05-07 Thread Curtis L. Olson
Josh,

Add /usr/local/lib (or where ever you installed libopenal.so) to 
/etc/ld.so.conf and run ldconfig.

Curt.

Josh Babcock wrote:

I just did my first recompile in a few months and everything seemed to 
build fine including openal, but at runtime I get this:

[EMAIL PROTECTED] SimGear]$ fgfs
fgfs: error while loading shared libraries: libopenal.so.0: cannot 
open shared object file: No such file or directory
[EMAIL PROTECTED] SimGear]$ ls -l /usr/local/lib/*openal*
-rwxr-xr-x1 root root   424510 May  6 17:09 
/usr/local/lib/libopenal.a
lrwxrwxrwx1 root root   33 May  6 17:09 
/usr/local/lib/libopenal.so -> /usr/local/lib/libopenal.so.0.0.7
lrwxrwxrwx1 root root   33 May  6 17:09 
/usr/local/lib/libopenal.so.0 -> /usr/local/lib/libopenal.so.0.0.7
-rwxr-xr-x1 root root   330457 May  6 17:09 
/usr/local/lib/libopenal.so.0.0.7

Anybody know what I did wrong?  I even ran a few of the tests, and 
they seemed to run fine.

Josh

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


--
Curtis Olsonhttp://www.flightgear.org/~curt 
HumanFIRST Program  http://www.humanfirst.umn.edu/
FlightGear Project  http://www.flightgear.org
Unique text:2f585eeea02e2c79d7b1d8c4963bae2d

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] MD-11

2004-05-07 Thread Durk Talsma
Yeah, isn't it cool how an Aussie and a Dutchman manage to crash crash this 
bird on opposite sides of the planet simultaneously, and manage to scatter 
the debris around in _exactly_ the same pattern?? :-)

Cheers,
Durk

On Friday 07 May 2004 09:07, Richard Bytheway wrote:
> > From: Durk Talsma
> > Sent: 07 May 2004 7:20 am
> > To: FlightGear developers discussions
> > Subject: Re: [Flightgear-devel] MD-11
> >
> > On Friday 07 May 2004 07:56, Innis Cunningham wrote:
> > > Hi Ampere
> > > See JPG for how the MD11 appeared in FG9.2 and 9.4.
> > > Maybe someone on the list has a simple answer.I don't
> > > think it is anything at my end.
> >
> > Innis,
> >
> > You just beat me by about 30 seconds posting a screenshot. :-)
> >
> > Anyways, here's mine...
> > http://members.ams.chello.nl/d.talsma/md11-model.jpg
> >
> > It's my impression that some transformation paramters are not
> > properly
> > recognized in FlightGear/plib, or perhaps done in the wrong order.
> >
> > Cheers,
> > Durk
>
> No, I think you two just crashed it :-)
>
> Richard
>
> ___
> Flightgear-devel mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] MD-11

2004-05-07 Thread Ampere K. Hardraade
hmm everything is coming out of left handed... I think I know what might 
be the problem.  I think I may know a way to fix it.

Regards,
Ampere

On May 7, 2004 03:14 am, Innis Cunningham wrote:
> Hi Durk
> I have converted it to AC3D to allow me to move it around.
> It appears that for what ever reason everything is coming
> out left handed,eg the wings horizontal and vertical stab
> are all showing as left hand pieces.My guess is it is something
> Ampere has or has not set at his end.Because I am sure I
> have seen 3DS models in FG before with no problems.
>
> Cheers
> Innis
>
> Durk Talsma writes
>
> >On Friday 07 May 2004 07:56, Innis Cunningham wrote:
> > > Hi Ampere
> > > See JPG for how the MD11 appeared in FG9.2 and 9.4.
> > > Maybe someone on the list has a simple answer.I don't
> > > think it is anything at my end.
> >
> >Innis,
> >
> >You just beat me by about 30 seconds posting a screenshot. :-)
> >
> >Anyways, here's mine...
> >http://members.ams.chello.nl/d.talsma/md11-model.jpg
> >
> >It's my impression that some transformation paramters are not properly
> >recognized in FlightGear/plib, or perhaps done in the wrong order.
> >
> >Cheers,
> >Durk
> >
> >
> >
> >___
> >Flightgear-devel mailing list
> >[EMAIL PROTECTED]
> >http://mail.flightgear.org/mailman/listinfo/flightgear-devel
>
> _
> Personalise your mobile chart ringtones and polyphonics. Go to
> http://ringtones.com.au/ninemsn/control?page=/ninemsn/main.jsp
>
>
> ___
> Flightgear-devel mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] openal lib problem

2004-05-07 Thread Josh Babcock
Andy Ross wrote:
Josh Babcock wrote:

I just did my first recompile in a few months and everything seemed to
build fine including openal, but at runtime I get this:
fgfs: error while loading shared libraries: libopenal.so.0: cannot
  open shared object file: No such file or directory
$ ls -l /usr/local/lib/*openal*
lrwxrwxrwx1 root root   33 May  6 17:09
   /usr/local/lib/libopenal.so
   -> /usr/local/lib/libopenal.so.0.0.7
Anybody know what I did wrong?


Many distributions don't include /usr/local/lib on the default shared
library path.  Try setting it via an environment variable:
  export LD_LIBRARY_PATH=/usr/local/lib

And see if that fixes the problem.  If it does, then consider adding
"/usr/local/lib" as a line in /etc/ld.so.conf (the global list of
directories to search).  Then you either need to run "ldconfig" or
reboot to refresh the cache.
Andy

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
Thanks, I knew I was missing something simple.

Josh

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] Cygwin and OpenAL

2004-05-07 Thread David Luff


On 5/6/04 at 10:18 PM Jon Berndt wrote:

>Was the OpenAL/Cygwin issue ever cleared up? I can't update my FlightGear
>codebase.
>

It should build OK now if you download and install the openal libs from
Norman.  Sound was tolerable, although there is a pause every now and then.
 I'm on low-end sound hardware though.

Cheers - Dave


This message has been scanned but we cannot guarantee that it and any
attachments are free from viruses or other damaging content: you are
advised to perform your own checks.  Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] openal lib problem

2004-05-07 Thread Jim Wilson
Josh Babcock said:

> Josh Babcock wrote:
> > I just did my first recompile in a few months and everything seemed to 
> > build fine including openal, but at runtime I get this:
> > 
> > [EMAIL PROTECTED] SimGear]$ fgfs
> > fgfs: error while loading shared libraries: libopenal.so.0: cannot open 
> > shared object file: No such file or directory
> > [EMAIL PROTECTED] SimGear]$ ls -l /usr/local/lib/*openal*
> > -rwxr-xr-x1 root root   424510 May  6 17:09 
> > /usr/local/lib/libopenal.a
> > lrwxrwxrwx1 root root   33 May  6 17:09 
> > /usr/local/lib/libopenal.so -> /usr/local/lib/libopenal.so.0.0.7
> > lrwxrwxrwx1 root root   33 May  6 17:09 
> > /usr/local/lib/libopenal.so.0 -> /usr/local/lib/libopenal.so.0.0.7
> > -rwxr-xr-x1 root root   330457 May  6 17:09 
> > /usr/local/lib/libopenal.so.0.0.7
> > 
> > Anybody know what I did wrong?  I even ran a few of the tests, and they 
> > seemed to run fine.
> > 
> > Josh
> > 
> > ___
> > Flightgear-devel mailing list
> > [EMAIL PROTECTED]
> > http://mail.flightgear.org/mailman/listinfo/flightgear-devel
> > 
> Oh, yeah SimGear and FlightGear were straight out of CVS this morning.
> 

That openal install doesn't update your linker bindings.  Just run ldconfig
and the library will be found.

That reminds me...it appears that there are no "releases" so to speak of
openal.  I could only find cvs.  Anyone know more about this?  Will this be an
issue for our *nix users or do the latest distros all include some form of openal?

Best,

Jim


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] openal lib problem

2004-05-07 Thread Jim Wilson
"Curtis L. Olson" said:

> Josh,
> 
> Add /usr/local/lib (or where ever you installed libopenal.so) to 
> /etc/ld.so.conf and run ldconfig.
> 
> Curt.

On my system the install just didn't do the binding step, but yeah if that 
isn't there ldconfig won't work anyway.

Best,

Jim


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] MD-11

2004-05-07 Thread Durk Talsma
Cool! Drop us a note, when you think you fixed it, and I'm sure Innis and I 
are eager to compete for the next round of screenshots. :-)

Cheers,
Durk

On Friday 07 May 2004 18:58, Ampere K. Hardraade wrote:
> hmm everything is coming out of left handed... I think I know what
> might be the problem.  I think I may know a way to fix it.
>
> Regards,
> Ampere
>
> On May 7, 2004 03:14 am, Innis Cunningham wrote:
> > Hi Durk
> > I have converted it to AC3D to allow me to move it around.
> > It appears that for what ever reason everything is coming
> > out left handed,eg the wings horizontal and vertical stab
> > are all showing as left hand pieces.My guess is it is something
> > Ampere has or has not set at his end.Because I am sure I
> > have seen 3DS models in FG before with no problems.
> >
> > Cheers
> > Innis
> >
> > Durk Talsma writes
> >
> > >On Friday 07 May 2004 07:56, Innis Cunningham wrote:
> > > > Hi Ampere
> > > > See JPG for how the MD11 appeared in FG9.2 and 9.4.
> > > > Maybe someone on the list has a simple answer.I don't
> > > > think it is anything at my end.
> > >
> > >Innis,
> > >
> > >You just beat me by about 30 seconds posting a screenshot. :-)
> > >
> > >Anyways, here's mine...
> > >http://members.ams.chello.nl/d.talsma/md11-model.jpg
> > >
> > >It's my impression that some transformation paramters are not properly
> > >recognized in FlightGear/plib, or perhaps done in the wrong order.
> > >
> > >Cheers,
> > >Durk
> > >
> > >
> > >
> > >___
> > >Flightgear-devel mailing list
> > >[EMAIL PROTECTED]
> > >http://mail.flightgear.org/mailman/listinfo/flightgear-devel
> >
> > _
> > Personalise your mobile chart ringtones and polyphonics. Go to
> > http://ringtones.com.au/ninemsn/control?page=/ninemsn/main.jsp
> >
> >
> > ___
> > Flightgear-devel mailing list
> > [EMAIL PROTECTED]
> > http://mail.flightgear.org/mailman/listinfo/flightgear-devel
>
> ___
> Flightgear-devel mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] openal lib problem

2004-05-07 Thread Curtis L. Olson
Jim Wilson wrote:

That reminds me...it appears that there are no "releases" so to speak of
openal.  I could only find cvs.  Anyone know more about this?  Will this be an
issue for our *nix users or do the latest distros all include some form of openal?
 

I was a little dismayed to discover this too.  I think the distros tend 
to just release a cvs snapshot can call it something like 
libopenal-2003020200 for the MMDDHH they did the check out.  OpenAL 
definitely has some "management" annoyances.  Other gripes are changes 
in the API between, uhhh, "versions", and unexplainable API differences 
between platforms.

But, it's got a lot to offer at the same time so I still think it's 
worth using.

Curt.

--
Curtis Olsonhttp://www.flightgear.org/~curt 
HumanFIRST Program  http://www.humanfirst.umn.edu/
FlightGear Project  http://www.flightgear.org
Unique text:2f585eeea02e2c79d7b1d8c4963bae2d

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] MD-11

2004-05-07 Thread Jon S Berndt
On Fri, 7 May 2004 19:26:22 +0200
 Durk Talsma <[EMAIL PROTECTED]> wrote:
Cool! Drop us a note, when you think you fixed it, and I'm sure Innis 
and I are eager to compete for the next round of screenshots. :-)

Cheers,
Durk
Someone sent me an MD-11 FDM for JSBSim a couple of weeks ago.  I 
don't have that witrh me at the moment, and I also don't remember who 
sent it. Who was that, and where does that stand? Do you still need 
some more help?

Jon

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] MD-11

2004-05-07 Thread Durk Talsma
Hi Jon,

That was me. The problem was that upon initialization the aircraft tumbles 
over and settles on the runway with a bang. Innis Cunningham discovered that 
we could solve the problem in part by moving the main gears and CoG forward 
to 850 units or less. We have a version in cvs now which still shows the 
problem.  I made the original version using aeromatic. 

Please let me know whether I need to resend you the files. I can't do it today 
anymore though.

Cheers,
Durk

On Friday 07 May 2004 19:28, Jon S Berndt wrote:
> On Fri, 7 May 2004 19:26:22 +0200
>
>   Durk Talsma <[EMAIL PROTECTED]> wrote:
> >Cool! Drop us a note, when you think you fixed it, and I'm sure Innis
> >and I are eager to compete for the next round of screenshots. :-)
> >
> >Cheers,
> >Durk
>
> Someone sent me an MD-11 FDM for JSBSim a couple of weeks ago.  I
> don't have that witrh me at the moment, and I also don't remember who
> sent it. Who was that, and where does that stand? Do you still need
> some more help?
>
> Jon
>
> ___
> Flightgear-devel mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] MD-11

2004-05-07 Thread Jon S Berndt
On Fri, 7 May 2004 20:03:22 +0200
 Durk Talsma <[EMAIL PROTECTED]> wrote:
Hi Jon,

That was me. The problem was that upon initialization the aircraft 
tumbles 
over and settles on the runway with a bang. Innis Cunningham 
discovered that 
we could solve the problem in part by moving the main gears and CoG 
forward 
to 850 units or less. We have a version in cvs now which still shows 
the 
problem.  I made the original version using aeromatic. 

Please let me know whether I need to resend you the files. I can't do 
it today 
anymore though.
Yes, I suppose I can get it from the base package CVS, but it would be 
easier if you had a moment if you could send me the latest aircraft 
and engine files (unless the engine has not changed).

Jon

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


[Flightgear-devel] little tool

2004-05-07 Thread Josh Babcock
I got tired of chasing around errors in my animation file causing segfaults when 
I mess around with a .ac file, so I dusted off the old Perl Cookbook and wrote this:

#!/usr/bin/perl -w

# Quick & dirty script to find booboos in FlightGear animation files
# May 2004 Joshua Babcock [EMAIL PROTECTED]
use strict;

if ( $#ARGV != 1 ) {
print "Usage: $0  \n";
exit;
}
my %Objects;
my %References;
my $Key;
my $Object;
my $Num;
my $First;
my $ObjCount=0;
my $CheckForm=1;
# Put whatever you want in here to check for poorly formatted object names.
sub CheckForm {
my $Bad=0;
$Object=$_[0];
$Object !~ /^[A-Z].*/ && ($Bad=1);
$Object =~ /\W/ && ($Bad=1);
$Object =~ /\s/ && ($Bad=1);
$Object =~ /\./ && ($Bad=1);
print "$Object poorly formatted\n" if $Bad;
}
# Make a hash of all the object names in the AC3D file.
open (AC3D, $ARGV[1]) or die "Could not open $ARGV[1]";
while () {
/^name \"(\w*)\"/ && ($Objects{$1}+=1);
}
close AC3D;
# Check for duplicates and proper format.
foreach $Key (keys %Objects) {
print "$Objects{$Key} instances of $1\n" if ($Objects{$Key}>1);
&CheckForm($Key) if $CheckForm;
++$ObjCount;
}
print "$ObjCount objects found.\n\n";
# Make a hash of objects in the XML file that do not reference an object in the 
AC3D file.
open (XML, $ARGV[0]) or die "Could not open $ARGV[0]";
while () {
m|(.*)|;
$1 ? ($Object=$1) : ($Object='');
if (! exists($Objects{$Object})) {
# voodoo, "Perl Cookbook", p140
push( @{$References{$Object}}, $.);
}
}
close XML;

# List all the bad referencees.
foreach $Key (keys %References) {
$First=1;
print "Non-existant object $Key at line";
print "s" if (scalar( @{$References{$Key}}) > 1);
print ":";
foreach $Num (@{$References{$Key}}) {
print "," if not $First;
print " $Num"
}
print "\n";
}
exit 0;

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] little tool

2004-05-07 Thread Josh Babcock
Josh Babcock wrote:
I got tired of chasing around errors in my animation file causing 
segfaults when I mess around with a .ac file, so I dusted off the old 
Perl Cookbook and wrote this:

Nothing like posting something to gaurantee that you find some bugs.  Here it is 
again, also anyone feel free to put this in CVS if you want.

Josh





#!/usr/bin/perl -w

# Quick & dirty script to find booboos in FlightGear animation files
# May 2004 Joshua Babcock [EMAIL PROTECTED]
use strict;

if ( $#ARGV != 1 ) {
print "Usage: $0  \n";
exit;
}
my %Objects;
my %References;
my $Key;
my $Object;
my $Num;
my $First;
my $ObjCount=0;
my $CheckForm=1;
# Put whatever you want in here to check for poorly formatted object names.
sub CheckForm {
my $Bad=0;
$_[0] !~ /^[A-Z].*/ && ($Bad=1);
$_[0] =~ /\W/ && ($Bad=1);
print "$_[0] poorly formatted\n" if $Bad;
}
# Make a hash of all the object names in the AC3D file.
open (AC3D, $ARGV[1]) or die "Could not open $ARGV[1]";
while () {
/^name \"(.*)\"/ && ($Objects{$1}+=1);
}
close AC3D;
# Check for duplicates and proper format.
foreach $Key (keys %Objects) {
print "$Objects{$Key} instances of $1\n" if ($Objects{$Key}>1);
&CheckForm($Key) if $CheckForm;
++$ObjCount;
}
print "$ObjCount objects found.\n\n";
# Make a hash of objects in the XML file that do not reference an object in the 
AC3D file.
open (XML, $ARGV[0]) or die "Could not open $ARGV[0]";
while () {
m|(.*)|;
$1 ? ($Object=$1) : ($Object='');
if (! exists($Objects{$Object})) {
# voodoo, "Perl Cookbook", p140
push( @{$References{$Object}}, $.);
}
}
close XML;

# List all the bad referencees.
foreach $Key (keys %References) {
$First=1;
print "Non-existant object $Key at line";
print "s" if (scalar( @{$References{$Key}}) > 1);
print ":";
foreach $Num (@{$References{$Key}}) {
$First ? ($First=0) : (print ",");
print " $Num"
}
print "\n";
}
exit 0;

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] MD-11

2004-05-07 Thread Arnt Karlsen
On Fri, 7 May 2004 18:45:56 +0200, Durk wrote in message 
<[EMAIL PROTECTED]>:

> Yeah, isn't it cool how an Aussie and a Dutchman manage to crash crash
> this bird on opposite sides of the planet simultaneously, and manage
> to scatter the debris around in _exactly_ the same pattern?? :-)

..wave rider midair?  ;-)

-- 
..med vennlig hilsen = with Kind Regards from Arnt... ;-)
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.



___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] little tool

2004-05-07 Thread Josh Babcock
Josh Babcock wrote:
Josh Babcock wrote:

I got tired of chasing around errors in my animation file causing 
segfaults when I mess around with a .ac file, so I dusted off the old 
Perl Cookbook and wrote this:

Nothing like posting something to gaurantee that you find some bugs.  
Here it is again, also anyone feel free to put this in CVS if you want.

Josh
This statement still stands.#!/usr/bin/perl -w

# Quick & dirty script to find booboos in FlightGear animation files
# May 2004 Joshua Babcock [EMAIL PROTECTED]
use strict;

if ( $#ARGV != 1 ) {
print "Usage: $0  \n";
exit;
}
my %Objects;
my %References;
my $Key;
my $Num;
my $First;
my $ObjCount=0;
my $CheckForm=1;
# Put whatever you want in here to check for poorly formatted object names.
sub CheckForm {
my $Bad=0;
$_[0] !~ /^[A-Z].*/ && ($Bad=1);
$_[0] =~ /\W/ && ($Bad=1);
print "$_[0] poorly formatted\n" if $Bad;
}
# Make a hash of all the object names in the AC3D file.
open (AC3D, $ARGV[1]) or die "Could not open $ARGV[1]";
while () {
/^name \"(.*)\"/ && ($Objects{$1}+=1);
}
close AC3D;
# Check for duplicates and proper format.
foreach $Key (keys %Objects) {
print "$Objects{$Key} instances of $1\n" if ($Objects{$Key}>1);
&CheckForm($Key) if $CheckForm;
++$ObjCount;
}
print "$ObjCount objects found.\n\n";
# Make a hash of objects in the XML file that do not reference an object in the 
AC3D file.
open (XML, $ARGV[0]) or die "Could not open $ARGV[0]";
while () {
if (m|(.*)| && ! exists($Objects{$1})) {
# voodoo, "Perl Cookbook", p140
push( @{$References{$1}}, $.);
}
}
close XML;

# List all the bad referencees.
foreach $Key (keys %References) {
$First=1;
print "Non-existant object $Key at line";
print "s" if (scalar( @{$References{$Key}}) > 1);
print ":";
foreach $Num (@{$References{$Key}}) {
$First ? ($First=0) : (print ",");
print " $Num"
}
print "\n";
}
exit 0;



___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] MD-11

2004-05-07 Thread Ampere K. Hardraade
It is fixed: http://www.cs.yorku.ca/~cs233144/MD-11.3ds

Regards,
Ampere

On May 7, 2004 01:26 pm, Durk Talsma wrote:
> Cool! Drop us a note, when you think you fixed it, and I'm sure Innis and I
> are eager to compete for the next round of screenshots. :-)
>
> Cheers,
> Durk
> ___
> Flightgear-devel mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


[Flightgear-devel] FlightGear news letter

2004-05-07 Thread Curtis L. Olson
For an upcoming newsletter article I am [hopefully] writing an 
introduction to modeling aircraft flight dynamics in YASim.

For a subsequent issue of the newsletter I think I'd like to walk the 
reader through the process of creating a specific aircraft model in 
YASim.  I have borrowed a POH for a Super King Air 200/200C which gives 
a *ton* of great information for modeling the aircraft's flight 
dynamics, so I think this would make a great candidate for this 
exercise.  (It would be nice to have a few more turboprops in 
flightgear, and the king air is just a really cool design and would be 
good to have anyway.)

So my question is this.  Are there any 3D modelers out there who would 
be interested in participating in this exercise by creating a (or 
adapting an existing?) 3D model for the King Air 200 and 
animating/texturing it?  I don't know if there is any 3d models from 
MSFS land we could get permission to use/adapt?

Is there anyone who would like to do a 2D or 3D cockpit?  We have a nice 
2D cockpit for a Beech 99 (which is similar) so that might serve as a 
reasonable starting point.

At the end of the article, after the reader has walked through the 
process of building a king air dynamics model, it would be great if they 
could then drop it in with a nice 3d model and cockpit and go and fly 
it.  If we wanted, these efforts to build the 3d model and cockpit could 
be documented and turn into sister articles for the newsletter, but that 
wouldn't be strictly necessary.

Any one interested in collaborating on this?  Let me know.

Thanks!

Curt.

--
Curtis Olsonhttp://www.flightgear.org/~curt 
HumanFIRST Program  http://www.humanfirst.umn.edu/
FlightGear Project  http://www.flightgear.org
Unique text:2f585eeea02e2c79d7b1d8c4963bae2d

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


[Flightgear-devel] animation troubles

2004-05-07 Thread Josh Babcock
I'm having trouble getting some animations that used to work to function with 
0.9.4 (recent CVS, actually).  I know that the animations should work, here is 
an example of one that used to work but doesn't.  I haven't changed anything, 
except the .ac file.  The objects definitely exist, and definitely have multiple 
faces. Where should I look to find this problem?

Josh







 b29.ac

 
  
  -11
 
 
 
  rotate
  YokePitch
  controls/flight/elevator
  -15
  
   1.58
   0.0
   -0.34
  
  
   0.0
   1.0
   0.0
  
 


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] MD-11

2004-05-07 Thread Durk Talsma
Cool! This is a huge improvement already:

http://members.chello.nl/d.talsma/md11-model-2.jpg

I'm still seeing a bit of a displacement to the right on some parts. Most 
notably the wing flaps and some parts of the tail engine. 

Cheers,
Durk

On Friday 07 May 2004 23:29, Ampere K. Hardraade wrote:
> It is fixed: http://www.cs.yorku.ca/~cs233144/MD-11.3ds
>
> Regards,
> Ampere
>
> On May 7, 2004 01:26 pm, Durk Talsma wrote:
> > Cool! Drop us a note, when you think you fixed it, and I'm sure Innis and
> > I are eager to compete for the next round of screenshots. :-)
> >
> > Cheers,
> > Durk
> > ___
> > Flightgear-devel mailing list
> > [EMAIL PROTECTED]
> > http://mail.flightgear.org/mailman/listinfo/flightgear-devel
>
> ___
> Flightgear-devel mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] MD-11

2004-05-07 Thread Innis Cunningham
Hi Guys
Yep beat me this time but then I have to sleep.LOL
Great model Ampere.
I hope you can texture it from 3DS because when I
converted it to AC3D the file went from 120K to 1.2 meg
and wound not reduce in size.I dont know if this has to do
with any LOD structures you may have created.Did you
intend converting it to texture it??.
Cheers
Innis
Durk Talsma writes
Cool! This is a huge improvement already:

http://members.chello.nl/d.talsma/md11-model-2.jpg

I'm still seeing a bit of a displacement to the right on some parts. Most
notably the wing flaps and some parts of the tail engine.
Cheers,
Durk
_
Protect your inbox from harmful viruses with new ninemsn Premium. Go to   
http://ninemsn.com.au/premium/landing.asp?banner=emailtag&referrer=hotmail

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] MD-11

2004-05-07 Thread Ampere K. Hardraade
Try it now: http://www.cs.yorku.ca/~cs233144/MD-11.3ds

Regards
Ampere

On May 7, 2004 07:23 pm, Durk Talsma wrote:
> Cool! This is a huge improvement already:
>
> http://members.chello.nl/d.talsma/md11-model-2.jpg
>
> I'm still seeing a bit of a displacement to the right on some parts. Most
> notably the wing flaps and some parts of the tail engine.
>
> Cheers,
> Durk
>
> On Friday 07 May 2004 23:29, Ampere K. Hardraade wrote:
> > It is fixed: http://www.cs.yorku.ca/~cs233144/MD-11.3ds
> >
> > Regards,
> > Ampere
> >
> > On May 7, 2004 01:26 pm, Durk Talsma wrote:
> > > Cool! Drop us a note, when you think you fixed it, and I'm sure Innis
> > > and I are eager to compete for the next round of screenshots. :-)
> > >
> > > Cheers,
> > > Durk
> > > ___
> > > Flightgear-devel mailing list
> > > [EMAIL PROTECTED]
> > > http://mail.flightgear.org/mailman/listinfo/flightgear-devel
> >
> > ___
> > Flightgear-devel mailing list
> > [EMAIL PROTECTED]
> > http://mail.flightgear.org/mailman/listinfo/flightgear-devel
>
> ___
> Flightgear-devel mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel


Re: [Flightgear-devel] MD-11

2004-05-07 Thread Ampere K. Hardraade
> I hope you can texture it from 3DS because when I
> converted it to AC3D the file went from 120K to 1.2 meg
> and wound not reduce in size.I dont know if this has to do
> with any LOD structures you may have created.
I think 3DS uses binary to store the data while AC3D uses ascii.  That may 
explain why the file is huge after conversion.

> Did you 
> intend converting it to texture it??.
I can apply the textures in 3D Studio.  To be honest, I don't have much 
experience on doing textures.  However, I don't think I will have much 
problems "creating" the textures since the logo for various airlines can be 
found on Google. =P

Speaking of textures, what format does FlightGear support?  Must the textures 
size be on the power of 2 (2x2, 4X4, 16X16, 32X32...) or can it be of random 
size?

Thanks in Advance,
Ampere

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel