@autr wrote:
Hi, I'm trying to do something quite simple;
At the moment I'm creating a Mesh comprised of a grid of Vec3f points, and applying a live video texture to it. I'd like to deform the mesh in different ways, but the structure of the mesh is not what I'm expecting.
In the list of types for ofMesh::setMode() I can't find anything that will construct a plain grid structure - ie. all the points are joined together relative to the closest points. Instead the closest thing I can find is OF_PRIMITIVE_TRIANGLE_FAN - but this creates a strange (fan) effect - with all of the points somehow linking to the first indexed point (see picture);
What am I missing?
Posts: 7
Participants: 3