← Back

ofxPolylineExtruder

github.com/wearenocomputer/ofxPolylineExtruder · @wearenocomputer
OF 0.9 Geometry 3D / Point Cloud

This openframeworks addon extrudes an ofpolyline and returns a mesh

4 2 Last commit 9y ago Created 10y ago

README

ofxPolylineExtruder



This addon extrudes an ofPolyline and creates an ofMesh object.

Use it like this:

ofPolyline myline; myline.addVertex(ofPoint(-100,0,-100)); myline.addVertex(ofPoint(-100,0,100)); myline.addVertex(ofPoint(100,0,100)); myline.addVertex(ofPoint(0,0,0)); myline.addVertex(ofPoint(100,0,-100)); ofMesh mymesh; ofxPolylineExtruder::polyline2Mesh(myline, mymesh,150);

mymesh.draw();

Alt text

Alt text

Get this addon

HTTPS
SSH