[GRASS-dev] problem with rendering in wxNviz

Hello,

I have following problem in GRASS wxNviz: after changes in viewing position the surface doesn't render in full resolution and some part of it is not rendered at all, I had to move mouse over the displayed surface. The problem is probably connected with another one, when I click on erase button, surface renders in full resolution, then the next click on erase button erases the display.
I tried to change the function gsd_flush so that it calls glFinish instead of glFlush and it helped, but I'm not sure if it doesn't affect anything else and if this is the best solution because I have no experience with openGL.

I haven't noticed that anyone has the same problem. I have Ubuntu 10.04, DELL Inspiron and this behaviour occurs in GRASS 6.5 and 7. I don't know if some other information could be relevant.

Thank you
Anna Kratochvilova

Anna Kratochvílová wrote:

I have following problem in GRASS wxNviz: after changes in
viewing position the surface doesn't render in full
resolution and some part of it is not rendered at all, I had
to move mouse over the displayed surface. The problem is
probably connected with another one, when I click on erase
button, surface renders in full resolution, then the next
click on erase button erases the display.
I tried to change the function gsd_flush so that it calls
glFinish instead of glFlush and it helped, but I'm not sure
if it doesn't affect anything else and if this is the best
solution because I have no experience with openGL.

I haven't noticed that anyone has the same problem. I have
Ubuntu 10.04, DELL Inspiron and this behaviour occurs in
GRASS 6.5 and 7. I don't know if some other information
could be relevant.

Hi,

just as a debugging test, do you observe the same behaviour
in tcl/tk NVIZ? What you describe sounds somewhat familiar, the
rerendering in the tcltk version has always been a bit jumpy. I
try to sit perfectly still and not touch the mouse at all until
it is 100% done. :slight_smile:

Hamish

I can confirm this behaviour in tcl/tk nviz only partly. Rendering seems to happen immediately but I still need to click on the Clear button twise, first click does nothing.

Anna

------------ Původní zpráva ------------
Od: Hamish <hamish_b@yahoo.com>
Předmět: Re: [GRASS-dev] problem with rendering in wxNviz
Datum: 25.5.2011 12:43:58
----------------------------------------
Anna Kratochvílová wrote:
> I have following problem in GRASS wxNviz: after changes in
> viewing position the surface doesn't render in full
> resolution and some part of it is not rendered at all, I had
> to move mouse over the displayed surface. The problem is
> probably connected with another one, when I click on erase
> button, surface renders in full resolution, then the next
> click on erase button erases the display.
> I tried to change the function gsd_flush so that it calls
> glFinish instead of glFlush and it helped, but I'm not sure
> if it doesn't affect anything else and if this is the best
> solution because I have no experience with openGL.
>
> I haven't noticed that anyone has the same problem. I have
> Ubuntu 10.04, DELL Inspiron and this behaviour occurs in
> GRASS 6.5 and 7. I don't know if some other information
> could be relevant.

Hi,

just as a debugging test, do you observe the same behaviour
in tcl/tk NVIZ? What you describe sounds somewhat familiar, the
rerendering in the tcltk version has always been a bit jumpy. I
try to sit perfectly still and not touch the mouse at all until
it is 100% done. :slight_smile:

Hamish

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev