How to create a fly thru in 3d?

mg.srikanthmg.srikanth Global Mapper UserPosts: 27
edited November 2012 in SDK
Hi,
Can I create a fly thru in 3D using sdk?
How can I set altitude for a point feature so that I can view the moving object in 3D?
What kind of 3D symbols(3DS Max, etc..) does GM sdk v13 support and how do I load the 3d objects in 3d display?

Srikanth

Comments

  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited November 2012
    There is not direct support for creating a flythrough, but you can use GM_3DPositionCamera to set a camera position then use GM_3DSaveViewToFile to save an image file from the view. You could repeat this as you change the camera position and get a bunch of images that you could use with another library to create a video file.

    For 3D point features, add an attribute with a name of ELEVATION or HEIGHT when creating the point or by calling GM_SetFeatureAttrList. That will be used when rendering the symbol in space in 3D. Any symbol that you can draw in the normal 2D map display can render in space in the 3D view.

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    http://www.globalmapper.com
  • mg.srikanthmg.srikanth Global Mapper User Posts: 27
    edited November 2012
    Hi Mike,
    Can I change the altitude of the point feature in 3D view dynamically when it moves on the terrain, so that when climbing a mountain it will not go inside the mountain/hill in 3D view?
  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited November 2012
    You can update the attribute list, but you would have to reset the 3D view so it draws again. There isn't a way to dynamically update a 3D vector features without updating the entire view.

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    http://www.globalmapper.com
Sign In or Register to comment.