[Fluxus] 'polygon

Kassen signal.automatique at gmail.com
Thu Mar 4 05:45:03 PST 2010


>
> (clear-colour (vector 0 0 0))
> (clear)
> (with-primitive
>     (build-polygons 8 'polygon)
>     (pdata-set! "p" 0 (vector  0  0 0))
>     (pdata-set! "p" 1 (vector  0 -1 0))
>     (pdata-set! "p" 2 (vector  1 -1 0))
>     (pdata-set! "p" 3 (vector  1  1 0))
>     (pdata-set! "p" 4 (vector  0  1 0))
>     (pdata-set! "p" 5 (vector  0  2 0))
>     (pdata-set! "p" 6 (vector -1  2 0))
>     (pdata-set! "p" 7 (vector -1  0 0))
>     (recalc-normals 1)
>     (hint-wire)
>     (wire-colour 0)
>     (line-width 3)
>     (colour (vector 1 0 0)))
> )
>
>
If I can reply to myself for a moment; it turns out that the wire from index
4 to 5 glitches here (for me), ending up on the back-face of the shape some
of the time, depending on the viewing angle. I thought that might be due to
it being a concave corner that's not at index 0, but the "L" also had one of
those and doesn't glitch in that way. To me that defeats the purpose of
doing this so unless some new idea pops up I'm abandoning this technique and
sticking to ribbons.

Yours,
Kas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pawfal.org/pipermail/fluxus-pawfal.org/attachments/20100304/8d3f6d29/attachment.html>


More information about the Fluxus mailing list