Re: [Flightgear-devel] fgfs animation module for Blender

2005-02-03 Thread Arnt Karlsen
On Thu, 3 Feb 2005 19:44:54 +0100, Melchior wrote in message 
<[EMAIL PROTECTED]>:

> As most of you know, Blender's functionality can be extended with
> Python scripts. The most important such scripts are the ac3d importer
> & exporter. I have now started to write a script that generates
> fragments of fgfs' *.xml animation files. It has currently three modes
> that can be selected from a popup menu:
> 
> Translation from origin:
> Creates "translate" animation for each selected vertex and for the
> cursor, if it is not at origin. This mode is thought for moving
> textured light faces to their proper location after scaling them
> at origin.
> 
> Translation from cursor:
> Same as above, except that movements from the cursor location are
> calculated.
> 
> Rotate:
> Create one "rotate" animation from two selected vertices that
> define the rotation axis, and the cursor as the rotation center.
> 
> I'll continue to improve and extend this script as I see need. If
> someone has ideas for useful functions, please tell me. 

..fowler flaps etc with combined translations and rotations?

-- 
..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
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] how to find remaining fuel

2005-02-03 Thread Andy Ross
Jon S. Berndt wrote:
> I haven't been following this thread very closely. Can someone
> concisely recap what is wanted, here? It's most likely a very simple
> addition for us if it's something we don't now model.

Actually, YASim uses a Nasal-based fuel system that was designed to be
FDM-independent.  It doesn't handle the stuff internally at all.

Instead, each engine sets an /engine/engines[n]/fuel-consumed-lbs
property.  Each iteration, it adds its newly consumed fuel (that is,
just flow rate * timestep) to this property. The Nasal script then
comes around in a polling loop, sucks this stuff out and subtracts it
from the tanks according to the fuel selector properties.

YASim then just uses each tanks level-lbs property as a pure input
property to set weights on the tank objects.

There are some comments at the top of fuel.nas that try to explain
things.

The big advantage here is that you get to use the fancy fuel dialog
(which works entirely in the property system) to twiddle fuel tank
amounts and selection states at runtime.  You can bounce an aircraft
up and down on its gear by filling and emptying its tanks.  It's kinda
cool, but then I'm biased because I wrote it. :)

FWIW, another cool thing this dialog gets you is automatic weight
management.  You can assign "named" weight objects in your -set.xml
file and use sliders to control their sizes at runtime.  Not many of
the YASim aircraft are doing this yet (I did the pa28-161 and a4, I
know).  It's a much cleaner interface than having separate FDM
configurations for each aircraft loadout.

Andy

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Atlas release candidate

2005-02-03 Thread Arnt Karlsen
On Thu, 3 Feb 2005 22:11:52 + (UTC), Martin wrote in message 
<[EMAIL PROTECTED]>:

> Lee Elliott wrote:
> 
> > I did start looking at it but it wasn't clear to me exactly what 
> > I had to download and compile.  At some points it started to 
> > look as though I'd have to get the entire XF86 tree.
> 
> Yes, X11 is actually an example of a monolithic piece of software. But
> rebuilding X11 isn't that difficult. Befoure you start this project
> you might want to have a look to see if your Linux distributor
> provides an update for you - some distributors do,

