octave-maintainers
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]