hello guys i’m really new so bare with me
So i have a mesh I created like this:
define ofpoint
addvertex(point)
addcolor(c)
and then i add the triangles
for()
int a = base+i;
int b = base+(i+1) %circleN;
int c = circleN + a;
int d = circleN+b;
mesh.addTriangle(a,b,d);
mesh.addTriangle(a,d,c);
how can I remove vertices from this? for exemple the first ones created so i can get the tube runing endlessly?
(this is taken from the book Mastering openFrameworks: Creative Coding Demystified , drawing 3d twisting knot)
now for texture coordinates, imagine i want to texture some hand made geometry and i want to apply a texture in the model, and then modify the texture coordinates to manipulate the position of the texture in the model, how do i do that? I cant understand how to give coordinates to vertices of parts that are not the picture, hope you guys understand.
Thanks, Roger.