..yup, me, I just replaced "ati" with "radeon" in the driver section of
/etc/X11/XF86Config-4 ,  X being 4.3.0.dfsg.1-10 for Debian Sid, 
came right up and is packed rather nicely too:
[EMAIL PROTECTED]:~ # COLUMNS=100 dpkg -l | grep XFree
ii  xf86config-knoppix  0.8-4   XFree86 template config
files and setup program for kn  
ii  xfree86-common 4.3.0.dfsg.1-10X Window System (XFree86)
infrastructure 
ii xlibmesa-dri4.3.0.dfsg.1-10 Mesa 3D graphics library
modules [XFree86] 
ii  xlibmesa-dri-dbg4.3.0.dfsg.1-10 Mesa 3D graphics library
modules (unstripped) [XFree86 
ii  xlibmesa-drm-src   4.3.0-0pre1v1   XFree86 4.3 DRM kernel module
source snapshot 
ii xlibmesa-gl 4.3.0.dfsg.1-10 Mesa 3D graphics library
[XFree86] 
ii  xlibmesa-gl-dbg 4.3.0.dfsg.1-10 Mesa 3D graphics library
(unstripped) [XFree86] 
ii  xlibmesa-gl-dev 4.3.0.dfsg.1-10Mesa 3D graphics library
development files [XFree86] 
ii  xlibmesa-glu   4.3.0.dfsg.1-10 Mesa OpenGL utility library
[XFree86] 
ii xlibmesa-glu-dbg4.3.0.dfsg.1-10 Mesa OpenGL utility library
(unstripped) [XFree86] 
ii  xlibmesa-glu-dev4.3.0.dfsg.1-10 Mesa OpenGL utility library
development files [XFree86 
ii  xlibosmesa44.3.0.dfsg.1-10 Mesa off-screen rendering
library [XFree86] 
ii xlibosmesa4-dbg 4.3.0.dfsg.1-10 Mesa off-screen rendering
library (unstripped) [XFree8 
ii  xlibs-pic   4.3.0.dfsg.1-10XFree86 static PIC libraries
dummy package 
ii  xserver-xfree864.3.0.dfsg.1-10 the XFree86 X server 
ii  xviddetect  0.3-4  XFree86 installation helper 
[EMAIL PROTECTED]:~ #  

..and, no, I do not need all these, but I've helped fix a few naming
conflicts running this bloat.  ;o)

-- 
..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
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


RE: [Flightgear-devel] how to find remaining fuel

2005-02-03 Thread Jon Berndt
> I have been using the c172 aircraft.  Is it controlled by jsbsim or ysim?
>
> Thanks,
>
> Seamus

I vaguely recall hearing that there is a C-172 for each of those two FDMs. If 
you are
refrring to the default c172, that's _probably_ the JSBSim one.

I haven't been following this thread very closely. Can someone concisely recap 
what is
wanted, here? It's most likely a very simple addition for us if it's something 
we don't
now model.

Jon

--

Project Coordinator
JSBSim Flight Dynamics Model
http://www.jsbsim.org



___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] how to find remaining fuel

2005-02-03 Thread Seamus Thomas Carroll
I have been using the c172 aircraft.  Is it controlled by jsbsim or ysim?
Thanks,
Seamus
On Fri, 4 Feb 2005, Innis Cunningham wrote:

Lee Elliott writes

/consumables/fuel/total-fuel-norm
gives the total remaining fuel, normalised to 0-1.
Hmm.Dont know that this is available under jsbsim.
LeeE
Cheers
Innis

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d
___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] how to find remaining fuel

2005-02-03 Thread Innis Cunningham

 Lee Elliott writes

/consumables/fuel/total-fuel-norm
gives the total remaining fuel, normalised to 0-1.
Hmm.Dont know that this is available under jsbsim.
LeeE
Cheers
Innis

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Atlas release candidate

2005-02-03 Thread Martin Spott
Lee Elliott wrote:

> I did start looking at it but it wasn't clear to me exactly what 
> I had to download and compile.  At some points it started to 
> look as though I'd have to get the entire XF86 tree.

Yes, X11 is actually an example of a monolithic piece of software. But
rebuilding X11 isn't that difficult. Befoure you start this project you
might want to have a look to see if your Linux distributor provides an
update for you - some distributors do,

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

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] how to find remaining fuel

