Archive

Posts Tagged ‘opengl’

GTK+ GRASS — 3D View Animation Output

June 22nd, 2009 admin No comments

The GTK+ GRASS Interface 3D View lets the user save a keyframe animation directly to a supported animation format. The 3D view uses the GRASS ogsf library to render an animation. If the GRASS ogsf library has been built with the optional FFMPEG library, movies can be directly rendered to any supported format.

Save Keyframe Animation Dialog

Save Keyframe Animation Dialog

If FFMPEG support is not available, the animation can be saved as individual images.

By default, the animation is rendered off-screen. The user can optionally turn this off and render the animation in the current 3D View. The advantage of off-screen rendering is that other windows and screen-savers do not interfere with the saved animation.

The animation dialog shows the rendering progress by frame number.

Categories: GTK+ GRASS Tags: , , ,

GTK+ GRASS — 3D View XML IO

June 18th, 2009 admin No comments

The GTK+ GRASS Interface uses a simple XML interface to save the 3D state, keyframe animations, and run scripts.

XML State File

The 3D View module uses a simple XML format to save and load the 3D state. Supported fields include view position, lighting, and loaded GRASS objects (eg. raster). A sample script might look like the following:
Read more…

Categories: GTK+ GRASS Tags: , , ,

GTK+ GRASS — 3D View Overlays

June 18th, 2009 admin No comments

The GTK+ GRASS Interface supports the following overlays in the 3D View:

  • Scalebar.
  • Cutting Plane.
  • Location Map Inset.

Read more…

Categories: GTK+ GRASS Tags: , ,

GTK+ GRASS — 3D View

June 18th, 2009 admin No comments

Introduction

The GTK+ GRASS Interface can be built with an optional port to the GRASS ogsf library providing 3-D visualization support. This requires the user to install GtkGLExt, an OpenGL extension to GTK+ 2.0.

Screen shot of the GRASS Spearfish data set in 3-D view

Screen shot of the GRASS Spearfish data set in 3-D view

The 3D View is loaded as a special tab in the Map Display. The 3D View is created with the GRASS settings (i.e. region). The user can easily switch between loaded map views and the 3D View.
Read more…

Categories: GTK+ GRASS Tags: , , ,