Re: [AD] primitives thickness=1

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


It's just because of the scaling done by the transformations. It's 0.75 for that test, which makes the effective thickness < 1, which causes the gaps. We can guarantee that when the thickness >= 1 and scale == 1 then no pixels will be skipped.

-SL

On 09/25/2010 12:28 AM, Peter Wang wrote:
Should the high-level primitives routines draw anything with thickness
<= 1.0 (or even<  2.0 ?) using LINE_STRIPs instead of TRIANGLE_STRIPs?
The [test hl thick-1] shows many skipped pixels, whereas I expect it to
look like [test hl thick-0].

Peter

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev




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