2005-02-03 Thread Lee Elliott
On Thursday 03 February 2005 21:13, Vivian Meazza wrote:
> Innis wrote
>
> > Hi All
> >
> >   Erik Hofman writes
> >
> > >>I dont think there is a total fuel onboard or fuel
> > >> remaining property. I asked about this a couple of weeks
> > >> back and got no reply(I think).
> > >
> > >After a quick search in the code I found this property:
> > >/consumables/fuel/tank[0]/level-gal_us
> >
> > Yep but that gives the total in tank 1 which maybe 1/7th or
> > less of the total fuel onboard a 7 tank aircraft.I would
> > even think the light aircraft may have more than one tank.
> >
> > >Erik
>
> Using YASim, /consumables/fuel/... seems to me to tell you
> everything you could possibly want to know about each
> individual tank, and totals.
>
> JBsim may be different - I haven't checked.
>
> Regards
>
> Vivian

For YASim a/c certainly, and I suspect for other fdms too...

/consumables/fuel/total-fuel-norm

gives the total remaining fuel, normalised to 0-1.

LeeE

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Atlas release candidate

2005-02-03 Thread Lee Elliott
On Thursday 03 February 2005 16:31, Arnt Karlsen wrote:
> On Sun, 30 Jan 2005 17:43:47 +, Lee wrote in message
>
> <[EMAIL PROTECTED]>:
> > On Saturday 29 January 2005 14:39, Christian Mayer wrote:
> > > Lee Elliott schrieb:
> > >  > Hello Dave,
> > > >
> > > > I'm using an ATI 9200 vid card with ATI's drivers and
> > > > I'm getting:
>
> ..tried DRI?  I run my 9250 on it.  (128 bit Sapphire Radeon
> 9250 w 128 MB vram for 8xAGP slots.)

I did start looking at it but it wasn't clear to me exactly what 
I had to download and compile.  At some points it started to 
look as though I'd have to get the entire XF86 tree.

LeeE

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


RE: [Flightgear-devel] how to find remaining fuel

2005-02-03 Thread Vivian Meazza
Innis wrote

> Hi All
> 
>   Erik Hofman writes
> 
> >>I dont think there is a total fuel onboard or fuel remaining property.
> >>I asked about this a couple of weeks back and got no reply(I think).
> >
> >After a quick search in the code I found this property:
> >/consumables/fuel/tank[0]/level-gal_us
> 
> Yep but that gives the total in tank 1 which maybe 1/7th or
> less of the total fuel onboard a 7 tank aircraft.I would even
> think the light aircraft may have more than one tank.
> 
> >Erik
> 

Using YASim, /consumables/fuel/... seems to me to tell you everything you
could possibly want to know about each individual tank, and totals. 

JBsim may be different - I haven't checked.

Regards

Vivian



___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] [Fwd: Dreamcast porting competition]

2005-02-03 Thread Arnt Karlsen
On Tue, 1 Feb 2005 22:10:32 + (UTC), Martin wrote in message 
<[EMAIL PROTECTED]>:

> Dave Martin wrote:
> 
> > The Dreamcast is RISC based which may be a hurdle but the specs are
> > *really*  low.

..so is his business morale:  Sega quit making these toys 4 years ago,
the Debian Linux port died 4 years ago, and now this whaccy-baccy 
CEO guy is asking us help him keep his job for free.  

..ok, I _have_ seen worse, TSCOG, Sun and Microsoft etc, 
and at least this guy is no danger to us, AFAICT.

..had he asked for our snail mail adresses and just shipped us a couple
each, chances are I might have tried tinkering with clustering them. 
With a wee attached sponsorship for GPL code, I would have.

> > SH-4 RISC CPU @ 206Mhz
> > 8MB PowerVR2 Graphics
> > 16MB RAM
> > 12speed GD-ROM.
> 
> I think the CPU is not the limiting factor - FlightGear actually
> 'runs' pretty nice on a 195 MHz MIPS R1 (RISC) CPU as long as the
> scenery is not too complex. A 300 MHz R12000 (still with 1 MByte 2nd
> level cache) doesn't make that much difference.
> Unfortunately the video RAM will not be large enough to store all
> those textures that you need for a nice scenery,

