• Advertisement
Sign in to follow this  

Closing a mesh

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

Hello, we have an engine that does shadowing with shadow volumes using the depth fail stencil technique. However, we just bought a mesh pack for a demo that has some open meshes. As you probably guessed, those meshes have some pretty nasty artifacts in their shadows. Hence my question, is their any automatic way to close a mesh. I tried the "cap holes" modifier in 3ds max which actually worked well for some models but not for others (leaving a few naked edges). We are a team of programmer, not modelers! ;) So maybe the answer is obvious but we could not find it. If their is no automatic way, is their a well known algorithm to patch the holes in the shadow volume? Like matching an open edge to the closest naked edge or something similar? For your information we are creating the volume at load time and performing the extrusion in a vertex shader. Thank you for your help!

Share this post


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

  • Advertisement