<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im"><br>
<br>
</div>I don't think so, as you can't build an L shape with 'polygon type.<br>
<div class="im"><br></div></blockquote><div><br></div><div>I would argue that you can but the burden of proof is on me;</div><div><br></div><div><div>(clear)</div><div>(with-primitive</div><div>    (build-polygons 6 'polygon)</div>
<div>    (pdata-set! "p" 0 (vector 0 0 0))</div><div>    (pdata-set! "p" 1 (vector 2 0 0))</div><div>    (pdata-set! "p" 2 (vector 2 1 0))</div><div>    (pdata-set! "p" 3 (vector 1 1 0))</div>
<div>    (pdata-set! "p" 4 (vector 1 2 0))</div><div>    (pdata-set! "p" 5 (vector 0 2 0))</div><div>    (recalc-normals 1)</div><div>    (wire-colour 0)</div><div>    (line-width 3)</div><div>    (hint-wire)</div>
<div>    </div><div>)</div><div><br></div><div>You can start at the inner corner too, if you'd like, but not at any other.</div><div><br></div><div>I used basically that for the side of my "shop" when I started adapting stuff to use wireframes and 'triangle-strip wouldn't do any more. I think you can build any shape S for which there is a point P that is on the boundary of S and from where a straight line can be drawn to every other point on this outline without ever crossing the outline.</div>
</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Yes, the (hint-wire) lines are drawn with some offset so they don't<br>
intersect with the solid geometry of the object they belong to. The<br>
ribbons just get splatted in the middle of this - notice the line inside<br>
the corner of the L shape is not always visible? That's a problem with<br>
this approach.<br></blockquote><div><br></div><div>Check. And this offset would depend on the line-width? Or is it just some random very small number? </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<br>
Who knew wireframe could be so hard! :)<br><br></blockquote><div><br></div><div>I'm starting to think that early 3d graphics starting with wire-frames was as bad a choice as early computer scientists starting with machine language. Solids are way more convenient and I'm sure mr Turing would have solved that code a lot faster if he had just started with something a bit more accessible like maybe Java or Python. No wonder it took them decades to get anywhere! ;-)</div>
<div><br></div><div>Cheers,</div><div>Kas.</div></div>