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

Hamish hamish_nospam at yahoo.com
Tue Aug 29 19:56:13 EDT 2006


Glynn Clements 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


Setting those make no difference to this bug however:

#with GLX
G63 > nviz elevation.10m
Loading Data
Update elev null mask
Loading Data
translating colors from fp
recalculating normals...
r200_makeX86Normal3fv/197 CVAL 0 OFFSET 14 VAL 8260df0
r200_makeX86Normal3fv/198 CVAL 4 OFFSET 20 VAL 8260df4
r200_makeX86Normal3fv/199 CVAL 8 OFFSET 25 VAL 8260df8
r200_makeX86Normal3fv done
% Creating PBuffer Using GLX 1.3
Create PixMap Using GLX 1.1
Final Assembled Image will be 1929 x 2048
Writing Tile 1 of 9
Writing Tile 2 of 9
Writing Tile 3 of 9
Writing Tile 4 of 9
Writing Tile 5 of 9
Writing Tile 6 of 9
Writing Tile 7 of 9
Writing Tile 8 of 9
Writing Tile 9 of 9
Assembling Tiles
pnmcat: EOF / read error reading a row of pixels
pnmcat failed to create assembled image
Check that pnmcat is installed and path is set
pnmcat: EOF / read error reading magic number
pnmcat failed to create assembled images
Check that pnmcat is installed and path is set
Destroy Pixmap and GLXPixmap


#without GLX
G63> export GRASS_NO_GLX_PBUFFERS=TRUE
G63> export GRASS_NO_GLX_PIXMAPS=TRUE
G63> nviz elevation.10m
Loading Data
Update elev null mask
Loading Data
translating colors from fp
recalculating normals...
r200_makeX86Normal3fv/197 CVAL 0 OFFSET 14 VAL 8254e28
r200_makeX86Normal3fv/198 CVAL 4 OFFSET 20 VAL 8254e2c
r200_makeX86Normal3fv/199 CVAL 8 OFFSET 25 VAL 8254e30
r200_makeX86Normal3fv done
% Final Assembled Image will be 1904 x 2048
Writing Tile 1 of 9
Writing Tile 2 of 9
Writing Tile 3 of 9
Writing Tile 4 of 9
Writing Tile 5 of 9
Writing Tile 6 of 9
Writing Tile 7 of 9
Writing Tile 8 of 9
Writing Tile 9 of 9
Assembling Tiles
pnmcat: Zero byte allocation
pnmcat failed to create assembled image
Check that pnmcat is installed and path is set
pnmcat: Zero byte allocation
pnmcat failed to create assembled image
Check that pnmcat is installed and path is set
pnmcat: Zero byte allocation
pnmcat failed to create assembled image
Check that pnmcat is installed and path is set
pnmcat: EOF / read error reading magic number
pnmcat failed to create assembled images
Check that pnmcat is installed and path is set


      0 Aug 30 11:44 test7.ppm
     13 Aug 30 11:44 test7_3_1.ppm
     13 Aug 30 11:44 test7_3_2.ppm
     11 Aug 30 11:44 test7_3_3.ppm
5925905 Aug 30 11:44 test7tmp1.ppm
5925905 Aug 30 11:44 test7tmp2.ppm
      0 Aug 30 11:44 test7tmp3.ppm
      0 Aug 30 11:45 test8.ppm
2924560 Aug 30 11:45 test8_1_1.ppm
2924560 Aug 30 11:45 test8_1_2.ppm
     14 Aug 30 11:45 test8_1_3.ppm
2924560 Aug 30 11:45 test8_2_1.ppm
2924560 Aug 30 11:45 test8_2_2.ppm
     14 Aug 30 11:45 test8_2_3.ppm
     13 Aug 30 11:45 test8_3_1.ppm
     13 Aug 30 11:45 test8_3_2.ppm
     11 Aug 30 11:45 test8_3_3.ppm
      0 Aug 30 11:45 test8tmp1.ppm
      0 Aug 30 11:45 test8tmp2.ppm
      0 Aug 30 11:45 test8tmp3.ppm

Note partials are constructed in the output save dir, not $MAPSET/.tmp/. 
I guess that's not a problem.


Hamish




More information about the grass-user mailing list