floatingPointImageExample
#Level2_floatingPointImageExample

Learning Objectives
This openFrameworks Example is designed to demonstrate how to draw a mesh using floating points.
In this example, pay attention to the following code:
ofEasyCama simple camera for interacting with objects in 3D spacemesh.addNormal(normal)adds a normal to the mesh as a 3D vector, typically perpendicular to the plane of the face.mesh.advertex(a)adding vertices to meshmesh.setmode()specifies what primitive mode the mesh should be set tomesh.draw()draws the meshgetVertexFromImggets the vertex from the image usingglm::vec3
Expected Behavior
When launching this app, you should see:
- a 3D mesh drawn from the image
Other classes used in this file
This Example does not use any other classes.