Render the borders of quads from GLModel
in
Contributed Library Questions
•
5 months ago
Hi,
I have a GLModel of quads with different colours and normals, and I would like to have the border of each quad drawn in a different colour, like having different stroke() and fill() colours. Something like this:
I have tried playing with stroke(), fill(), noFill() and model.setLineWidth() with no succes, is this possible at all with GLModel?
Another solution would be to create a GLMode lof LINES with just the borders and render it on top of the other GLModel. Would the modes LINE_STRIP or LINE_LOOP reduce the number of vertex, as with LINES I would need to duplicate lots of vertex?
Thanks!
1