Re: [Flightgear-devel] Flightgear-devel Digest, Vol 3, Issue 24

2006-07-10 Thread Sid Boyce

> Message: 6
> Date: Mon, 10 Jul 2006 11:06:39 -0500
> From: "Curtis L. Olson" <[EMAIL PROTECTED]>
> Subject: [Flightgear-devel] [Fwd: LinuxWorld Expo London 2006 - Free
>   space   for .Org]
> To: FlightGear developers discussions
>   
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> The LinuxWorld expo in London, UK (Oct 25-26) is offering free .org 
> booth space.  Are there any UK based FlightGear developers/users (or 
> people that might want an excuse to visit the UK) Alex, 
> Trish :-) who might want to help setup and staff a booth for 
> this show?
> 
> FlightGear is often one of the more popular booths at these types of 
> shows because many of the other booths have relatively "static" subject 
> matter such as computer hardware, job recruiting services, business 
> software, "obscure" software of mainly sys-admin or developer interest, 
> and a host of other booths that are only worth visiting for the 
> freebies, and then ta-da, you come around the corner and there's 
> flightgear, a cool 3d application where you can sit down and fly 
> interactively.  You will here a lot of "Whoa, what is this..." type 
> comments as people approach the booth (at least for the Texas shows.) 
> :-)  I'm sure there is a matching UK translation meaning about the same 
> thing.
> 
> Curt.
> 

At the last show, I think, there was a Sea King heli with FlightGear, it 
was a big hit. FlightGear crashed a few times and had to be restarted, 
but support has improved since.
Guessed who actually managed to cause a loss of control crash, 
embarrassed to hell.
Regards
Sid.
-- 
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Retired IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support 
Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] A New Sun

2006-07-10 Thread Steve Knoblock
Thank you for doing this.

I love accurate meteorology, sky conditions and astronomically correct
sky. It looks very photographic with the exception of the halo. One
thing that always bothered me was when the sun disc is close to the
horizon, the line seems too well defined. Where the extended sun glare
disc meets the horizon it is very sharp. Beyond that the fog obscures
the horizon line. Is there some way to blend the sun more smoothly
into the horizon?

Steve


Back to our regularly scheduled programming...for(i=0;i<=10;i++) { print i }


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] RFC: A new sun

2006-07-10 Thread Melchior FRANZ
* Melchior FRANZ -- Monday 10 July 2006 20:24:
> If you let fgfs tell sg which node to get the density from, and
> make this a node with tied getter function, [...]

Or, illustrated with some code:


fgfs:

  static double calc_density() {
 // stuff
 return density;
  }

  void Whatever::bind() {
   fgTie("/calculate/density", calc_density);
  }

  void Whatever::unbind() {
   fgUntie("/calculate/density);
  }


now you tell sg that it can have the density from /calculate/density,
and whenever sg or anyone else reads that property, the density is
calculated freshly (and only then).

m.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] RFC: A new sun

2006-07-10 Thread Melchior FRANZ
* Mark -- Monday 10 July 2006 20:14:
> However, as it appears you can only read and set the information in the 
> property tree. But what I would need is a function I could call that 
> calculates some values. So even when I would use the set-methods to put 
> my data in the property tree, this wouldn't be adequate.

Huh? If you let fgfs tell sg which node to get the density from, and
make this a node with tied getter function, then you have what you
need, no?

m.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] RFC: A new sun

2006-07-10 Thread Mark
Hi,

I looked at the rain code and it seems a more elegant solution than what 
I've done so far.
I just passed the needed info as elements of a struct which I filled 
with the same get-methods in renderer.cxx.

However, as it appears you can only read and set the information in the 
property tree. But what I would need is a function I could call that 
calculates some values. So even when I would use the set-methods to put 
my data in the property tree, this wouldn't be adequate.

The reason for this is that I'm considering the average density along 
the light-path.  This is necessary because it can differ vastly 
depending on the planes position and results without this aren't 
realistic. 

For example,  take two positions, in which the distance of the 
light-path is equal  but the altitude of the observer is different. The 
sun will be much more yellowish for the observer at a lower altitude 
because the average density is higher and there's more scattering taking 
place.

Also the light-path can go through areas of higher and lower density if 
the observer is at a higher altitude and the sun is setting.
In this case the light first travels through low density arriving from 
the sun, then higher density at earth-level and then again traverses low 
density air at the observer.
So only taking the observers density and the density at the top of the 
atmosphere in account is not going to act as a accurate substitute.

To figure out the average altitude I determine the density at the 
observers position, the density at about 8-16 km (depending on the lat 
due to different thickness of the stratosphere at the poles and the 
equator) and the density at the half of the distance the light travels 
through the stratosphere.
This gives a rough idea of the average density that is good enough for 
our purposes.

So ideally I would have to pass an altitude to the function and it 
should return the density at that height.
But then the environment code is in Flightgear. I could, however, put 
the code somewhere else in Simgear, but what's the sense to scatter 
basically the same type of functions around different parts of fg/sg?

I don't know. Any Ideas?

Mark






