RE: [Flightgear-devel] Re: UDP port into the property tree

2006-02-17 Thread dene maxwell

From: Melchior FRANZ [EMAIL PROTECTED]

* dene maxwell -- Friday 17 February 2006 05:53:
 What port number for write ?
 What port number for read? (I prefer confirming protocols)

That's called TCP, then. Yes, that's possible. Just run fgfs with
--telnet=5500, then you can telnet into it and read/write to properties.

  $ fgfs --telnet=5500

Then wait until it's running, and from another terminal window
telnet into it:

  $ telnet localhost 5500
  help
  Valid commands are:

  cd dir   cd to a directory, '..' to move back
  data   switch to raw data mode
  dump   dump current state (in xml)
  get var  show the value of a parameter
  help   show this help message
  ls [dir] list directory
  prompt switch to interactive mode (default)
  pwddisplay your current path
  quit   terminate connection
  run command  run built in command
  set var valset var to a new val
  show var synonym for get

And the whole telnet/socket connection can also be done
by a script. Look into scripts/ dir for examples.



 What format to access each property?

Start withdata
Then read...  get /position/longitude-deg
  get /position/latitude-deg
Or write ...  set /sim/foo 123
and finally   quit


This way you can do about everything. Read/write properties,
execute built-in commands, or transfer arbitrary Nasal code and
let fgfs execute it. You can even transfer whole dialogs and pop
them up in fgfs.

m.


That would suit my needs exactly if;
a) I wanted to do it manually
b) I could start a telnet session from within VB6 (not saying you can't just 
I haven't yet)


was really hoping that it could be treated like an object using UDP. eg
set com1.freq=129.6
set nav1.pri.freq=103.3
set nav1.sec.freq=105.3
set nav1.radial=161
set adf.freq=234

will have to investigate starting a telnet session within VB if no other 
ideas come to pass


Cheers, thanks for the suggestion
=Dene

_
Shop ‘til you drop at XtraMSN Shopping http://shopping.xtramsn.co.nz/home/



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Re: UDP port into the property tree

2006-02-17 Thread Melchior FRANZ
* dene maxwell -- Friday 17 February 2006 10:18:
 That would suit my needs exactly if;
 a) I wanted to do it manually
 b) I could start a telnet session from within VB6 (not saying you can't just 
 I haven't yet)

Forget about telnet. It's a normal tcp socket connection. I'm
confident that VB6 can do that. Did you look at the examples as
I told you? The c/c++ examples in scripts/example/ don't even
mention telnet.

m.


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


RE: [Flightgear-devel] Re: UDP port into the property tree

2006-02-17 Thread dene maxwell

From: Melchior FRANZ [EMAIL PROTECTED]

* dene maxwell -- Friday 17 February 2006 10:18:
 That would suit my needs exactly if;
 a) I wanted to do it manually
 b) I could start a telnet session from within VB6 (not saying you can't 
just

 I haven't yet)

Forget about telnet. It's a normal tcp socket connection. I'm
confident that VB6 can do that. Did you look at the examples as
I told you? The c/c++ examples in scripts/example/ don't even
mention telnet.

m.


That was the second part of my question, what would the syntax be under 
UDP... the same?
I understood Telenet was indeed a TCP connection (ie one to one) whereas UPD 
is unsigned and is (at least in the VB control) different to a TCP 
connection in that theoretically it could be many to one. but i'm skating on 
thin ice here so be gentle with me ;-)


=Dene

_
Looking for love? Check out XtraMSN Personals 
http://xtramsn.match.com/match/mt.cfm?pg=channeltcid=200731




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Re: UDP port into the property tree

2006-02-17 Thread Melchior FRANZ
* dene maxwell -- Friday 17 February 2006 10:50:
 From: Melchior FRANZ [EMAIL PROTECTED]
 Forget about telnet. It's a normal tcp socket connection. 

 That was the second part of my question, what would the syntax be under 
 UDP... the same?

It would probably be the same. If it were implemented. But as it
doesn't make the least sense, it isn't.

m.


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


RE: [Flightgear-devel] Re: UDP port into the property tree

2006-02-17 Thread dene maxwell

From: Melchior FRANZ [EMAIL PROTECTED]

