Muestra las diferencias entre dos versiones de la página.
| Ambos lados, revisión anterior Revisión previa Próxima revisión | Revisión previa | ||
|
wiki2:cpp:libraries:openframeworks:creating_graphics [2015/10/10 11:54] alfred [Posicioning things] |
wiki2:cpp:libraries:openframeworks:creating_graphics [2020/05/09 09:25] (actual) |
||
|---|---|---|---|
| Línea 305: | Línea 305: | ||
| </code> | </code> | ||
| + | You can change the way the mesh is drawn using the next constants for the ''setMode'' method: OF_PRIMITIVE_TRIANGLES, OF_PRIMITIVE_TRIANGLE_STRIP, OF_PRIMITIVE_TRIANGLE_FAN, OF_PRIMITIVE_LINES, OF_PRIMITIVE_LINE_STRIP, OF_PRIMITIVE_LINE_LOOP, OF_PRIMITIVE_POINTS. | ||
| + | You can draw the wireframe, the points using the ''drawWireframe()'' and ''drawVertices()'' methods. | ||
| ==== of3dPrimitive ==== | ==== of3dPrimitive ==== | ||