-- 
..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
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] ver. 0.9.8 run-time error using VisualC++

2005-02-03 Thread Drew
Yep, that fixed it...thanks a lot.

Drew


On Wed, 2 Feb 2005 15:52:13 -0500, Vance Souders
<[EMAIL PROTECTED]> wrote:
> I had the same problem; isspace was interpreting the copyright symbol as a
> negative number, raising the assert.
> 
> I changed the calls to isspace(...) in strutils.cxx to
> 
> ... std::isspace((unsigned char)str[i], std::locale()) ...
> 
> You'll also need to include .
> 
> -Vance
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Drew
> Sent: Wednesday, February 02, 2005 3:29 PM
> To: FlightGear developers discussions
> Subject: [Flightgear-devel] ver. 0.9.8 run-time error using VisualC++
> 
> I compiled the version 0.9.8 release of flightgear using Fredric's
> project files, and I get the following error.
> 
> Debug Assertion Failed!
> 
> File: isctype.c
> Line: 68
> 
> Expression: (unsigned)(c + 1) <= 256
> 
> A brief online search mentioned something along the lines of Windows'
> using a signed character type causing a problem.  Any idea what can be
> causing this?
> 
> I tried compiling the source without the _DEBUG preprocessor flag, but
> that didn't seem to change anything.  I may not have done this
> correctly, though, as I'm new to Visual Studio.
> 
> Thanks,
> Drew
> 
> ___
> Flightgear-devel mailing list
> Flightgear-devel@flightgear.org
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel
> 2f585eeea02e2c79d7b1d8c4963bae2d
> 
> ___
> Flightgear-devel mailing list
> Flightgear-devel@flightgear.org
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel
> 2f585eeea02e2c79d7b1d8c4963bae2d
>

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] fgfs animation module for Blender

2005-02-03 Thread Melchior FRANZ
As most of you know, Blender's functionality can be extended with Python 
scripts.
The most important such scripts are the ac3d importer & exporter. I have now
started to write a script that generates fragments of fgfs' *.xml animation
files. It has currently three modes that can be selected from a popup menu:

Translation from origin:
Creates "translate" animation for each selected vertex and for the
cursor, if it is not at origin. This mode is thought for moving
textured light faces to their proper location after scaling them at origin.

Translation from cursor:
Same as above, except that movements from the cursor location are
calculated.

Rotate:
Create one "rotate" animation from two selected vertices that
define the rotation axis, and the cursor as the rotation center.

I'll continue to improve and extend this script as I see need. If someone has
ideas for useful functions, please tell me. To install this script, simply
dump it into ~/.blender/scripts/. It will appear in the File/Export menu.
The script mandates Blender 2.36. If you only have an older version, try
to reduce the number 236 in the header. Should work for 2.34 and 2.35,
but I haven't tested this. The results are always written into fgfs-export.xml,
overwriting an existing file without warning. And this is not, because I'm
lazy, but because this is faster to work with. 

  http://members.aon.at/mfranz/fgfs_animation.py

m.

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Atlas release candidate

2005-02-03 Thread Arnt Karlsen
On Sun, 30 Jan 2005 17:43:47 +, Lee wrote in message 
<[EMAIL PROTECTED]>:

> On Saturday 29 January 2005 14:39, Christian Mayer wrote:
> > Lee Elliott schrieb:
> >  > Hello Dave,
> > >
> > > I'm using an ATI 9200 vid card with ATI's drivers and I'm
> > > getting:

..tried DRI?  I run my 9250 on it.  (128 bit Sapphire Radeon 9250 w
128 MB vram for 8xAGP slots.)

> Just something else to add to the list of problems with ATI's 
> drivers, I guess.


-- 
..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
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] AI traffic heads-up

2005-02-03 Thread John Wojnaroski
> I'll try and make rudimentary "parking.xml" and "rwyuse.xml" files for
KSFO
> later this week. I'll try and send you some documentation later today (and
> please send me a reminder in case I forget).
>
Thanks, that will definitely help.  Adding a even a few more aircraft will
add to the ambiance of the scene.

