in3d
New Member
Posts: 22
|
Post by in3d on Dec 22, 2017 0:49:47 GMT
Is there a way to automatically re scale and align the selected UV shell to the defined grid lines? This would be quite handy for creating better light maps for UE4. In between pixels can cause shadow bleeds. For details please see the video and attached image. www.youtube.com/watch?v=gEKjk049bUURegards Tahir Attachments:
|
|
in3d
New Member
Posts: 22
|
Post by in3d on Dec 25, 2017 20:35:31 GMT
UVLayout has a similar feature:
Fit To Grid Use these buttons if you want to rescale shells so their bounding boxes are aligned perfectly with the current snapping grid. Clicking on < will always make shells smaller to make them fit to the grid. Clicking on > will always make shells larger to fit. Clicking on | will resize shells to the closest grid line (i.e. they can be scaled up or down).
SRC: UVLayout manual (www.uvlayout.com)
|
|
|
Post by Remi Arquier on Dec 25, 2017 21:46:52 GMT
That will be a nice add. Thank you for the nice explanation and the video link.
Best !
|
|
|
Post by Remi Arquier on Dec 26, 2017 1:06:20 GMT
It's done, you'll have it when the next release will be ready. It works for all primitives (vertex / edges/ polygons / islands). I added an option (pixel mode) to fit to the map resolution pixels instead of the grid. thanks again.
|
|
in3d
New Member
Posts: 22
|
Post by in3d on Dec 26, 2017 3:23:18 GMT
Thats lovely I was eagerly waiting for your response and thanks for implementing it so quickly. I hope there is LUA command for this as well. Regards Tahir
|
|
|
Post by Remi Arquier on Dec 26, 2017 11:19:40 GMT
Yes there is a LUA command. It's the case for almost all features.
|
|