Flight simulator.

7 views
Skip to first unread message

Krystian

unread,
May 19, 2011, 9:46:40 AM5/19/11
to pTolemy3D
Hello,

First of all, congratulations for making pTolemy3D, it's very good
application. I've got a question, I was studing your source for long
time, and now I would like to build plugin, wich would do something
like
a flight simulator. Something similar to that what Google Earth has
got.
Can you give me some tips, how should I start my project?
Thanks for help!

Krystian.

Mark Korver

unread,
May 19, 2011, 11:13:50 AM5/19/11
to pTolemy3D
Hi Krystian,

Thanks for your message. There is a lot of good code in Ptolemy3D and
it amazes me to see that even after all of these years PT is the only
viewer of its kind that has the ability to read tiled jp2000 files.
That code has been there since 2003 I think. There was spurt of
activity around PT in 2008-9 when Jerome and Antonio made a lot of
improvements, but not a lot since mainly because we have been involved
in other projects. Also I think interest is now going to direct
browser implementation of 3D using WebGL etc.

Flight simulator use is a natural for PT, you might be interested to
know that this code was shown on several occasions to top military
brass and pilot training execs back in about 2004 for exactly that
reason.

My advice would be to use native browser functionality as much as
possible to do the cockpit. That way you have better flexibility with
code base later. Much of the work will be around putting the aircraft
into the scene. That's something we never had to do before because it
was mainly used like GE plugin.

Maybe Antonio will chime in here with better advice.

Krystian

unread,
May 20, 2011, 6:23:19 AM5/20/11
to pTolemy3D
Thank you for your reply.
So if I understood good, the PT project is not longer develop. right?
too bad, becouse it's very good opensource project.
I think, I said not exactly clear about what I wanna to do. I'm
thinking about something less complicated - I would like to build 3d
model of aircraft (not a cockpit, just outside view of aircraft) and
model would be flying by route wich I will made from long/lat
coordinates. So non of the indicators, or other cockpit stuff would be
necessary. I just wondering, how to create function to move scene
through route by coordinates?

Krystian

Mark Korver

unread,
May 20, 2011, 9:21:36 AM5/20/11
to pTolemy3D
If you look at the demo you should find that PT supports a couple of
flight modes to go from point A to B. One is a immediate translation,
the other is flight. However the flight mode one is simple and does
not model aircraft characteristics like banking etc. We had that
before ( the code might still be there ) but we found that realistic
flight model made more people feel sick when using PT for map browsing
purpose.

But you should be able to simulate this at least in simple way by
having an array of lat/lon points in js and driving the js api via
that list.

Antonio Santiago

unread,
May 20, 2011, 12:56:35 PM5/20/11
to ptol...@googlegroups.com
Hi Krystian,
i think the best way is to subclass from Plugin class http://svn.ptolemy3d.org/pTolemy3DViewer/trunk/src/main/java/org/ptolemy3d/scene/Plugin.java and implement its methods.

Take a look also to http://svn.ptolemy3d.org/pTolemy3DViewer/trunk/src/main/java/org/ptolemy3d/scene/Scene.java class to see how plugins methods are called so you understand better.

Unfortunately we have no more time to spend working on PT. We start a new branch to improve and simplifies its design, but never finish it.

Cheers.

--
You received this message because you are subscribed to the pTolemy3d group.
To post, send email to ptol...@googlegroups.com
To unsubscribe, send email to
ptolemy3d+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/ptolemy3d?hl=en



--
|----------------------------------------------------------------
| Blog: http://www.acuriousanimal.com/blog
|----------------------------------------------------------------
| A crazy mix site: http://www.astracanada.net
| Old Virtual Globe project:http://theballoonproject.blogspot.com
|----------------------------------------------------------------
|   _      __                           
|  /_)    (_ ` _   _  _)_ o  _   _   _  
| / /  o .__) (_( ) ) (_  ( (_( (_( (_) 
|                                 _)    
|----------------------------------------------------------------

Krystian

unread,
May 20, 2011, 3:19:36 PM5/20/11
to pTolemy3D
thank you for advice!

Can I write here if I will have some troubles with PT in future?

Krystian

Krystian

unread,
May 20, 2011, 12:04:33 PM5/20/11
to pTolemy3D
Thanks for reply,

I've got GPS trace file from aircraft and I wanna to do a virtual
flight via this file. So banking and ect, will be not so needed.

I will search for what you wrote , and if I will have had some
questions I will write it here soon.

Thanks and regards.

Krystian

Mark Korver

unread,
May 20, 2011, 3:35:29 PM5/20/11
to pTolemy3D
we are still monitoring the list
Reply all
Reply to author
Forward
0 new messages