[GRASS5] NVIZ - more bugs

> NVIZ in GRASS 6beta2 (built from source) still contains the
> strange coloring bug regarding 3d-site-vectors:
> When such vectors are displayed atop raster data, everything is
> fine at first sight. However, any manipulation requiring a redraw
> renders the image pitch-black. Setting the lighting to max shows
> that the color used for the sites is somehow "draped" over the
> landscape + the weird darkening effect.
>
> This bug prevents any serious use of 3d-sites, except for "gothic
> GIS" if there is such a thing.
>
> Peter
>
Peter, I tried it yesterday with the 3D site file that is in the demo
data set slovakia - it worked fine - both when draped and when
displayed as 3D. Can you try it with the slovakia data set
(remeber to load it as vector points from nviz interface, not vector
from command line) and see whether it works? If yes, we need to look
at your data to see what is different,

Helena

maybe this sheds some light on the matter:

in semi-related issues, NVIZ Image Dump to Max Res PPM is giving me a
dark image again. I thought that Glynn had fixed this some time ago, but
it is back again..

see:
http://grass.itc.it/pipermail/grass5/2004-August/015202.html

GS_lights_on() in lib/ogsf/GS2.c

http://grass.itc.it/pipermail/grass-commit/2004-August/012451.html

This never got applied to the 5.7 CVS, but I've done it now, please test.

Hamish

Hamish wrote:

in semi-related issues, NVIZ Image Dump to Max Res PPM is giving me a
dark image again. I thought that Glynn had fixed this some time ago, but
it is back again..

This is still relevant:

  http://grass.itc.it/pipermail/grass5/2004-August/015237.html

Calling Tk's "update" procedure in the middle of OpenGL rendering is
asking for trouble.

That may not be the only thing causing problems, but it is one of
them.

--
Glynn Clements <glynn@gclements.plus.com>