[GRASS5] nviz bug

Paolo Cavallini cavallini at faunalia.it
Sat Feb 26 06:01:14 EST 2005


Hi all.

While revising old bugs, I tried NVIZ, and I found a few problems:
1. dumping at max resolution does not work if I resize NVIZ monitor; it 
produces a number of files:

-rw-r--r--   1 paolo paolo  3133457 2005-02-26 11:05 provamax2_1_1.ppm
-rw-r--r--   1 paolo paolo  3133457 2005-02-26 11:05 provamax2_1_2.ppm
-rw-r--r--   1 paolo paolo       14 2005-02-26 11:05 provamax2_1_3.ppm
-rw-r--r--   1 paolo paolo  3130385 2005-02-26 11:05 provamax2_2_1.ppm
-rw-r--r--   1 paolo paolo  3130385 2005-02-26 11:05 provamax2_2_2.ppm
-rw-r--r--   1 paolo paolo       14 2005-02-26 11:05 provamax2_2_3.ppm
-rw-r--r--   1 paolo paolo       15 2005-02-26 11:05 provamax2_3_1.ppm
-rw-r--r--   1 paolo paolo       15 2005-02-26 11:05 provamax2_3_2.ppm
-rw-r--r--   1 paolo paolo       12 2005-02-26 11:05 provamax2_3_3.ppm
-rw-r--r--   1 paolo paolo        0 2005-02-26 11:05 provamax2.ppm
-rw-r--r--   1 paolo paolo        0 2005-02-26 11:05 provamax2tmp1.ppm
-rw-r--r--   1 paolo paolo        0 2005-02-26 11:05 provamax2tmp2.ppm
-rw-r--r--   1 paolo paolo        0 2005-02-26 11:05 provamax2tmp3.ppm

Of these, the largest are cuts from the whole image.

This is the error output:
nviz elevation=t_dtm at PERMANENT 
Loading Data

Update elev null mask
Loading Data
translating colors from fp
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
recalculating normals...
Row 100
Row 200
Creating PBuffer Using GLX 1.3
Create PixMap Using GLX 1.1
Final Assembled Image will be 1673 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
Destroy Pixmap and GLXPixmap
Creating PBuffer Using GLX 1.3
Create PixMap Using GLX 1.1
Final Assembled Image will be 2048 x 2039
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
MALLOC Failed
Writing Tile 8 of 9
MALLOC Failed
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: junk in file where an integer should be
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

I also get an error window:
invalid command name ".dialog0.pw.f1.frame.win.text"

If it's a resize problem only, it should be easy to fix it by making the 
monitor of fixed size.

2. if I switch to another window when dumping, the dump reflects the new 
window instead of the NVIZ monitor. This should be made clear to the user 
"Don't move" message).

3. dumping to IRIS RGB crashes X badly (BTW, is this an useful command? Could 
be safely removed?).

4. when clicking on "nviz" (bottom of "d.nviz" help page) I get an error (does 
not find file:/usr/lib/grass/docs/html/nviz.html).

Grass6.0beta2 from debian testing.

All the best.
pc
-- 
Paolo Cavallini
cavallini at faunalia.it   www.faunalia.it   www.faunalia.com
Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy   Tel: (+39)348-3801953




More information about the grass-dev mailing list