WxNviz/pl: Difference between revisions

From GRASS-Wiki
Jump to navigation Jump to search
(→‎Zrzuty ekranowe: update to en version)
m (update to En version)
Line 7: Line 7:
== Zrzuty ekranowe ==
== Zrzuty ekranowe ==
<center>
<center>
{|
<gallery perrow=3 widths=200>
|-
Image:Wxnviz-alpha-0.png|2008-06-27: Display raster map from layer tree in 2.5D (surface)
| [[Image:Wxnviz-alpha-0.png|250px|thumb|2008-06-27: Display raster map from layer tree in 2.5D (surface)]] ||
Image:Wxnviz-alpha-1.png|2008-07-05: Dodana obsługa danych wektorowych (linie 2D)
[[Image:Wxnviz-alpha-1.png|250px|thumb|2008-07-05: Dodana obsługa danych wektorowych (linie 2D)]]
Image:Wxnviz-alpha-2.png|2008-07-26: Obsługa punktowych danych wektorowych
|-
Image:Wxnviz-alpha-3.png|2008-08-02: Obsługa danych wektorowych 3D
| [[Image:Wxnviz-alpha-2.png|250px|thumb|2008-07-26: Obsługa punktowych danych wektorowych]] ||
Image:Wxnviz-alpha-4.png|2008-08-09: Wstępna obsługa danych volumetrycznych
[[Image:Wxnviz-alpha-3.png|250px|thumb|2008-08-02: Obsługa danych wektorowych 3D]]
Image:Wxnviz-lmgr.png|2010-05-31: 3D view tools window integrated into Layer Manager
|-
Image:Wxnviz-light.png|Lighting control panel in Layer Manager (2010-06-17)
| [[Image:Wxnviz-alpha-4.png|250px|thumb|2008-08-09: Wstępna obsługa danych volumetrycznych]] ||
Image:Wxnviz-fringe.png|Fringe control panel in Layer Manager (2010-06-23)
[[Image:Wxnviz-lmgr.png|250px|thumb|2010-05-31: 3D view tools window integrated into Layer Manager]]
Image:Wxnviz-redirect.png|Redirect messages to wxGUI (2010-08-08)
|-
Image:Wxnviz-volumes.png|Displaying raster (surface), 2D vector and 3D raster (volume) in the 3D space (2010-08-16)
| [[Image:Wxnviz-light.png|250px|thumb|center|Lighting control panel in Layer Manager (2010-06-17)]] ||
Image:WxNviz surface page.png|Surface page of WxNviz modified (2011-06-02)
[[Image:Wxnviz-fringe.png|250px|thumb|center|Fringe control panel in Layer Manager (2010-06-23)]]
Image:WxNviz_constant_surface_page.png|Constant surface page added (2011-06-02)
|-
Image:WxNviz_lighting.png|Lighting fixed (2011-05-02)
| [[Image:Wxnviz-redirect.png|250px|thumb|center|Redirect messages to wxGUI (2010-08-08)]] ||
Image:WxNviz_cutting_planes_1.png|Cutting planes (shading blend) (2011-06-10)
&nbsp;
Image:WxNviz_cutting_planes_2.png|Cutting planes (shading top color) (2011-06-10)
|}
Image:WxNviz_view_page.png|View page modified (2011-06-10)
Image:Nviz_cmd_cutting_planes.png‎|Picture of surfaces cut by two planes (generated by nviz_cmd) (2011-06-30)
Image:WxNviz_generate_command.png‎|Command for nviz_cmd generated by wxNviz (2011-07-01)
Image:WxNviz_north_arrow.png‎|North Arrow implemented (2011-07-08)
Image:WxNviz_volumes.png‎|Colored isosurfaces with transparency (2011-07-08)
Image:WxNviz_volume_slices_1.png‎|Partially transparent slice (2011-07-14)
Image:WxNviz_volume_slices_2.png‎|Combination of slices and isosurface (2011-07-14)
Image:WxNviz_overlays.png‎|Raster legend, text label and north arrow (2011-07-22)
Image:WxNviz_thematic_points_colors‎.png|Thematic mapping (colors) for points (2011-08-05)
Image:WxNviz_colorrules_dialog.png|Dialog for {{cmd|v.colors}} opened from 3D view (2011-08-05)
</gallery>
</center>
</center>
== Animacje ==
{{YouTube|AByFPKHvgu4|desc=Using fly-through mode for creating animation}}
== Tutoriale wideo ==
{{YouTube|ib1-mBbWkv4|desc=Loading data, settings layer properties}}
{{YouTube|ZLDstyumxv0|desc=Wizualizacja sieci i strzałki północy}}
{{YouTube|CmK-fEyf2SY|desc=3D raster maps (volumes) in the space (isosurface and slice mode)}}
{{YouTube|13wj5KWEweE|desc=Color thematic mapping}}
=== Starsze tutoriale (2010) ===
{{YouTube|Ej_rBc9sgvE|desc=Loading data, settings layer properties}}
{{YouTube|iWyaBL2Krto|desc=Visualizing fringes}}
{{YouTube|ioE_hHMHqKg|desc=3D raster maps (volumes) in the space}}


