[GRASS5] [bug #3507] (grass) NVIZ: display degrade after switching desktops II

Bob Covill bcovill at tekmap.ns.ca
Thu Aug 11 13:35:10 EDT 2005


Hello,

I did find a side effect from the fix below. The togl fly routines were 
using the same callback to draw the coarse mode surface. With the fix 
below this causes the screen to flash as it is trying redraw everything.

I have corrected this in togl_flythrough.c so that in fly mode the 
surface is once again drawn in coarse mode.

--
Bob


Bob Covill wrote:
> Hello,
> 
> I have applied a fix to CVS for the behaviour described below. The 
> callback to redraw the togl canvas was only drawing the coarse surface. 
> This redraw applies to changing desktops, resizing, etc.
> 
> It is now set to draw all selected features (surfaces, vectors, legends, 
> labels, etc).
> 
> The file to update is togl_cb.c in visualization/nviz/src .
> 
> Please test to see if there are any side effects from this fix.
> 
> -- 
> Bob
> 
> 
> Paulick Consult wrote:
> 
>> Yes, confirmed on SuSE 9.1 / ATI Rage128 / KDE 3.2.1 / fresh CVS-GRASS 
>> /...
>>
>> same effect happens when:
>>
>> 1) move mouse pointer over numeric "twist" input frame.
>> 2) help message "Set twist angle (degrees)" comes up and spreads into 
>> graphic window.
>> 3) mouse out
>> 4) help message disapears and graphic window becomes re-drawn with 
>> coarse resolution and w/o vectors.
>>
>>  and: Vector polygons are not filled, only borders are shown (?)
>>
>>
>> /Stefan
>>
>>
>>
>>> Am Donnerstag, 11. August 2005 16:04 schrieb Request Tracker:
>>>
>>>> this bug's URL: http://intevation.de/rt/webrt?serial_num=3507
>>>> ------------------------------------------------------------------------- 
>>>>
>>>>
>>>> Subject: NVIZ: display degrade after switching desktops
>>>>
>>>> Platform: GNU/Linux/i386
>>>> grass obtained from: CVS
>>>> grass binary for platform: Compiled from Sources
>>>> GRASS Version: 61 cvs 09.08.05
>>>>
>>>> When I change virtual desktops and get back to one with NVIZ, the
>>>> previously displayed vector overlay gets erased and the elavation gets
>>>> displayed with a coarser 'Grid Resolution' instead of the 'Polygon
>>>> Resolution'. Thus each time I change desktops I have to re'DRAW'.
>>>>
>>>> Does Anybody have the same problem? Could it be something wrong with my
>>>> Kde (3.3, Mandriva 2005) or OpenGL (nvidia, GeForce4 MX 400, nvidia
>>>> genuine driver, pretty fresh release)?
>>>>
>>>> If not my fault, great if could be fixed.
>>>>
>>>> Maciek
>>>>
>>>> -------------------------------------------- Managed by Request Tracker
>>>>
>>>> _______________________________________________
>>>> grass5 mailing list
>>>> grass5 at grass.itc.it
>>>> http://grass.itc.it/mailman/listinfo/grass5
>>
>>
>>




More information about the grass-dev mailing list