Archived

This topic is now archived and is closed to further replies.

dynamicman

closed model and uv mapping

Recommended Posts

My problem is the following. For a closed model, some vertices own one uv while others own two uvs. it would be simple enough to duplicate a vertex, so that we keep both uvs, but we are essentially not a closed model anymore. This creates some special cases when we do things like sillouette finding and such (for toon rendering.. shadow volumes.. tons of techniques). I beleive Milkshape/3dMax duplicate vertices. Another way I was thinking was to draw an extremely small quad which will keep the model closed, yet allow vertices (duplicates) to have different uvs. The problem with this is the complexity on the model loading side. It is also possible to mark duplicate vertices, and keep my triangle information somewhere else. Thus when I traverse my triangles I am able to identify duplicates, quickly refer to them, and find the correct adjacent triangle edges. Does anyone have a "clean" solution for this, something simple and enough so that we don''t have special cases lying around?

Share this post


Link to post
Share on other sites
Could you just maintain 2 copies of the model, 1 closed, 1 not? This is similar to what some apps do with collision detection except the copy would contain fewer faces and vertices.

Share this post


Link to post
Share on other sites