Melchior FRANZ wrote:
> * Mark -- Sunday 09 July 2006 19:03:
>
> Looks beautiful, indeed. (Only the outer halo border is a bit too
> obvious.  :-)
>
>
>
>   
>> Right now i'm doing alot of calculations in the repaint-method that 
>> deals with enviromental values, such as humidity, visibility and density.
>> This is necessary, since this kind of information currently is dealt 
>> with in FlightGear's Enviroment branch. Since the sun is calculated in 
>> Simgear, I can't access the information there.
>> 
>
> Look how the rain code does it. It uses default parameters, but has
> a config function in simgear/environment/visual_enviro.cxx that is
> called with a property node as argument. This is then called from
> fgfs and tells simgear where to get the 'real' parameters from.
>
>   SGEnviro::config(const SGPropertyNode* n)
>
> m.
>
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Flightgear-devel mailing list
> Flightgear-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel
>   


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Windows compile is twice as big, shakey and takes much longer to load

2006-07-10 Thread Sexauer, Steve
my windows compile of fg 9.10 is 6,626KB instead of 3,772KB, it also
takes way longer to load --- but the unacceptable part is that went you
scroll around the cockpit, the picture shakes.  

The orignal, smaller 9.10 precompiled version runs fine on my machine, 

anybody ran into this or have any ideas?  

Thanks
steve

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Melchior FRANZ
Sent: Monday, July 10, 2006 9:47 AM
To: flightgear-devel@lists.sourceforge.net
Subject: Re: [Flightgear-devel] coding style unification

* Melchior FRANZ -- Monday 10 July 2006 17:45:
> So do I. But most people don't understand that concept, and will
always
> mix tabs into it.

Err ... spaces. There! ... now I mix them up, too.  :-]

m.



-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

.



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] [Fwd: LinuxWorld Expo London 2006 - Free space for .Org]

2006-07-10 Thread Robin van Steenbergen
While you're at it, why not look for a spot at the Flight Simulator 
Weekend, Nov. 4 and 5, 2006, Aviodrome Aviation Museum, Lelystad. 
(That's the weekend following the Linux World Expo). As a simbuilder I 
already have a place there, but I believe there's lot more room for more 
people. Just have a look at www.fsweekend.com for more info. I've never 
seen a FlightGear booth there, and would certainly like to see one! (as 
my developed glass cockpits are meant to run on FlightGear as well as 
X-Plane and FS2004)

Jon Stockill schreef:
> Curtis L. Olson wrote:
>   
>> The LinuxWorld expo in London, UK (Oct 25-26) is offering free .org 
>> booth space.  Are there any UK based FlightGear developers/users (or 
>> people that might want an excuse to visit the UK) Alex, 
>> Trish :-) who might want to help setup and staff a booth for 
>> this show?
>>
>> FlightGear is often one of the more popular booths at these types of 
>> shows because many of the other booths have relatively "static" subject 
>> matter such as computer hardware, job recruiting services, business 
>> software, "obscure" software of mainly sys-admin or developer interest, 
>> and a host of other booths that are only worth visiting for the 
>> freebies, and then ta-da, you come around the corner and there's 
>> flightgear, a cool 3d application where you can sit down and fly 
>> interactively.  You will here a lot of "Whoa, what is this..." type 
>> comments as people approach the booth (at least for the Texas shows.) 
>> :-)  I'm sure there is a matching UK translation meaning about the same 
>> thing.
>> 
>
> Do we get a helicopter to play with this time? ;-) I'll check the dates 
> - it was certainly a lot of fun last time - there was a lot of hard work 
> involved too though.
>   



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] [Fwd: LinuxWorld Expo London 2006 - Free space for .Org]

2006-07-10 Thread Jon Stockill
Curtis L. Olson wrote:
> The LinuxWorld expo in London, UK (Oct 25-26) is offering free .org 
> booth space.  Are there any UK based FlightGear developers/users (or 
> people that might want an excuse to visit the UK) Alex, 
> Trish :-) who might want to help setup and staff a booth for 
> this show?
> 
> FlightGear is often one of the more popular booths at these types of 
> shows because many of the other booths have relatively "static" subject 
> matter such as computer hardware, job recruiting services, business 
> software, "obscure" software of mainly sys-admin or developer interest, 
> and a host of other booths that are only worth visiting for the 
> freebies, and then ta-da, you come around the corner and there's 
> flightgear, a cool 3d application where you can sit down and fly 
> interactively.  You will here a lot of "Whoa, what is this..." type 
> comments as people approach the booth (at least for the Texas shows.) 
> :-)  I'm sure there is a matching UK translation meaning about the same 
> thing.

Do we get a helicopter to play with this time? ;-) I'll check the dates 
- it was certainly a lot of fun last time - there was a lot of hard work 
involved too though.

-- 
Jon Stockill
[EMAIL PROTECTED]


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] [Fwd: LinuxWorld Expo London 2006 - Free space for .Org]

