[GRASS-dev] [grass-code P][371] a fix for NVIZ site's dependency - almost complete

grass-codep at wald.intevation.org grass-codep at wald.intevation.org
Tue Apr 17 15:08:27 EDT 2007

code P item #371, was opened at 2007-04-17 21:08
Status: Open
Priority: 3
Submitted By: Maciej Sieczka (msieczka)
Assigned to: Nobody (None)
Summary: a fix for NVIZ site's dependency - almost complete 
Patch status: None
Patch type: fix
GRASS component: NVIZ
GRASS CVS checkout date, if applies (YYMMDD): 070417

Initial Comment:
In a followup of http://www.nabble.com/Re%3A-GRASS-6.2.1RC1-published-p7837804.html Bob has sent me a new version of Gp3.c file, which gets rid of the sites dependency in NVIZ. Hovever, Bob had one doubt:

> One of the parts I am not sure about is on line 138 and 139. I am not
> sure what this is intended to represent in the geopoint. Any insights
> would be appreciated.

In spite of this, it works: fetched the 6.3 cvs, overwrited the Gp3.c, built on Ubuntu Dapper using GCC 4.0.3 tcl/tk 8.4.12 on a 32bit Pentium M and all is OK! 

No line artifacts, strange icons colors or random icon types. Adding/removing 2d/3d points at runtime and at NVIZ startup via 'points' option, displaying 3d points flat - all works OK.

Remaining issue is that the 'X' icon is still always rendered kindoff hovering over the surface in 2d mode, not on the surface (though other icons are fine in 2d mode). It is rendered on the correct elevation for 3d points though.

Since there's been no response from Bob on this subject for few weeks know, I decided it would be better to post this patch to the tracker so we don't loose an almost working fix. Hopefully somebody would like to look into lines 138, 139 and the 'X' icon issue.



You can respond by visiting: 

More information about the grass-dev mailing list