Jump to content
  • Advertisement
Sign in to follow this  
lucky6969b

How to hide the line stroke across a quad?

This topic is 1071 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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!