[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Overhaul FLTK toolkit resize/redraw functions
From: |
Andreas Weber |
Subject: |
Re: Overhaul FLTK toolkit resize/redraw functions |
Date: |
Tue, 29 Jul 2014 12:01:26 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.5.0 |
Am 29.07.2014 11:14, schrieb sergey plotnikov:
> On my Win7 (x32) virtual machine there are still some missing primitives
> even with glFlush() added. E.g., the following piece of code produces
> the file you may find attached:
>
> graphics_toolkit fltk
> figure; for ix=1:6, subplot(3,2,ix); plot(sin(1:10)); legend('sin'); end
> print -depsc junk55.eps
>
> And again, if I commented out "is2D" adding in __fltk_print__.m, the
> most of primitives are shown.
The most but not all without is2D? As you see in the sources, this flag
only uses GL2PS_SIMPLE_SORT instead of GL2PS_BSP_SORT.
It's difficult for me to find the cause for your problem without beeing
able to reproduce it...
Can you call glFlush () in gl2ps-renderer.cc in a for loop together with
some wait function? Just to be sure it isn't a timing problem where your
graphics-card-driver doesn't flush it's output buffers. Btw, have you
tried to update your GPU drivers?
Another thing I would test: can you remove GL2PS_OCCLUSION_CULL and
inspect the eps if the lines are mssing or only hidden by some other
primitives?
-- Andy
PS: By the way, I'm using IRC #octave on freenode
- Re: Overhaul FLTK toolkit resize/redraw functions, (continued)
- Re: Overhaul FLTK toolkit resize/redraw functions, Ben Abbott, 2014/07/24
- Re: Overhaul FLTK toolkit resize/redraw functions, Ben Abbott, 2014/07/24
- Re: Overhaul FLTK toolkit resize/redraw functions, sergey plotnikov, 2014/07/24
- Re: Overhaul FLTK toolkit resize/redraw functions, Ben Abbott, 2014/07/24
- Re: Overhaul FLTK toolkit resize/redraw functions, sergey plotnikov, 2014/07/25
- Re: Overhaul FLTK toolkit resize/redraw functions, Andreas Weber, 2014/07/25
- Re: Overhaul FLTK toolkit resize/redraw functions, sergey plotnikov, 2014/07/25
- Re: Overhaul FLTK toolkit resize/redraw functions, sergey plotnikov, 2014/07/29
- Re: Overhaul FLTK toolkit resize/redraw functions,
Andreas Weber <=
- Re: Overhaul FLTK toolkit resize/redraw functions, Andreas Weber, 2014/07/29
- Re: Overhaul FLTK toolkit resize/redraw functions, Ben Abbott, 2014/07/29
- Re: Overhaul FLTK toolkit resize/redraw functions, Andreas Weber, 2014/07/25
- Re: Overhaul FLTK toolkit resize/redraw functions, sergey plotnikov, 2014/07/25
- Re: Overhaul FLTK toolkit resize/redraw functions, Andreas Weber, 2014/07/25
Re: Overhaul FLTK toolkit resize/redraw functions, Andreas Weber, 2014/07/26