Image Subrect Editor: Difference between revisions
SethTooQuick (talk | contribs) No edit summary |
SethTooQuick (talk | contribs) mNo edit summary |
||
Line 3: | Line 3: | ||
{{TODO|Figure out what should and shouldn't be on this page. Should the [[Half-Life: Alyx Workshop Tools/Level Design/Hotspot Texturing|Half-Life: Alyx Workshop Tools/Level Design/Hotspot Texturing]] be reformatted to be hotspot applying only?}} | {{TODO|Figure out what should and shouldn't be on this page. Should the [[Half-Life: Alyx Workshop Tools/Level Design/Hotspot Texturing|Half-Life: Alyx Workshop Tools/Level Design/Hotspot Texturing]] be reformatted to be hotspot applying only?}} | ||
{{TODO|Should the rect file in the material editor be mentioned here? Should this just be the hotspot page, even though it'd then make it pertain to hammer, mat, and ISE?}} | {{TODO|Should the rect file in the material editor be mentioned here? Should this just be the hotspot page, even though it'd then make it pertain to hammer, mat, and ISE?}} | ||
[[File:image_subrect_editor_overview.png|384px|thumb|right|The Image Subrect Editor window]] | [[File:image_subrect_editor_overview.png|384px|thumb|right|The Image Subrect Editor window]] | ||
<!--[[File:Hotspot_Texturing-132121047.png|384px|thumb|right|Hotspot Example]]--> | <!--[[File:Hotspot_Texturing-132121047.png|384px|thumb|right|Hotspot Example]]--> | ||
{{imgSubrect|2}} is a tool in Source 2 used for making [[Half-Life: Alyx Workshop Tools/Level Design/Hotspot Texturing|Hotspots]]. Hotspots are predefined sections of a texture used to apply materials to Hammer geometry fast and easy. | {{imgSubrect|2}} is a tool in Source 2 used for making [[Half-Life: Alyx Workshop Tools/Level Design/Hotspot Texturing|Hotspots]]. Hotspots are predefined sections of a texture used to apply materials to Hammer geometry fast and easy. | ||
<br> | |||
{{note|{{imgSubrect|4}} is not included in {{svrh|4}}.}} | |||
== 1. Viewport == | == 1. Viewport == | ||
The viewport is where rectangles are drawn to specify what parts of the texture can get applied to hammer geometry. | The viewport is where rectangles are drawn to specify what parts of the texture can get applied to hammer geometry. |
Revision as of 03:17, 23 August 2023


Image Subrect Editor is a tool in Source 2 used for making Hotspots. Hotspots are predefined sections of a texture used to apply materials to Hammer geometry fast and easy.



1. Viewport
The viewport is where rectangles are drawn to specify what parts of the texture can get applied to hammer geometry.
- In Create mode, click dragging in the viewport will draw a rectangle.
- In Adjust mode, click dragging on an existing rectangle will move it. You can also move edges and corners.
- Clicking an existing rectangle will select that rectangle, allowing you to change it's properties. You can hold ⇧ Shift to select multiple rectangles and hold Ctrl to deselect rectangles.
- The grid size can be changed with [ to make it smaller and ] to make it bigger. These options are also under "Edit." Grid visibility can also be toggled here.
- Holding Alt will let you adjust the rectangles as you were in Adjust mode.


2. Rectangle Properties
This is where you draw the squares that make up where UV. There are two modes: Create and Adjust.
- Create will allow you to draw new rectangles across the texture.
- Adjust lets you change the size of previously drawn rectangles.
"Allow Rotation" allows that rectangle to be rotated when applying the hotspot in Hammer.
"Allow Tiling" (not in ) will tile that rectangle when applied to faces in hammer.
"Inset X/Y" fields will make the that rectangle smaller without needing to change grid size. Template:ClassicWhy


3. Active Material
You can choose a material to reference in the viewport. This is useful for creating rectangles for a trimsheet.
When a material is selected, you can then change the preview to any texture that material uses.
TODO
Create section specifying use in Material Editor and Hammer
|