[GRASS5] r3.showdspf: repaints o.k. now!

Hi Eric,

thanks for fixing the colortable size and the
auto-redraw in r3.showdspf!

To all:
If the GRASS Monitor would learn this as well...
Without and with XDM and backing store enabled,
the GRASS Monitor is still not repainted under KDE.

Markus

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

On Wed, Jan 24, 2001 at 11:15:31AM +0000, Markus Neteler wrote:

Hi Eric,

thanks for fixing the colortable size and the
auto-redraw in r3.showdspf!

To all:
If the GRASS Monitor would learn this as well...
Without and with XDM and backing store enabled,
the GRASS Monitor is still not repainted under KDE.

It's still that it's blocked in a read (and can't respond to Xevents).

The hack on r3.showdspf is kind of ugly. It screws up the terminal
interface a little as far as command prompts. I just hacked in a
popen() and fork() to separate the windowing (and most everything) from
the blocked read at the command line. That whole program is really more
proof of concept than full functional. Though, it does seem to do a lot
better now (hey, buttons actually do something!). The XDRIVER can't use
select() (which is used in r3.showdspf) unless it does an extra fork()
to separate the reading from the FIFO from the rest of the program.
Apparently you can't do a select() on a FIFO (they always block)???

--
Eric G. Miller <egm2@jps.net>

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

Hi all,

while playing with r3.showdspf I found that the
solid volume display is commented in main_ogl.c:
src.contrib/GMSL/g3d/src3d/raster/r3.showdspf.openGL/main_ogl.c

function:
do__draw_solid();
(line 1125).

Unfortunately the graphic window is closed if I want to draw
a solid with "D" (and uncommenting this line). Seems to be a bug.

I tried to find the problem with draw_cap_side(), but no idea...

If anyone out there is able to fix this, we could display volumes
as well (currently only isosurfaces).

Kind regards

Markus

PS: A sample 3D dataset is available on GRASS site.

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

On Wed, 24 Jan 2001 21:38:48 +0000, you wrote:

Hi all,

while playing with r3.showdspf I found that the
solid volume display is commented in main_ogl.c:
src.contrib/GMSL/g3d/src3d/raster/r3.showdspf.openGL/main_ogl.c

function:
do__draw_solid();
(line 1125).

Unfortunately the graphic window is closed if I want to draw
a solid with "D" (and uncommenting this line). Seems to be a bug.

I tried to find the problem with draw_cap_side(), but no idea...

If anyone out there is able to fix this, we could display volumes
as well (currently only isosurfaces).

Kind regards

Markus

PS: A sample 3D dataset is available on GRASS site.

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'