Re: [AD] Pixel graphics routines and transformations |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: "Coordination of admins/developers of the game programming library Allegro" <alleg-developers@xxxxxxxxxx>
- Subject: Re: [AD] Pixel graphics routines and transformations
- From: Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx>
- Date: Tue, 23 Mar 2010 22:31:18 -0600
On March 23, 2010, Peter Wang wrote:
> On 2010-03-23, Pavel Sountsov <slabode@xxxxxxxxxx> wrote:
> > Trent Gamblin wrote:
> > > On Mon, March 22, 2010 9:16 pm, Pavel Sountsov said:
> > >> 2. Make a subset of those pixel drawing routines ignore
> > >> transformations (e.g. al_put_pixel and al_get_pixel). However, this
> > >> requires a solution for blended primitives (which need an
> > >> untransformed equivalent to al_draw_pixel).
> > >
> > > I think this is the way to go. al_put_pixel and get_pixel I've always
> > > thought as different from al_draw*.. they're just there to make it
> > > easier to modify a texture or load an image into a texture or
> > > whatnot. I think you should copy al_draw_pixel into an internal
> > > primitives thing for now, use that in the addon, and make
> > > al_draw_pixel respect transforms.
> > >
> > > Trent :{)>
> >
> > Ended up doing basically that. Thanks.
>
> You could add an al_draw_pixel_untransformed. If it's useful for the
> primitives addon it would probably be useful to someone else too.
Wouldn't that just duplicate al_put_pixel?
> Btw, do the font addons respect transforms?
>
> Peter
>
> -------------------------------------------------------------------------
> ----- Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
>
--
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx