im looking for a quickish way to flatten an object in the same way that roadkill or relax flattens the uvs, ie tries to keep the same shape ratio for polygons as the 3d model in 2d
any ideas? cheers!
use unfold with default settings and rescale 0.1 and then press layout button. U need to be sure if you make your seams first. You also have an option of auto uvwrap in the uv menu.
TBH it'd be quite easy to do an unfold on the UVs, then get the UVs position and translate it into world space for each vertex. In fact I've done something similar before. Not sure if it's something I can share though.
That code should move all the geometric verts of your object to their UV locations in world space. Will probably result in a tiny mesh (since UVs are in the 0-1 range usually), but you can scale it up afterwards.
Also this will probably screw up if you have more UVs than geometric verts.
So I guess ideally you'd select all the faces of your object, do a Planar map from whichever angle is most appropriate, then do an Unfold (or Map UV Border and Relax), then run this script with your object selected.
toast: aye i tried mayas relax features but they just keep squishing the polys together until the model eventually becomes a thin line- they don't really keep the polygon shapes like roadkill
I've been trying to figure this out for quit some time without success. The trick for me being that rebuilding the surface in the same shape doesn't keep the same point order which causes blend shape issues. I appreciate you sharing and saving me time!
Replies
Select verts > Shift + Right Click > Average Vertices
Sculpt Geometry Brush?
Under sculpt parameters you can change smooth strength, scale falloff.
That code should move all the geometric verts of your object to their UV locations in world space. Will probably result in a tiny mesh (since UVs are in the 0-1 range usually), but you can scale it up afterwards.
Also this will probably screw up if you have more UVs than geometric verts.
So I guess ideally you'd select all the faces of your object, do a Planar map from whichever angle is most appropriate, then do an Unfold (or Map UV Border and Relax), then run this script with your object selected.
cheers man
toast: aye i tried mayas relax features but they just keep squishing the polys together until the model eventually becomes a thin line- they don't really keep the polygon shapes like roadkill