PDA

View Full Version : eliminate unwanted edge



tbjerman
11-22-2001, 11:00 PM
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?????

harsman
11-23-2001, 02:45 AM
See the FAQ (http://www.opengl.org/developers/faqs/technical/miscellaneous.htm#misc0010)

[This message has been edited by harsman (edited 11-23-2001).]

[This message has been edited by harsman (edited 11-23-2001).]