Herramientas de usuario

Herramientas del sitio


wiki2:cpp:libraries:openframeworks:creating_graphics

¡Esta es una revisión vieja del documento!


Creating graphics in OpenFrameworks

This is the traditional way to draw:

ofFill();
ofSetColor(255,0,0);
ofBeginShape();
ofVertex(20,20);
ofVertex(40,20);
ofVertex(40,40);
ofVertex(20,40);
ofEndShape(true);

However we have several functions to draw primitives like…

  • ofRect
wiki2/cpp/libraries/openframeworks/creating_graphics.1444320489.txt.gz · Última modificación: 2020/05/09 09:25 (editor externo)