Re: [AD] Additional graphics primitives API

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


On Feb 8, 2008 5:24 AM, Milan Mimica <milan.mimica@xxxxxxxxxx> wrote:
allefant wrote:
>
> I'm not really convinced by the poly_ versions. If I want to draw a
> polygon following a circle or spline, then I can easily do so myself,
> without a function. And then I also get to control where exactly the
> vertices are. Well, maybe it's not completely trivial, but still, I

Given the skills of an average A.CC user, I really think it would be
desirable to have a function for it. Maybe with the additional angle
argument, yes.


--
Milan Mimica
http://sparklet.sf.net

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--
https://lists.sourceforge.net/lists/listinfo/alleg-developers

Shapes such as triangles, rectangles, and lines are almost trivial to draw in memory and opengl. They'll be pretty small functions on all systems and they should probably be in the core.

Curved ones such as circle are really hard to do in opengl (with precision) but rather easy to do in memory. Maybe the best option for circle is to draw a rectangle and then map a "texture" of a circle. Some sort of mip-map or caching system would be useful.

A question for later.. but does the glx and d3d drawing routines still get used even without a hardware driver? ie: does d3d and ogl default to software rendering?

-- ryan


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