* dene maxwell -- Friday 17 February 2006 10:18:
 That would suit my needs exactly if;
 a) I wanted to do it manually
 b) I could start a telnet session from within VB6 (not saying you can't 
just

 I haven't yet)

Forget about telnet. It's a normal tcp socket connection. I'm
confident that VB6 can do that. Did you look at the examples as
I told you? The c/c++ examples in scripts/example/ don't even
mention telnet.

m.

Melchoir, just looked up MSDN, I quote;
Using the Winsock Control


A WinSock control allows you to connect to a remote machine and exchange 
data using either the User Datagram Protocol (UDP) or the Transmission 
Control Protocol (TCP). Both protocols can be used to create client and 
server applications. Like the Timer control, the WinSock control doesn't 
have a visible interface at run time.


Possible Uses
Create a client application that collects user information before sending it 
to a central server.



Create a server application that functions as a central collection point for 
data from several users.



Create a chat application.
Selecting a Protocol
When using the WinSock control, the first consideration is whether to use 
the TCP or the UDP protocol. The major difference between the two lies in 
their connection state:


The TCP protocol control is a connection-based protocol, and is analogous to 
a telephone — the user must establish a connection before proceeding.



The UDP protocol is a connectionless protocol, and the transaction between 
two computers is like passing a note: a message is sent from one computer to 
another, but there is no explicit connection between the two. Additionally, 
the maximum data size of individual sends is determined by the network.
The nature of the application you are creating will generally determine 
which protocol you select. Here are a few questions that may help you select 
the appropriate protocol:


Will the application require acknowledgment from the server or client when 
data is sent or received? If so, the TCP protocol requires an explicit 
connection before sending or receiving data.



Will the data be extremely large (such as image or sound files)? Once a 
connection has been made, the TCP protocol maintains the connection and 
ensures the integrity of the data. This connection, however, uses more 
computing resources, making it more expensive.



Will the data be sent intermittently, or in one session? For example, if you 
are creating an application that notifies specific computers when certain 
tasks have completed, the UDP protocol may be more appropriate. The UDP 
protocol is also more suited for sending small amounts of data. 


Regards
=Dene

_
Need more speed? Get Xtra Broadband @ 
http://jetstream.xtra.co.nz/chm/0,,202853-1000,00.html




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Re: UDP port into the property tree

2006-02-17 Thread Melchior FRANZ
* Melchior FRANZ -- Friday 17 February 2006 10:57:
 * dene maxwell -- Friday 17 February 2006 10:50:
  That was the second part of my question, what would the syntax be under 
  UDP... the same?
 
 It would probably be the same. If it were implemented. But as it
 doesn't make the least sense, it isn't.

You probably want to read README.protocol, README.IO, README.multiplayer.

m.


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


RE: [Flightgear-devel] Re: UDP port into the property tree

2006-02-17 Thread dene maxwell

From: Melchior FRANZ [EMAIL PROTECTED]

* dene maxwell -- Friday 17 February 2006 10:50:
 From: Melchior FRANZ [EMAIL PROTECTED]
 Forget about telnet. It's a normal tcp socket connection.

 That was the second part of my question, what would the syntax be under
 UDP... the same?

It would probably be the same. If it were implemented. But as it
doesn't make the least sense, it isn't.

m.


Doesn't make the least sense sorry don't understand this


... Telenet being a application layer protocol requires alot more details as 
to recipient and also alot higher overhead to implement...whereas  UDP being 
a trasport layer protocol is less distinct in is destination and requires 
less overhead to implement.


Obviously interfacing at the different layers requires different levels of 
distinction regardsing destnation etc this would imply a different 
syntax at the very least.


Cheers
=Dene

_
Read the latest Hollywood gossip  @  http://xtramsn.co.nz/entertainment



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


RE: [Flightgear-devel] Re: UDP port into the property tree

2006-02-17 Thread dene maxwell
Hi Melchior, I will read the documentation you suggest, thewy undoubtibly 
relay to FGv099 and I'm running FGv098a but I might be able to get enough 
out of them to make a start..

cheers
=Dene



From: Melchior FRANZ [EMAIL PROTECTED]
Reply-To: flightgear-devel@lists.sourceforge.net
To: flightgear-devel@lists.sourceforge.net
Subject: [Flightgear-devel] Re: UDP port into the property tree
Date: Fri, 17 Feb 2006 11:04:02 +0100

* Melchior FRANZ -- Friday 17 February 2006 10:57:
 * dene maxwell -- Friday 17 February 2006 10:50:
  That was the second part of my question, what would the syntax be 
under

  UDP... the same?

 It would probably be the same. If it were implemented. But as it
 doesn't make the least sense, it isn't.

You probably want to read README.protocol, README.IO, README.multiplayer.

m.


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log 
files

for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


_
Discover fun and games at  @  http://xtramsn.co.nz/kids



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] enhanced runway lighting.

