>
> (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.

Reply via email to