i now loding stl model from vertex data :
///facet 1
normals
vertex 1
vertex 2
vertex 3
///facet 2
normals
vertex 1
vertex 2
vertex 3
///facet 3…
i want to render it both in solid mode and wireframe mode . when i render in wireframe mode using glpolygon (gl_line , gl front_and _back) … there are many unwanted edge appears inside the model(because the triangle facet) . i only want to render the wireframe mode with only the necessary outline and edge to clearly show the wireframe model … howw???