2006-02-17 Thread Curtis L. Olson

Erik Hofman wrote:


Erik Hofman wrote:


Curtis L. Olson wrote:

I was fiddling with enhance runway lighting tonight and was 
wondering if we are using the distance attenuation extention optimally?



It does sound like you don't specify --enable-distance-attenuation or 
that your hardware doesn't support GL_DISTANCE_ATTENUATION_EXT


If I turn on distance attenuation for my NVidia card I get a pretty 
impressive representation of the airport lights (when compared to the 
full-screen F-16 simulator I know). And the lights do change in size 
when compared with view when the option is disabled.



At least, this used to be until recently ...



That does really help ... would it make sense to add a distance 
attenuation option to the rendering options?  I suspect 99.9% of people 
may miss this option in connection with enhanced runway lighting.


Thanks,

Curt.

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



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] enhanced runway lighting.

2006-02-17 Thread Martin Spott
Curtis L. Olson wrote:
 Erik Hofman wrote:

 It does sound like you don't specify --enable-distance-attenuation or 
 that your hardware doesn't support GL_DISTANCE_ATTENUATION_EXT
[...]
 That does really help ... would it make sense to add a distance 
 attenuation option to the rendering options?  I suspect 99.9% of people 
 may miss this option in connection with enhanced runway lighting.

This has a simple reason: The DRI Radeon driver simply does not offer
this extension and if the Radeon driver does not I expect the other
drivers won't do either,

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] enhanced runway lighting.

2006-02-17 Thread Stefan Seifert

Martin Spott wrote:

Curtis L. Olson wrote:
  

Erik Hofman wrote:
  
It does sound like you don't specify --enable-distance-attenuation or 
that your hardware doesn't support GL_DISTANCE_ATTENUATION_EXT


[...]
  
That does really help ... would it make sense to add a distance 
attenuation option to the rendering options?  I suspect 99.9% of people 
may miss this option in connection with enhanced runway lighting.



This has a simple reason: The DRI Radeon driver simply does not offer
this extension and if the Radeon driver does not I expect the other
drivers won't do either,
  


The fglrx driver for Radeons does not do either.

Nine


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Re: errors after new CVS install 0.9.9

2006-02-17 Thread Mike Rawlins

--- Melchior FRANZ [EMAIL PROTECTED] wrote:

 * Mike Rawlins -- Friday 17 February 2006 03:40:
  In previous message, I failed to mention that I
 moved
  all data into .fgfs directory.  Suggestions?

 Yes. Move everything back! FlightGear complained
 about a missing file
 ~/.fgfs/autosave.xml, so you moved the base data
 into ~/.fgfs/? That makes no sense to me. Just
ignore  this initial complaint about autosave.xml.
FlightGear  will *automatically* *save*
 some menu settings there. (Which is why it's called
 autosave.xml. :-) 

Actually, I copied the data there as a test. That
makes sense to me.  So all the data is still in
$FG_ROOT/data/

So why do I get these messages and an abort.

Failed to set alias to /sim/sound/voices/voice[0]/text
Failed to set alias to /sim/sound/voices/voice[0]/text
Failed to set alias to /sim/sound/voices/voice[0]/text
Failed to set alias to /sim/sound/voices/voice[1]/text
Failed to set alias to /sim/sound/voices/voice[2]/text
Failed to set alias to /sim/sound/voices/voice[3]/text
Failed to set alias to /sim/chase-distance-m
Failed to set alias to /sim/chase-distance-m
  Model Author:  Dave Culp
  Creation Date: 2006-01-04
  Version:   $Revison: 1.0 $
  Description:   Models a 737.
Reading xml electrical system model from
/root/.fgfs//Aircraft/Generic/generic-electrical.xml
Aborted



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Re: errors after new CVS install 0.9.9

