How to create a fly thru in 3d?

mg.srikanth
Global Mapper User
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
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
-
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 -
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? -
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
Categories
- 12.9K All Categories
- 5.7K Features Discussion
- 346 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 646 GM Script Language
- 54 User Scripts
- 115 GPS Features
- 419 Projection Questions
- 833 Raster Data
- 1.4K Vector Data
- 6.6K Support
- 180 Announcement and News
- 929 Bug Report
- 561 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 577 Other Discussion
- 132 GIS Data Sources
- 27 Global Mapper Showcase
- 244 How I use Global Mapper
- 108 Global Mapper Forum Website