== Pomysły ==
== Pomysły ==
Line 30: Line 57:
* Mgła (zobacz [http://gpwiki.org/index.php/OpenGL:Tutorials:Tutorial_Framework:Light_and_Fog], [http://www.swiftless.com/tutorials/opengl/fog.html], [http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=16])
* Mgła (zobacz [http://gpwiki.org/index.php/OpenGL:Tutorials:Tutorial_Framework:Light_and_Fog], [http://www.swiftless.com/tutorials/opengl/fog.html], [http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=16])
* Vertical labels (take from geonames.org point data): like in http://tev.fbk.eu/marmota/blog/?p=82
* 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
<strike></strike>
== Znane problemy  ==
#List of [http://trac.osgeo.org/grass/query?status=assigned&status=new&status=reopened&order=priority&col=id&col=summary&col=status&col=owner&col=type&col=priority&col=milestone&keywords=~wxNviz open] and [http://trac.osgeo.org/grass/query?status=assigned&status=closed&order=priority&col=id&col=summary&col=status&col=owner&col=type&col=priority&col=milestone&keywords=~wxNviz closed] tickets
#<strike>Adding vector data crashes wxGUI on Mac</strike>
#<strike>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</strike>
#:Fixed in {{rev|46208}}
#Adding draw, draw current and clear button may be useful
#Thematic mapping is available in GRASS 7 only
#Display region in 3D does not change accordingly to display region in 2D in version &lt;= 6.5
#Appearance:
##&nbsp;I&nbsp;<strike>need to click View tab to get the arrow draw, same for the scale bar </strike>
##add legend &gt; 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).
#General
##<strike>when I go from 3D view to 2D and then back to 3D I lose most of my settings&nbsp;</strike>
##<strike>similarly, when I add volume to Map layers I lose my view settings and the 3D view goes back to default </strike>
#Volumes:
##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.
##<strike>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
###this may be in ogsf becuase slices in nviz do not work with this data either </strike>
#<strike>changing color to constant did not change the color of the isosurface</strike>


== Google Summer of Code ==
== Google Summer of Code ==
Line 40: Line 92:


* [http://trac.osgeo.org/grass/wiki/SoCProjects#wxNvizdevelopmentforenhanced34Dvisualizationandanalysis Zaakceptowany projekt Google Summer of Code 2010]
* [http://trac.osgeo.org/grass/wiki/SoCProjects#wxNvizdevelopmentforenhanced34Dvisualizationandanalysis Zaakceptowany projekt Google Summer of Code 2010]
=== [[wxNviz GSoC 2011|2011]] ===
* [http://trac.osgeo.org/grass/wiki/SoCProjects#CompletionofwxGUINvizextensionfor3DdatavisualizationinGRASSGIS Accepted Google Summer of Code 2011 project]


== Zobacz również ==
== Zobacz również ==

Revision as of 07:48, 21 September 2012

Z powrotem do strony wxGUI.

Zobacz również instrukcję do wxNviz.

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).

Zrzuty ekranowe

Animacje

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

Pomysły

  • 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

Znane problemy

  1. List of open and closed tickets
  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

Google Summer of Code

2008

2010

2011

Zobacz również

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