2006-02-17 Thread Melchior FRANZ
* Mike Rawlins -- Friday 17 February 2006 14:29:
 So why do I get these messages and an abort.
[...]
 Failed to set alias to /sim/sound/voices/voice[3]/text
 Failed to set alias to /sim/chase-distance-m
[...]

These are property aliases. It appears that you get these messages
if you try to set them twice. And this is probably because your
global preferences.xml file is read twice, or two different
copies thereof.

m.


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Re: errors after new CVS install 0.9.9

2006-02-17 Thread Mike Rawlins

--- Melchior FRANZ [EMAIL PROTECTED] wrote:

 * Mike Rawlins -- Friday 17 February 2006 14:29:
  So why do I get these messages and an abort.
 [...]
  Failed to set alias to
 /sim/sound/voices/voice[3]/text
  Failed to set alias to /sim/chase-distance-m
 [...]
 
 These are property aliases. It appears that you get
 these messages
 if you try to set them twice. And this is probably
 because your
 global preferences.xml file is read twice, or two
 different
 copies thereof.
 
 m.

When I point $FG_ROOT to the data directory, I get:

Base package check failed ... Found version [none] at:
/usr/local/Flightgear-0.9/data/
Please upgrade to version: 0.9.9

even though I installed base package data there. Does
the code simply check the version file? It has a line
0.9.9 inside.


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Global data positional lookup

2006-02-17 Thread Christian Mayer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

David Luff schrieb:
 I'm considering the problem of looking up global data at the moment (eg. how 
 many navaids are within x miles of point p).  So far I've only implemented 
 this in a very crude manner, by indexing a map of navaid pointers using FG 
 bucket number, and then traversing all the navaids in the user's bucket and 
 concentric rings of buckets out from the user to the required distance.  This 
 works, but is somewhat ugly, and requires more navaids / buckets to be 
 checked than may be necessary due to the non-square bucket size and potential 
 for non-centered position of the user within a bucket.
 
 I'm sure there must be a better way, and I'm sure Norman has posted links on 
 this subject to the list before, but I can't find them, and can't seem to 
 find a good method.  Anyone got any ideas?

OK, this comes up once in a while (writing the WeatherCM code ages ago I
also had that problem). Perhaps it's time to solve generally.

The basic and ugly algorithm is to iterate through all points. This
takes at least O(n) and can be as bad as O(n^2) when I need e.g. the
distances between all points.

1) The usual solution is to create the delauney triangulation. It will
take O(n log n) to generate it and look ups can be quite fast as we know
the topology of the points.
This was my approach with the WeatherCM code. The used library should
still be somewhere in the FGFS codebase. (It's an extended version of
the triangulator to work on a sphere)

2) The sugested Quad-Tree (or Octtree) approach also might work with the
algorithm you've described (actually the buckets are a sort of quad tree
with only one level)

3) Interesting would be the use of a space filling curve ;)
There you can easily compute (O(log p) which we can assume to be O(1) in
our case) a index number out of the coordinates and then store all
points in the order of the index number. When you are now searching for
points that are close to a given one you just have to look upwards and
downwards from the index of the point you are interested in (this point
can be anywhere). As the usual space filling curves are Hölder
Continuous(*) this works quite good.


The most simplistic way to solve the problem is IMHO the use of a space
filling curve together with an STL map. This will result in only very
few lines of code and give us an quite fast and universal lookup scheme.

CU,
Christian


(*) Hölder Continuous to the exponent r basicly says that there's a C0
that fullfills:
 ||f(x) - f(y)|| = C * |x - y|^r
 In the case of the n-D Hilbert curve (a very simple space filling
curve) r = 1/n, so in the 2D case:
 ||f(x) - f(y)|| = C * sqrt( |x - y| )
Or more graphic: the distance between two indices limits the distance
that the two points in space can have.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (MingW32)

iD8DBQFD9d7flhWtxOxWNFcRAj3jAJ4l0lLJqnwKY/bTnFd8cwK/kwIA1gCfSt/n
vo9XIlH/9KfOvLhyBfQHXJY=
=6x/z
-END PGP SIGNATURE-


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Re: UDP port into the property tree

