[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fltk backend fix & mouse wheel scroll factor
From: |
Shai Ayal |
Subject: |
Re: fltk backend fix & mouse wheel scroll factor |
Date: |
Tue, 29 Sep 2009 11:22:00 +0200 |
On Tue, Sep 29, 2009 at 11:12 AM, Michael Goffioul
<address@hidden> wrote:
> I see 2 problems with using bitmaps:
> - they are not 3D
But images are not 3D either right?
> - you have a 1-to-1 pixel mapping between the bitmap and the screen,
> which is not what Matlab is doing; for instance a colorbar is just a
> c x 1 image object rendered in a m x n box (m>c, n>>1); you can do
> that seamlessly with textures
I thought so too, but I found out this morning about glPixelZoom which
will scale the bitmap:
http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/pixelzoom.html
> Moreover, texture rendering is much faster than using bitmaps
I suppose this will depend on the hardware. I would think that at
least for software only implementations like mesa, bitmap would be
faster since less processing is needed before drawing (e.g. no
transformation matrix)
Shai
- Re: fltk backend fix & mouse wheel scroll factor, (continued)
fltk backend fix & mouse wheel scroll factor, John W. Eaton, 2009/09/28
- Re: fltk backend fix & mouse wheel scroll factor, Shai Ayal, 2009/09/28
- Re: fltk backend fix & mouse wheel scroll factor, John Swensen, 2009/09/28
- Re: fltk backend fix & mouse wheel scroll factor, Shai Ayal, 2009/09/29
- Re: fltk backend fix & mouse wheel scroll factor, Michael Goffioul, 2009/09/29
- Re: fltk backend fix & mouse wheel scroll factor, Shai Ayal, 2009/09/29
- Re: fltk backend fix & mouse wheel scroll factor, Michael Goffioul, 2009/09/29
- Re: fltk backend fix & mouse wheel scroll factor,
Shai Ayal <=
- Re: fltk backend fix & mouse wheel scroll factor, Michael Goffioul, 2009/09/29