Simple terrain — Is this doable?



  • Hey all — digging into Qt for a aviation related project. Wondering if it's possible to do the following with Qt alone...

    First, check out this screenshot: http://cl.ly/3h0K2n2T3p2V0K0V2c2V (or the video: http://www.youtube.com/watch?v=_LdeZpTI_xc)

    I have a pretty robust flight model (JSBSim) which gives me such things as a lat/lon and related "where am I data". Wondering if it's possible to build a simple 3d scene as in the screenshot, where I can specify objects in 3d space (using lat/lon or some other coordinate system), and then provide x/y/z axis data (e.g. altitude, attitude, and forward velocity). There would be a horizon and ground/sky, but that's about it initially.

    Thanks,
    Kyle



  • Well, that's pretty much up to you. You can use OpenGL and draw a "true" 3d scene, or just fake it using custom painting on a QWidget or similar.



  • [quote author="peppe" date="1311661711"]Well, that's pretty much up to you. You can use OpenGL and draw a "true" 3d scene, or just fake it using custom painting on a QWidget or similar.[/quote]

    Thanks for the reply. Curious if there are any recommended starting points for doing such a thing...



  • Perhaps "this":http://pc12-c714.uibk.ac.at/GPLIGC/GPLIGC.php can be a starting point?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.