2006-07-10 Thread Curtis L. Olson
The LinuxWorld expo in London, UK (Oct 25-26) is offering free .org 
booth space.  Are there any UK based FlightGear developers/users (or 
people that might want an excuse to visit the UK) Alex, 
Trish :-) who might want to help setup and staff a booth for 
this show?


FlightGear is often one of the more popular booths at these types of 
shows because many of the other booths have relatively "static" subject 
matter such as computer hardware, job recruiting services, business 
software, "obscure" software of mainly sys-admin or developer interest, 
and a host of other booths that are only worth visiting for the 
freebies, and then ta-da, you come around the corner and there's 
flightgear, a cool 3d application where you can sit down and fly 
interactively.  You will here a lot of "Whoa, what is this..." type 
comments as people approach the booth (at least for the Texas shows.) 
:-)  I'm sure there is a matching UK translation meaning about the same 
thing.


Curt.

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

--- Begin Message ---


Thanks to generous sponsorship space is available once again, FREE of 
charge, in the .Org Village for Linux projects, groups & campaigns.


LinuxWorld Conference & Expo will take place over two days, 25th and 26th 
October at the Olympia Exhibition Centre in London, UK.


LinuxWorld Conference & Expo is the No. 1 marketplace for companies that 
sell, market or promote Linux-Based products, services, applications and 
solutions. Experiencing astounding growth, it's the largest gathering of 
open source professionals in the world. Linux adoption has been, and 
continues to be, nothing short of meteoric.


Each year I am given the task of scouring the UK and the rest of the 
world for participants for the .Org Village at Linux Expo's in the UK. Over 
the last few years we have made the .Org Village the largest of any Linux 
Expo in the World.


Space is limited in the .Org Village so sadly we cannot offer a place to 
everyone. However space is not allocated on a first come basis but rather 
by a panel of people in the UK Open Source community. If you would like 
your Org to attend then please submit an application at 
http://www.linuxexpo.org.uk/


This message is being sent to you as you have previously participated in 
the .Org Village or have expressed a wish to do so. If you are no longer 
the correct person in your .Org please pass it on to the most relevant 
person


The closing date for applications is 31st July

 Brian Teeman
.Org-aniser
uklinux.net - Sponsors of the .org Village.

--- End Message ---

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] coding style unification

2006-07-10 Thread Melchior FRANZ
* Melchior FRANZ -- Monday 10 July 2006 17:45:
> So do I. But most people don't understand that concept, and will always
> mix tabs into it.

Err ... spaces. There! ... now I mix them up, too.  :-]

m.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] coding style unification

2006-07-10 Thread Melchior FRANZ
* Vassilii Khachaturov -- Monday 10 July 2006 17:28:
> Noted that, I used to send out tabified code. Personally, I prefer
> tabs, but [...]

So do I. But most people don't understand that concept, and will always
mix tabs into it. You need an editor that shows tabs, and you need to
have style -- a requirement that most don't fulfill. The second best
indentation is 4 spaces. Sad, but hard to change.



> How about a uniform set of GNU indent(1)

indent(1) doesn't support c++ and will only mess it up. I'm not aware
of any formatter that groks c++. And ultimately, developers won't like
if they are forced to use any other style than their own. My only wish
is consistency. Some people don't give a damn about the existing style
of a file, and add code in theirs. This leads to files with mixtures
of 2, 3, 4, 5, 7 spaces, and tabs, mixed wildly together. This is not made
up! I've fixed several of those. There are files with 12 (twelve!) tabs
in front of some lines. (Apparently, the author uses 1-position tabs.)
Indenting *must* be rocket science. The only thing that is bad even if
it's consistent: FSF coding standard. It looks like shit, is hard to read,
and has no other purpose than being "different". It's a political coding
style, not a rational one. I can't stand it and will eradicate it wherever
I can. I'll never commit files in this style. Two fgfs contributors
apparently like it.

m.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] coding style unification

2006-07-10 Thread Vassilii Khachaturov
On Mon, 10 Jul 2006, Melchior Franz wrote:

> Update of /var/cvs/FlightGear-0.9/FlightGear/src/Airports
> In directory baron:/tmp/cvs-serv5045
>
> Modified Files:
>   simple.cxx simple.hxx
> Log Message:
> - unify coding style (though not to the last detail)
> - remove trailing spaces
> - fix mixed indentation (tabs -> 8 spaces)

Noted that, I used to send out tabified code. Personally, I prefer
tabs, but I'll :set expandtab ts=8 if that's people want in the next
patches.

> - throw out braindead FSF coding style that has somehow sneaked in
:-) "First off, I'd suggest printing out a copy of the GNU coding
standards, and NOT read it. Burn them, it's a great symbolic gesture."
/usr/src/linux/Documentation/CodingStyle

How about a uniform set of GNU indent(1) settings to use on ANY files
that one is patching? this way they all will be unified eventually
(but I don't think it is worth doing a major reindenting of all the
files that are not touched otherwise); or maybe the one applying
the patch could do it.

Such settings should probably be stored in the cvs within source/scripts.
I have no problem with the kernel style (see /usr/src/linux/scripts/Lindent ).

V



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel