[GRASS-user] [bug #3041] nviz max resolution ppm image dump
William Hargrove
hnw at fire.esd.ornl.gov
Wed Aug 30 08:41:05 EDT 2006
Hamish, Glynn:
The 6.1.0 version of nviz dumps high res ppms perfectly after I comment
out the off-screen section.
So the bug that remains in the subsequent versions must come from code
changes introduced since then.
Bill H.
Glynn Clements wrote:
>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
>
>
>
--
William W. Hargrove hnw at fire.esd.ornl.gov
Environmental Sciences Division (865) 241-2748
Oak Ridge National Laboratory (865) 574-4665 (fax)
P.O. Box 2008, M.S. 6407 http://research.esd.ornl.gov/~hnw
Oak Ridge, TN 37830-6407 FedEx/UPS, use "Bethel Valley Rd."
More information about the grass-user
mailing list