WxNviz GSoC 2008: Difference between revisions

From GRASS-Wiki
Jump to navigation Jump to search
mNo edit summary
Line 70: Line 70:


=== wxGUI Nviz extension ===
=== wxGUI Nviz extension ===
{{wxGUI}}
[[Category: GSoC]]

Revision as of 16:40, 23 May 2010

See wxNviz page.

Accepted Google Summer of Code 2008 project

Weekly Reports

  1. 2008-06-06
  2. 2008-06-13
  3. 2008-06-20
  4. 2008-06-27
  5. 2008-07-04
  6. 2008-07-11
  7. 2008-07-18
  8. 2008-07-25
  9. 2008-08-01
  10. 2008-08-08
  11. 2008-08-15

Final report

OGSF Library

Changes in OGSF library, diff before and after indentation relevant diffs:

Nviz command-line module

The nviz_cmd module currently supports:

  • Surfaces, attributes:
    • topography - raster map or constant values used as elevation (z values) for the current surface.
    • color - raster map or constant color to drape over the current surface.
    • mask - raster map that controls the areas displayed from the current surface.
    • transparency - raster map or constant value that controls the transparency of the current surface. The default is completely opaque.
    • shininess - raster map or constant value that controls the shininess (reflectivity) of the current surface.
    • emission - raster map or constant value that controls the light emitted from the current surface.
  • For each loaded surface draw style:
    • mode - coarse,fine,both
    • style - wire,surface
    • shading - flat,gouraud
    • coarse and fine resolution
    • wire color
  • 2D/3D vector line features:
    • line width, color
    • mode - flat,surface (only for 2D)
    • height (constant or above surface)
  • 2D/3D vector point features:
    • marker size, width, color
    • marker - x,sphere,diamond,cube,box,gyro,aster,histogram
  • Volume
    • mode - isosurface,slice (currently only isosurface mode implemented)
    • shading - flat,gouraud
    • position, resolution
  • Volume isosurface mode, attributes:
    • level - reference isosurface level (height in map units).
    • color - raster map or constant color to drape over the current volume.
    • mask - raster map that controls the areas displayed from the current volume.
    • transparency - raster map or constant value that controls the transparency of the current volume. The default is completely opaque.
    • shininess - raster map or constant value that controls the shininess (reflectivity) of the current volume.
    • emission - raster map or constant value that controls the light emitted from the current volume.
  • Settings
    • background color
  • View parameters
    • position, height, perspective, twist, zexag
  • Output options
    • filename, image size (width, height) and format (ppm, tif)

wxGUI Nviz extension