[GRASS-dev] strange NVIZ behavior

Michael Barton Michael.Barton at asu.edu
Tue Dec 2 23:54:58 PST 2014


Anna,

I just tested on my Mac with GRASS 7.1 r61575.

The color issue seems OK. All of a vector line is the same, selected color rather than just cat=1.

The other issues are still there though:

1. lines with width>1 look weird, almost as if they are composed of individual characters instead of lines. I’ve attached an image with line width set to 20.
2. I did an r.walk cost map and created contours at intervals of 3600 seconds (=1hr). The contours float far above the landscape, no inconsistent with a height = the contour value. I’ve attached images of NVIZ 3D and regular 2D for the same scene.

Michael

[cid:71065EF4-379B-4AE7-9075-718104F2AA55][cid:E5059B7D-3EEE-44CE-A1BD-F68575205FC5][cid:D9373FFB-BCB4-48E6-A25B-872F64CA31C2]
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University

voice:  480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu















On Dec 2, 2014, at 5:43 PM, Anna Petrášová <kratochanna at gmail.com<mailto:kratochanna at gmail.com>> wrote:



On Tue, Dec 2, 2014 at 7:12 PM, Michael Barton <Michael.Barton at asu.edu<mailto:Michael.Barton at asu.edu>> wrote:
One of my students recently install GRASS 7.0 svn for Windows. Today we tried to display a raster DEM in NVIZ, overlaid by a couple contour lines with values for walking distance from a site (from r.walk). The lines displayed but are floating above the surface at about the level of their contour values (3600 and 7200), in spite of all my attempts to bring them down to earth.


I see, these are 3D lines. I will look at it, hopefully during the next week.
Related to this are a couple other NVIZ issues I’ve seen

1) making a line width greater than 1 creates a line made up of many many ++++ symbols at the size of the line width

I wonder if this happens only when the line is draped over a surface, then it's drawn as many lines. I don't think there is a simple way to set line caps in openGL, so I doubt I could fix it.
2) coloring a line only colors the first segment (cat=1) of a multisegment line.

does this happens  with recent grass? I thought I fixed something similar to what you describe sometime in summer, but it might be a different problem. If it happens with recent GRASS, could you send me the data (or show the problem on nc_spm)?

Anna

I can do a ticket but perhaps these are already fixed in GRASS 7.1? I don’t use Windows regularly so I’m not up on what works and does not work.

Michael
______________________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University
Tempe, AZ  85287-2402
USA

voice:  480-965-6262<tel:480-965-6262> (SHESC), 480-965-8130<tel:480-965-8130>/727-9746 (CSDC)
fax:          480-965-7671<tel:480-965-7671>(SHESC), 480-727-0709<tel:480-727-0709> (CSDC)
www:  http://csdc.asu.edu<http://csdc.asu.edu/>, http://shesc.asu.edu<http://shesc.asu.edu/>
http://www.public.asu.edu/~cmbarton


_______________________________________________
grass-dev mailing list
grass-dev at lists.osgeo.org<mailto:grass-dev at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/grass-dev


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20141203/a69fe0df/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nviz_lines_position.jpg
Type: image/jpeg
Size: 32682 bytes
Desc: nviz_lines_position.jpg
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20141203/a69fe0df/attachment-0003.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lines_2D.jpg
Type: image/jpeg
Size: 61614 bytes
Desc: lines_2D.jpg
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20141203/a69fe0df/attachment-0004.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nviz_lines_width.jpg
Type: image/jpeg
Size: 109193 bytes
Desc: nviz_lines_width.jpg
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20141203/a69fe0df/attachment-0005.jpg>


More information about the grass-dev mailing list