[GRASS5] nviz-bug]
Bob Covill
grass5 at geog.uni-hannover.de
Sun, 04 Feb 2001 20:37:05 -0400
--------------745B3764B18D68150330A6E0
Content-type: text/plain; charset="us-ascii"
Helena,
I took a look at the sample dataset you put up (hoodtest) and was able to replicate
the nviz bug. The data appeared dark and over exagerated with shadowing.
I was able to improve on the view by applying a suggestion from Bill given a while
back. He suggested that the USE_GL_NORMALIZE define flag in the ogsf library could
be removed for building the opengl version. This flag is used in the gs_norms.c and
gsd_prim.c. If you comment out the define flag in gs_norms.c and re-build the
library and nviz, you should see an improvement. Do not remove it from gsd_prim.c.
The effect of removing the flag is to take the exageration out of the normal
calculation.
If you (and others) could try this and find it helps, we could apply it to the CVS.
At this point I have not had much time to test it.
Hope this helps.
--
Bob Covill
Tekmap Consulting
P.O. Box 2016 Fall River, N.S.
B2T 1K6
Canada
E-Mail: bcovill@tekmap.ns.ca
Phone: 902-860-1496
Fax: 902-860-1498
--------------745B3764B18D68150330A6E0
Content-type: text/x-vcard; charset="us-ascii"; name="bcovill.vcf"
Content-transfer-encoding: 7bit
Content-Description: Card for Bob Covill
Content-Disposition: attachment;
filename="bcovill.vcf"
begin:vcard
n:Covill;Bob
tel;fax:902-860-1498
tel;work:902-860-1496
x-mozilla-html:FALSE
url:www.tekmap.ns.ca
org:Tekmap Consulting
adr:;;P.O. Box 2016;Fall River;Nova Scotia;B2T 1K6;Canada
version:2.1
email;internet:bcovill@tekmap.ns.ca
x-mozilla-cpt:;0
fn:Bob Covill
end:vcard
--------------745B3764B18D68150330A6E0--