[Fluxus] type primitive anti-aliasing
Dave Griffiths
dave at pawfal.org
Sat May 9 02:35:24 PDT 2009
Hi Gabor,
This was another case of leaking OpenGL state. I've fixed it, and added
smoothing to the type primitive.
cheers,
dave
On Fri, 2009-05-08 at 15:49 +0200, gabor papp wrote:
> hi,
>
> i was trying to anti-alias a type primitive and encountered a strange
> thing. i noticed that anti-aliasing didn't work, so i converted the type
> primitive to a poly primitive, and enabled anti-aliasing. then suddenly
> both primitives were anti-aliased. then i commented out the poly
> primitive and rerun the script. the type primitive remain anti-aliased.
> can anyone explain why this is happening?
>
> thanks,
> gabor
>
>
> (clear)
>
> (define t (build-type "Bitstream-Vera-Sans-Mono.ttf" "test"))
>
> (with-primitive t
> (hint-none)
> (hint-wire)
> (hint-anti-alias)
> (translate #(0 -4 0)))
>
> #;(define tp (type->poly t))
>
> #;(with-primitive tp
> (hint-none)
> (hint-wire)
> (hint-anti-alias))
More information about the Fluxus
mailing list