2006-02-17 Thread Andy Ross
dene maxwell wrote:
 Doesn't make the least sense sorry don't understand this

 ... Telenet being a application layer protocol requires alot more details as
 to recipient and also alot higher overhead to implement...whereas  UDP being
 a trasport layer protocol is less distinct in is destination and requires
 less overhead to implement.

This is basically wrong.  TCP sockets are easier to implement for
almost all applications, precicely because they are reliable.  UDP
will only look easier if you plan on skipping the code to recover from
a lost packet.  Some applications can do this, but the property tree
can't -- property access is non-idempotent in the general case.
Listeners can have side effects.

I'm not sure what you mean about less distinct in destination, both
TCP connections and UDP packets must go to a specific destination
address (although you can use UDP to a broadcast address on
your local LAN).

Andy


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] runway lights (non-enhanced version)

2006-02-17 Thread Curtis L. Olson
Did something change recently with the non-enhanced runway lights?  They 
seem dimmer now and seem to zbuffer fight with the runway a lot more 
than they have previously?  Has anyone else noticed this with the most 
recent CVS or is it just me?


Curt.

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



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Re: UDP port into the property tree

2006-02-17 Thread dene maxwell

Hi,
 ... Telenet being a application layer protocol requires alot more 
details as
 to recipient and also alot higher overhead to implement...whereas  UDP 
being
 a trasport layer protocol is less distinct in is destination and 
requires

 less overhead to implement.

I'm not sure what you mean about less distinct in destination, both
TCP connections and UDP packets must go to a specific destination
address (although you can use UDP to a broadcast address on
your local LAN).

Andy


Exactly, TCP is point to point and UDP can be used for broadcast.

The winsock control can do TCP or UDP with equal ease. Although I've only 
had experience using UDP because it's all I've ever needed to use (as per 
MSDN's recommendation that TCP be used for transferring large amounts of 
data and UDP for simple messaging type uses). The issue is the command 
structure that surrounds setting values in the property-tree... This is 
obviously written to cater for manual Telnet sessions.


I was asking if there is access to the lower level that by-passes the need 
to use the command-structure (opening a session  closing a session plus the 
other commands that were in there) and be able to treat the property-tree 
purely as an object that set or get type instructions can be issued to. Not 
that it is difficult to emulate the command-structure using either TCP or 
UDP. was just asking though.


Cheers
=Dene

_
Looking for love? Check out XtraMSN Personals 
http://xtramsn.match.com/match/mt.cfm?pg=channeltcid=200731




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] 737-800

2006-02-17 Thread Justin Smithies
Hi all,
  I've been trying to modify the 737-300 to a 737-800 , well upgrade.
I have modified the engines from data on the net and some other variables.
The model is untouched except for it is now in Lufthansa colours.
Also the cockpit requires work too and its still 2d.
I have modified the sounds though so the engines sound a bit more realistic 
when you open the throttles etc and also the rumble along the runway is a 
little better.
If anyone is interested in helping me with this please let me know and i'll 
email you the file.

Cheers
Justin Smithies


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] runway lights (non-enhanced version)

2006-02-17 Thread Curtis L. Olson

Erik Hofman wrote:


Curtis L. Olson wrote:

Did something change recently with the non-enhanced runway lights?  
They seem dimmer now and seem to zbuffer fight with the runway a lot 
more than they have previously?  Has anyone else noticed this with 
the most recent CVS or is it just me?



They are point sprites now. I'm not sure it's z-buffer fighting you 
are seeing or just pixels jumping left and right because of inaccuracies.



Is there a way to change that (or at least have an option for the 
original behavior.)  Solid points look a lot better on all the monitors 
and resolutions I've tried.


Thanks,

Curt.

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



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] runway lights (non-enhanced version)

2006-02-17 Thread Curtis L. Olson

Erik Hofman wrote:


Curtis L. Olson wrote:

Is there a way to change that (or at least have an option for the 
original behavior.)  Solid points look a lot better on all the 
monitors and resolutions I've tried.



In renderer.cxx:
if ( SGIsOpenGLExtensionSupported(GL_ARB_point_sprite) ||
 SGIsOpenGLExtensionSupported(GL_NV_point_sprite) )
{}

But please make it an option rather than removing the code, the point 
sprites are better than anything I have seen before.



Can we control the size of the sprites?  It appears that what we are 
drawing is subpixel size so it flickers in and out depending on how the 
floating point math rounds out.


Curt.

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



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel