Wireframe support
#2
The most efficient way to hide the hidden lines is to render the object two times: once with wireframe and then as solid object (usually with a background color). This way you can use the graphics card to use depth buffer to remove the hidden lines and this is very fast.

I know that there are some algorithms that can calculate the visible parts of the lines. But I imagine that this algorithm can be quite complex and should be done on CPU each time camera or lines are changed. This would be surely more time consuming that rendering all the objects twice.
Andrej Benedik
  


Messages In This Thread
Wireframe support - by leonardo - 08-04-2017, 02:57 PM
RE: Wireframe support - by abenedik - 08-07-2017, 11:57 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)