[GRASS5] PNG driver problem

Glynn Clements glynn.clements at virgin.net
Wed Aug 25 19:31:02 EDT 2004


Glynn Clements wrote:

> > The resulting image is still very dark.
> 
> That appears to be a lighting issue. The default lighting results in a
> large proportion of the image being saturated (i.e. what you would
> expect for a scene with multiple full-intensity lights), while the
> zoomed image never quite saturates (i.e. what you would expect for a
> scene with a single full-intensity light).

Yep. GS_lights_on() had an off-by-one error, resulting in it failing
to enable the last light.

Fixed in CVS.

-- 
Glynn Clements <glynn.clements at virgin.net>




More information about the grass-dev mailing list