[GRASS5] nviz-bug]

Markus Neteler neteler at geog.uni-hannover.de
Mon Feb 5 11:19:13 EST 2001


Bob,

On Sun, Feb 04, 2001 at 08:37:05PM -0400, Bob Covill wrote:
> 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.

using a lat/long dataset your proposed change leads to the opposite effect:
The surface is rather dark then. If switching back to the current CVS
version it's quite good (little dark only, but adjustable).

Maybe the use of USE_GL_NORMALIZE must be dependent on the projection?

Markus

---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list