We'll also be demo'ing the festival synthetic voice system converting Dave's
ATC transmissions into audio. That will also add to the "immersion
experience"

Thanks again
John W.


___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


RE: [Flightgear-devel] Simgear-cvs

2005-02-03 Thread Norman Vine
Vivian Meazza writes:
> > 
> > Now Flightgear won't compile - stops as following:
> > 
> > /usr/lib/gcc-lib/i686-pc-
> > cygwin/3.3.3/../../../libplibjs.a(jsWindows.o)(.tex
> > t+0
> > 5c9):jsWindows.cxx: undefined reference to [EMAIL PROTECTED]'
> > collect2: ld returned 1 exit status
> > make[2]: *** [js_demo.exe] Error 1
> > 
> > I'm using plib 1.8.4. Any more good advice?
> > 
> 
> I think I've worked around this one. I went back to an earlier cvs version
> compiled, then updated to today, and recompiled successfully. I don't know
> why that worked ... it's a computer :-)

A 'make clean; make' or maybe even just a 
 'cd $FGFS/src/Input; make clean; cd $FGFS; make' 
would probably have also worked.

Norman

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] how to find remaining fuel

2005-02-03 Thread Innis Cunningham
Hi All
 Erik Hofman writes
I dont think there is a total fuel onboard or fuel remaining property.
I asked about this a couple of weeks back and got no reply(I think).
After a quick search in the code I found this property:
/consumables/fuel/tank[0]/level-gal_us
Yep but that gives the total in tank 1 which maybe 1/7th or
less of the total fuel onboard a 7 tank aircraft.I would even
think the light aircraft may have more than one tank.
Erik
Cheers
Innis

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] how to find remaining fuel

2005-02-03 Thread Erik Hofman
Innis Cunningham wrote:
Hi Seamus
 Seamus Thomas Carroll writes
Hi,
I am trying to find the variable that contains the remaining fuel on a 
plane.
I dont think there is a total fuel onboard or fuel remaining property.
I asked about this a couple of weeks back and got no reply(I think).
After a quick search in the code I found this property:
/consumables/fuel/tank[0]/level-gal_us

Also, is there a variable that contains the current km per litre?
I would not think so.But you should be able to find a lbs/hour
property in the engines property or the consumables property.
Yep:
/engines/engine[0]/fuel-flow-gph
/engines/engine[0]/fuel-flow_pph
Erik
___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


RE: [Flightgear-devel] how to find remaining fuel

2005-02-03 Thread Vivian Meazza
Seamus Thomas Carroll

 
> Hi,
> 
> If i was able to find the avialable fuel property i could work out a
> kmperlitre based on distance travelled and fuel consumed over a period of
> time.
> 
> Doesnt a plane run out of fuel after a period of time?  I tried grepping
> for "fuel" and the word fuel must have shown up 100 times and none popped
> out at me as being the one i was looking for.
> 
> Seamus
> 
> On Thu, 3 Feb 2005, Innis Cunningham wrote:
> 
> > Hi Seamus
> >
> > Seamus Thomas Carroll writes
> >>
> >> Hi,
> >>
> >> I am trying to find the variable that contains the remaining fuel on a
> >> plane.
> >
> > I dont think there is a total fuel onboard or fuel remaining property.
> > I asked about this a couple of weeks back and got no reply(I think).
> >>
> >> Also, is there a variable that contains the current km per litre?
> >
> > I would not think so.But you should be able to find a lbs/hour
> > property in the engines property or the consumables property.
> >>

Is /consumables/fuel/total-fuel-gals- (US)
And /consumables/fuel/total-fuel-lbs

What you are looking for? 

Only cars use km/lt - you can find fuel flow at

Engines/engine/fuel-flow-gph 

Regards,

Vivian



___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d