From GRASS-Wiki
< WxNviz
Revision as of 06:57, 23 August 2016 by MilenaN (talk | contribs) (update to en version)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

(Wróć do strony wxGUI.)

wxNviz jest rozszerzeniem wxGUI pozwalającym na realistyczne renderowanie multiple surfaces (danych rastrowych) w przestrzeni 3D z możliwością kolorowania tematycznego, nakładania danych wektorowych 2D na powierzchnie, przestrzennego wyświetlania danych wektorowych 3D oraz wizualizację danych volume (danych rastrowych 3D).

Zobacz również instrukcję do wxNviz.

Zrzuty ekranowe


Using fly-through mode for creating animation

Tutoriale wideo

Loading data, settings layer properties
Wizualizacja sieci i strzałki północy
3D raster maps (volumes) in the space (isosurface and slice mode)
Color thematic mapping

Starsze tutoriale (2010)

Loading data, settings layer properties
Visualizing fringes
3D raster maps (volumes) in the space


  • Mgła (zobacz [1], [2], [3])
  • Vertical labels (take from geonames.org point data): like in http://tev.fbk.eu/marmota/blog/?p=82
  • Second interactive light source for isosurface visualization
  • Tick marks and coordinate values to x,y,z axis when drawing fringe

Rozwiązania problemów

  • Nic się nie renderuje:
Please note that with wxGTK port of wxPython (Linux systems), a problem might appear during wxNviz initialization (nothing is rendered at all) or when rendering vectors (bad order of rendering surfaces and vectors). If you encounter such problems, try to change a depth buffer number in wxGUI Menu > Settings > Preferences > Map Display > Advanced (possible numbers are 0, 16, 24, 32). It is currently not possible to automatically find out the right number which is working for your computer.

Znane problemy

  1. Lista otwartych i zamkniętych biletów
  2. Adding vector data crashes wxGUI on Mac
  3. Viewing height sometimes sets to 1 after switching to 2D and back to 3D View (or with the simultaneous 2D view - very nice feature) and even after View is reset, it keeps getting back at 1 each time the slider is touched
    Fixed in r46208
  4. Adding draw, draw current and clear button may be useful
  5. Thematic mapping is available in GRASS 7 only
  6. Display region in 3D does not change accordingly to display region in 2D in version <= 6.5
  7. Appearance:
    1.  I need to click View tab to get the arrow draw, same for the scale bar
    2. add legend > OK: nothing gets drawn in 3D but the legend shows up when I switch to 2D but when I clicked delete scalebar (which was not drawn), my surface disapeared but the legend showed up along with white and black background (which I assume was supposed to be transparent, because when I moved the legend the surface was under it - we already discussed this, it may be my problem, because it works for Michael).
  8. General
    1. when I go from 3D view to 2D and then back to 3D I lose most of my settings 
    2. similarly, when I add volume to Map layers I lose my view settings and the 3D view goes back to default
  9. Volumes:
    1. change of region by g.region seems to be ignored (or I missed something), I had to restart GRASS with the new region to get the 3D region for volumes right. Given that the default top, botom is 1,0, if GRASS starts with the default 3D region settings volumes do not work because there is just one level.
    2. isosurfaces work with my terrestrial lidar data but the slices don't, it seems that it is due my resolution being 0.3m, when I change it to 1m I get at least some limited slicing
      1. this may be in ogsf becuase slices in nviz do not work with this data either
  10. changing color to constant did not change the color of the isosurface

Porównanie funkcjinalności Tcl/Tk nviz i wxNviz

Czego brakuje w wxNviz:

  • scaled difference
  • lighting - follow surface viewpoint
  • keyframe animation
  • text rendering (in OpenGl)

Co działa jedynie częściowo:

  • legenda, etykiety
  • thematic mapping - nviz allows to choose also icon and multiple classification
  • basic support of animations

Co jest nowego w wxNviz:

  • it is possible to change view more interactively using mouse


  • Scripting functionality is replaced by m.nviz.image module
  • stan wxNviz jest zapisany w polu pracy

Google Summer of Code




Zobacz również

This page is in progress of translating to Polish from English.