Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Is there a way/class to set indices so that a random amount of vertices (position) generates a mesh?

$
0
0

@bobby wrote:

Is there a way/class to set indices so that a random amount of vertices (position) generates a mesh?

I want to load a mesh with a random amount of vertices.
Now I’m looking for a way to add indices for each vertex en draw it with GL_TRIANGLES or GL_TRIANGLES_STRIP so a solid mesh is drawn.

Is there an algoritm for this or a class ?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles