I want to know how do you render a complex shape.

lets say i have a pyramid and i have vertex point for each corner in the pyramid and i want to render the surface of the object only.

i tried to filter through points, which have no other corners above or to the side but i just can't seem to get it to render.


vertexpoints (vector filled with all points of the surface of the complex shape stored

now i want to render these points to form a solid 3d model but i can't do it
i tried triangle_strip
but it just shows layers of triangles on top of each other and not the model.