<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">hi Kassen,<br>
</blockquote><div><br>Hello, Gabor,<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
fluxus and opengl needs normals to calculate lighting. when you build your roof polygons. you also have to calculate the normals. try (recalc-normals).</blockquote><div><br>Ah, that sounds simple enough.<br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
 there's also a typo 'triangel-list instead of 'triangle-list.</blockquote><div><br>Whoops, I thought I had fixed that.<br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
 you don't really need (hint-vertcols) and pdata-set! "c" either, since all vertices have the same colour. you could use (colour) in the state instead, which is simpler.<br>
</blockquote><div><br>Well, I wanted to do that because that would have saved a lot of lines but it didn't work for me. Hopefully with the calculated normals it will work. For a long time all of the shapes I drew were simply "black holes" where only the outline over a coloured object would show them. (colour) wouldn't even affect the wire-frame.<br>
<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
i am experiencing a strange thing with this script. if you rotate the scene with the mouse, it's blinking. is it also doing this for you? it might be a state leaking bug somewhere.<br>
</blockquote><div><br>I don't think the whole thing blinked but moving the mouse did noticeably affect the brightness of the plane. I don't think it affected the background. I didn't have the confidence to call that a "bug" because it was so clear that I was already doing something wrong and I thought I might simply be confusing the video card. If you put it like that then yes, I would say this may benefit from a closer look.<br>
</div></div><br>Yours,<br>Kas.<br>