CADuvFIX : This HDA will fix the uv's generated by MoI.
UV's are actually inherited from Nurbs surface when exporting a model, and are uniform along 0-1 UV space, no matter the real surface area. The result are uv's that are stretched in U or V direction for any surface that doesn't perfectly fit in a square.
- The tool will try to detect in what direction the uv's are stretched, and fix the distortion accordingly. It doesn't use any kind of unwarping and only uses the existing uv's.
- It will also fix the texel density along all the surfaces.
- It will fix flipped uv that can happen here and there.
The tool is at an early dev stage, there is no optimizing done and the setup is just focused on the result, no smart vex coding here. (the large engine model take around 15sec to process on an heavy multi-core machine).
It does expect the mesh to be exported from MoI with "weld vertices along edges" disabled as it needs to loop on every connected surface. (N and uv are thus on points, there is no data class check for the moment).

|