Sign in to follow this  

How to hide the line stroke across a quad?

This topic is 740 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

You could draw the quad edges as lines.

If you want opaque quads with this technique, you can fill the depth buffer first using the triangle mesh, and then draw the lines by using z comparison function "less or equal".

Share this post


Link to post
Share on other sites

You can't do it with a single switch, you have to implement it yourself unfortunatley.

 

I never wrote one before, you try some z-buffer postprocessing if you are fine with Silhouette lines only.

Another thing is to preprocess the mesh and add an additional vertex chennel that marks the "inner vertices"(verts. that are used for inner edges edges).

 

Don't know other solutions..

Edited by imoogiBG

Share this post


Link to post
Share on other sites
Sign in to follow this