[Flightgear-devel] terrasync realtime scenery loading

2004-08-17 Thread Matevz Jekovec
There were already few discussions about this a couple of months ago 
when terrasync was launched.
My question is when I run terrasync and fgfs and fly where there's no 
terrain available yet, do I need to restart fgfs session for the new 
terrain to take effect, or are fgfs and terrasync already synchronized 
now and is the new terrain showing up as soon as it becomes available?

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


Re: [Flightgear-devel] terrasync realtime scenery loading

2004-08-17 Thread Erik Hofman
Matevz Jekovec wrote:
There were already few discussions about this a couple of months ago 
when terrasync was launched.
My question is when I run terrasync and fgfs and fly where there's no 
terrain available yet, do I need to restart fgfs session for the new 
terrain to take effect, or are fgfs and terrasync already synchronized 
now and is the new terrain showing up as soon as it becomes available?
I don't think the current code allows for the latter, so you still need 
to exit FlightGear first.

Erik
--
Searching for a 60 to 100 passenger Jetliner?
http://www.rekkof.nl/
___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] terrasync realtime scenery loading

2004-08-17 Thread Frederic Bouvier
Melchior FRANZ wrote:

 * Matevz Jekovec -- Tuesday 17 August 2004 14:29:
  My question is when I run terrasync and fgfs and fly where there's no 
  terrain available yet, do I need to restart fgfs session for the new 
  terrain to take effect, or are fgfs and terrasync already synchronized 
  now and is the new terrain showing up as soon as it becomes available?
 
 The scenery for your start airport is certainly fetched and stored, but
 not updated in fgfs. Only scenery that is yet to be loaded will appear
 updated. You don't need to restart fgfs, though. Teleporting to KSFO and
 back should be enough. I'm confident that this will be fixed one day. :-)

Just a thought : on windows, there is a system call that enable a program to
receive events when a files in a subtree changes. I don't know for Linux and
other unix though. I already heard about something called FAM but I don't 
know if it is built in the kernel now. And I have no idea about the MAC situation.

This could allow automatic scenery update while running and avoid to have 
ocean tiles when we travel too rapidly.

-Fred


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


Re: [Flightgear-devel] terrasync realtime scenery loading

2004-08-17 Thread Matevz Jekovec

Just a thought : on windows, there is a system call that enable a program to
receive events when a files in a subtree changes. I don't know for Linux and
other unix though. I already heard about something called FAM but I don't 
know if it is built in the kernel now. And I have no idea about the MAC situation.

This could allow automatic scenery update while running and avoid to have 
ocean tiles when we travel too rapidly.

-Fred
Yes, there is FAM (File Alteration Monitor) on Linux, but it's not part 
of the kernel but a separate daemon (famd), so we can't really rely much 
on that. I don't know if there's another way, but I'm pretty sure there 
should be.

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


Re: [Flightgear-devel] terrasync realtime scenery loading

2004-08-17 Thread Curtis L. Olson
Matevz Jekovec wrote:

Just a thought : on windows, there is a system call that enable a 
program to
receive events when a files in a subtree changes. I don't know for 
Linux and
other unix though. I already heard about something called FAM but I 
don't know if it is built in the kernel now. And I have no idea about 
the MAC situation.

This could allow automatic scenery update while running and avoid to 
have ocean tiles when we travel too rapidly.

-Fred
Yes, there is FAM (File Alteration Monitor) on Linux, but it's not 
part of the kernel but a separate daemon (famd), so we can't really 
rely much on that. I don't know if there's another way, but I'm pretty 
sure there should be.

I suppose terrasync itself could send a signal to FG.  But FG should 
then track some sort of file modification date for each tile and also FG 
would need some additional logic to be able to reload tiles that have 
updated data.  Not terribly hard, but it would take a bit of patient 
thought and careful work to make sure nothing is overlooked and no new 
bugs are introduced.

Terrasync started out as a one-evening hack/demonstration so it was 
never intended to be a full fledged solution and cover every angle and 
possibility.

Regards,
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
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] terrasync realtime scenery loading

2004-08-17 Thread Matevz Jekovec

Terrasync started out as a one-evening hack/demonstration so it was 
never intended to be a full fledged solution and cover every angle and 
possibility.
Yeah, but found itself a very useful tool among fgfs users. Maybe even a 
start of multiplayer gaming, which includes terrain downloading from the 
computer hosting the game.

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