farbrausch / fr_public

Farbrausch demo tools 2001-2011
3.37k stars 344 forks source link

Broken UVs of new faces after Extrusion #41

Closed Skinnytorus closed 12 years ago

Skinnytorus commented 12 years ago

This issue is a part of issue #39. For the sake clarity I'm reposting it. The issue reveals itself after extruding one or a group of faces with Extrude Op. UVs of the newly created faces are broken. This needs a fix badly. Thank you.

rygorous commented 12 years ago

Ok, WTF? I'm not sure what the UV setup logic in Extrude was supposed to accomplish, but I can't imagine anyone ever using it for anything. In fact that's the problem with all of Wz4Mesh - we only ever used it to do minor edits on imported meshes, so it's really really rough.

Anyway, Extrude now has a "UV offset" parameter that just specifies a UV offset of the newly extruded islands relative to their original UVs. It's limited and not ideal, but there's no intuitive way (that I can see) to automatically determine such an offset in a canonical, meaningful way. At least this one is simple and predictable.

Skinnytorus commented 12 years ago

Yay! It's so much better now! The UV Offset feature rules!!! Great many thanks for that!