|
From: Pigeon <pi...@pi...> - 2006-12-03 13:16:36
|
Hi all,
I had a bit more fun with FG and GE this weekend. Here is a quick
writeup.
I wrote a little script to read FG's data using --generic with a
protocol defined to send only lat/lon/alt/heading/pitch/roll. The script
then output a GE KML file, GE reads it and updates the position and
orientation of a c172p model I imported into GE.
Current issues: I couldn't get GE to update more than once per 1
second, could well be GE's limitation (or feature). And I also can't get
GE to properly follow and pan to the aircraft.
Screenshots of FG and GE running side by side:
The usual KSFO startup:
http://pigeond.net/photos/flightgear/fgge/fgge-ksfo.jpg [165k]
SF area with some 3d buildings:
http://pigeond.net/photos/flightgear/fgge/fgge-san-fran.jpg [248k]
Hong Kong with some awesome 3d buildings:
http://pigeond.net/photos/flightgear/fgge/fgge-hong-kong.jpg [270k]
I shall put up some instructions and codes for those who're
interested.
Good night for now :)
Pigeon.
|