[GRASS-dev] strange NVIZ behavior
Michael Barton
Michael.Barton at asu.edu
Tue Dec 2 23:54:58 PST 2014
Forgot to mention. As I moved and zoomed, the NVIZ scene became slower and slower. Eventually it crashed. With no vector overlaid, it is fast. I wonder if somehow vector lines are rendered as points now, with a lot of points for a long, irregular line like a stream or contour line. Trying to render hundreds or thousands of points is slowing it down??
Anyway, here is the error in case someone can make something of it.
"<NSAutoresizingMaskLayoutConstraint:0x7de6f920 h=-&- v=-&- H:|-(0)-[NSView:0x7de5f880] (Names: '|':FIFinderView:0x7ded1930 )>",
"<NSAutoresizingMaskLayoutConstraint:0x7db1ba30 h=-&- v=-&- H:[NSView:0x7de5f880]-(0)-| (Names: '|':FIFinderView:0x7ded1930 )>",
"<NSAutoresizingMaskLayoutConstraint:0x7de6fc20 h=-&- v=-&- H:|-(0)-[FIFinderView:0x7ded1930] (Names: '|':NSNavFinderViewFileBrowser:0x7dedb850 )>",
"<NSAutoresizingMaskLayoutConstraint:0x7de6fc60 h=-&- v=-&- H:[FIFinderView:0x7ded1930]-(0)-| (Names: '|':NSNavFinderViewFileBrowser:0x7dedb850 )>",
"<NSAutoresizingMaskLayoutConstraint:0x7dbb88c0 h=--& v=--& H:[NSNavFinderViewFileBrowser:0x7dedb850(585)]>",
"<NSLayoutConstraint:0x7db2b370 H:|-(0)-[NSView:0x7dbe2770] (Names: '|':NSView:0x7de5f880 )>",
"<NSLayoutConstraint:0x7dfe70a0 H:[NSView:0x7dbe2770]-(0)-| (Names: '|':NSView:0x7de5f880 )>",
"<NSLayoutConstraint:0x7db141d0 H:[FILocationPopUp:0x7db0a160'Documents'(207)]>",
"<NSLayoutConstraint:0x7dfe7ba0 NSView:0x7dbe2770.centerX == FILocationPopUp:0x7db0a160'Documents'.centerX>",
"<NSLayoutConstraint:0x7dbf17a0 H:[FILocationPopUp:0x7db0a160'Documents']-(>=10)-[SGTSearchField:0x7dea33b0]>",
"<NSLayoutConstraint:0x7db1fbd0 H:[SGTSearchField:0x7dea33b0]-(11)-| (Names: '|':NSView:0x7dbe2770 )>",
"<NSLayoutConstraint:0x7db2e6d0 H:[SGTSearchField:0x7dea33b0(>=218)]>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x7db2e6d0 H:[SGTSearchField:0x7dea33b0(>=218)]>
Set the NSUserDefault NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints to YES to have -[NSWindow visualizeConstraints:] automatically called when this happens. And/or, break on objc_exception_throw to catch this in the debugger.
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
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/7d2bf997/attachment-0001.html>
More information about the grass-dev
mailing list