Jump to content
  • Advertisement
Sign in to follow this  
lucky6969b

How to hide the line stroke across a quad?

This topic is 991 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

Advertisement
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  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!