[GRASS-user] [bug #3041] nviz max resolution ppm image dump

Glynn Clements glynn at gclements.plus.com
Tue Aug 29 21:42:05 EDT 2006


Hamish wrote:

> > Note that setting the environment variables:
> > 
> > 	GRASS_NO_GLX_PBUFFERS
> > 	GRASS_NO_GLX_PIXMAPS
> > 
> > will disable use of these features, in case of problems with your
> > OpenGL setup (libraries or X server). Their values don't matter, only
> > whether or not they are set.
> 
> These should be added to lib/init/variables.html

I'll do that.

> Setting those make no difference to this bug however:
> 
> #with GLX
> G63 > nviz elevation.10m

> % Creating PBuffer Using GLX 1.3
> Create PixMap Using GLX 1.1

> Final Assembled Image will be 1929 x 2048

> Assembling Tiles
> pnmcat: EOF / read error reading a row of pixels

> #without GLX
> G63> export GRASS_NO_GLX_PBUFFERS=TRUE
> G63> export GRASS_NO_GLX_PIXMAPS=TRUE
> G63> nviz elevation.10m

> % Final Assembled Image will be 1904 x 2048

> Assembling Tiles
> pnmcat: Zero byte allocation

Well, it appears to make *some* difference, i.e. you're getting a
different error message.

Does removing the following from nviz2.2_script help?

	# Set the cancel function for drawing
	Nset_cancel_func update

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




More information about the grass-user mailing list