Quantcast
Viewing all articles
Browse latest Browse all 40524

How to draw edge of cube?

So just the edges? You could draw normally and then draw wireframe on top with thicker lines:

box.draw();
ofSetLineWidth(4.0);
ofSetColor(desiredColor);
box.drawWireframe();

Else you could draw lines manually between each two vertices in your cube, that will give you greater control. Check this out for more.


Viewing all articles
Browse latest Browse all 40524

Trending Articles