Re: [AD] float positions

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


It's not clear what this gets us. Does it allow for things that couldn't
be done before? Does it simplify user code?

Not all blit() paths in AGL can take float coordinates; we do use
glDrawPixels() after all, so it's not a trivial addition.


> -----Original Message-----
> From: alleg-developers-bounces@xxxxxxxxxx [mailto:alleg-
> developers-bounces@xxxxxxxxxx] On Behalf Of Elias Pschernig
> Sent: Monday, January 22, 2007 10:06 AM
> To: Coordination of admins/developers of the game programming library
> Allegro
> Subject: [AD] float positions
> 
> I was just going through Bob's GFX API proposal again, and noticed how
> it uses integer positions throughout the API. Is this something we
want?
> 
> Myself, I'm using fractional positions a lot and I wouldn't use the
4.3
> graphics API at all if it only supports integer. But then, my main
plans
> of using the 4.3 API are to use OpenGL for graphics anyway - so that
is
> not a big problem. Still, if e.g. line() and blit() would have float
> positions, then in the OpenGL drivers we will have on all platforms,
> those could directly be passed on to the underlying OpenGL, and would
> make such functions useful also for me. On the other hand, any drivers
> not knowing how to use the extra fractional part (e.g. our memory
> bitmaps implementation) could simply cut away the floating point part.
> Therefore, I propose to update the GFX API proposal with the following
> change:
> 
> Any position parameters to drawing primitives or blitting functions
> should be converted to floating point.
> 
> What do you think?
> 
> --
> Elias Pschernig
> 
> 
>
------------------------------------------------------------------------
-
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to
share
> your
> opinions on IT & business topics through brief surveys - and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
V
> --
> https://lists.sourceforge.net/lists/listinfo/alleg-developers
-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/