User Guide: Pack

From UVLayout Docs

(Difference between revisions)
Jump to: navigation, search
Revision as of 08:57, 29 August 2007 (edit)
Headus (Talk | contribs)

← Previous diff
Revision as of 09:42, 29 August 2007 (edit) (undo)
Headus (Talk | contribs)

Next diff →
Line 8: Line 8:
; Delete All : This will delete all boxes. ; Delete All : This will delete all boxes.
-; Quality Fast/Mid/Best : You will get slightly tighter packing with '''Best'' selected, but '''Fast''' isn't too bad either, and is a lot faster. '''Mid''' is part way between the other two.+; Quality Fast/Mid/Best : You will get slightly tighter packing with '''Best''' selected, but '''Fast''' isn't too bad either, and its a lot faster. '''Mid''' is part way between these two.
-; Tile : If you want your shells and boxes packed into multiple tiles, specify the dimensions of that tile grid here.+; Tile : If you want your shells and boxes packed across multiple tiles, specify the dimensions of that tile grid here. Try not to make the grid arbitrarily large (e.g. 100 x 1) if smaller values will do, as this will reduce the precision/tightness of the packing.
-; Bleed :+; Bleed : The '''Bleed''' value controls the size of the gap left between shells after packing. This is a pixel value based on a 1k by 1k map. If, for example, you need an 8 pixel bleed region around each shell (i.e. 16 pixels ''between'' shells) on a 2k by 2k map, then a Bleed value here of '''4''' should be enough.
-; Pack All :+; Pack All : Clicking on '''Pack All''' will repack the contents of all boxes, then packs everything into the 0-to-1 texture square or tile grid. You might do this if you have changed the '''Bleed''' setting and want to apply that across all shells and boxes.
; Hotkeys : ; Hotkeys :
<pre> <pre>
-[ or ] : pack shells in box +[ or ] : pack shells in box, packs all shells and boxes if no box is picked
{ or } : toggle box fixed/free { or } : toggle box fixed/free
-\ : rotate box 90 degrees+\ : rotate box 90 degrees, rotates shells if no box is picked
Del : delete box Del : delete box
</pre> </pre>

Revision as of 09:42, 29 August 2007

Cover Page
About UVLayout
Load/Save
Display
Hotkeys
Edit
Optimize
Pack
Snap/Stack/Sort
Move/Scale/Rotate
Render
Pattern
Groups
Layers
Reshape
Segment
Quick Start
Interface Plugins
Download PDF
Open up the Pack panel to find tools for the tight packing of UV shells to minimize empty texture space. Currently shells are only moved around in this process, so you may need to rotate some by hand for optimum packing.
New Box 
This creates a new packing box around any picked shells. Shells can be place in or taken out of an existing box simply by dragging them with the usual Space-MMB combination. Use the Del hotkey to delete a box; moving all of the shells outside of a box will also delete it.
Use the [ or ] hotkeys to repack the box under the mouse pointer. If no box is under the mouse pointer, then all shells and boxes will be packed into the 0-to-1 texture square.
A box (and its contents) can be moved around using the Space-MMB combination on one of the its corner handles. It can be reshaped using Ctrl-MMB on one of these handles; this will also repack that box. Use the \ hotkey to rotate a box by 90 degrees.
By default, boxes are free, meaning they will be moved around as required during the packing process. You can fix a box's position with the { or } hotkey; this will turn it from green to blue. Other shells and boxes will then be packed around that box, but it wont be moved itself. Use the same hotkey if you want to toggle it back to free moving.
Delete All 
This will delete all boxes.
Quality Fast/Mid/Best 
You will get slightly tighter packing with Best selected, but Fast isn't too bad either, and its a lot faster. Mid is part way between these two.
Tile 
If you want your shells and boxes packed across multiple tiles, specify the dimensions of that tile grid here. Try not to make the grid arbitrarily large (e.g. 100 x 1) if smaller values will do, as this will reduce the precision/tightness of the packing.
Bleed 
The Bleed value controls the size of the gap left between shells after packing. This is a pixel value based on a 1k by 1k map. If, for example, you need an 8 pixel bleed region around each shell (i.e. 16 pixels between shells) on a 2k by 2k map, then a Bleed value here of 4 should be enough.
Pack All 
Clicking on Pack All will repack the contents of all boxes, then packs everything into the 0-to-1 texture square or tile grid. You might do this if you have changed the Bleed setting and want to apply that across all shells and boxes.
Hotkeys 
[ or ]    : pack shells in box, packs all shells and boxes if no box is picked
{ or }    : toggle box fixed/free
\         : rotate box 90 degrees, rotates shells if no box is picked
Del       : delete box