Hammer Texture Browser: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Spam)
m (cleanup)
Line 1: Line 1:
 
[[Image:Hammer_Texture_Browser.jpg|thumb|350px|A screenshot of the Texture Browser in action.]]
[[Category:Hammer Dialogs]]
The '''Texture Browser ''' allows you to find and select materials to apply to objects.
The '''Texture Browser ''' allows you to find and select materials to apply to objects.


[[Image:Hammer_Texture_Browser.jpg|800px]]
== Texture List ==
 
This window contains a list of the currently available materials. Double-clicking a material in the list selects it as the current material and closes the Texture Browser.
=== Texture List ===
 
This window contains a list of the materials currently available. Double-clicking a material in the list selects it as the current material and close the '''Texture Browser'''.
 
=== Size ===


== Size ==
This scroll box allows you to set the displayed size of the textures. You can choose from 32x32, 64x64, 128x128, or 1:1 (full size).
This scroll box allows you to set the displayed size of the textures. You can choose from 32x32, 64x64, 128x128, or 1:1 (full size).


=== Filter ===
== Filter ==
 
This field allows you to type in a search string. Any texture that includes that string as part of its name will be displayed. You can specify more than one filter string. For example, if you specify the search string "sign 7," any texture with "sign" and "7" in its name will be displayed. Previous search strings can be accessed by clicking on the down arrow.
This field allows you to type in a search string. Any texture that includes that string as part of its name will be displayed. You can specify more than one filter string. For example, if you specify the search string "sign 7," any texture with "sign" and "7" in its name will be displayed. Previous search strings can be accessed by clicking on the down arrow.


=== Only used textures ===
== Only used textures ==
 
When selected, this sets the browser to display only those textures that have been used in your level. This helps you limit your use of different textures, and avoid using different textures for the same purpose. For games such as Half-Life, textures are stored in the compiled maps. Reducing the number of textures will decrease the compiled map size. Fewer textures to load also means memory savings while playing the map in the game.
When selected, this sets the browser to display only those textures that have been used in your level. This helps you limit your use of different textures, and avoid using different textures for the same purpose. For games such as Half-Life, textures are stored in the compiled maps. Reducing the number of textures will decrease the compiled map size. Fewer textures to load also means memory savings while playing the map in the game.


=== Mark ===
== Mark ==
 
This button allows you to Mark (select) all objects or faces that contain the selected material. You can then adjust those faces as required (textures, scaling, lightmap resolution, etc).
This button allows you to Mark (select) all objects or faces that contain the selected material. You can then adjust those faces as required (textures, scaling, lightmap resolution, etc).


If the texture Browser was envoked in [[Hammer_Face_Edit_Dialog|Face Edit]] mode, '''Mark''' will highlight individual faces that contain the selected material, as if you selected each face by hand. Outside of Face '''Edit mode''', entire objects that contain the material will be selected.
If the texture Browser was evoked in [[Hammer_Face_Edit_Dialog|Face Edit]] mode, Mark will highlight individual faces that contain the selected material, as if you selected each face by hand. Outside of Face Edit mode, entire objects that contain the material will be selected.


=== Replace ===
== Replace ==
 
Opens the [[Hammer_Replace_Textures_Dialog|Replace Textures]] dialog with the currently selected material already in the '''Find''' field.
Opens the [[Hammer_Replace_Textures_Dialog|Replace Textures]] dialog with the currently selected material already in the '''Find:''' field.
 
=== Open Source ===


== Open Source ==
Opens the .VMT file that was used to generate the material currently selected. The file is opened with the Windows application associated with text files. You must have .VMT files associated in Windows with a text editor (such as Notepad) for this function to work correctly. To test this, double-click a .VMT file in an Explorer window and make sure it opens properly.
Opens the .VMT file that was used to generate the material currently selected. The file is opened with the Windows application associated with text files. You must have .VMT files associated in Windows with a text editor (such as Notepad) for this function to work correctly. To test this, double-click a .VMT file in an Explorer window and make sure it opens properly.


=== Opaque, Translucent, SelfIllum, Envmask ===
== Opaque, Translucent, SelfIllum, Envmask ==
 
Shows materials that contain these properties in their material definitions. Unchecking these options will hide any materials that have those properties.
Shows materials that contain these properties in their material definitions. Unchecking any other these options will hide any materials that have those properties.
 
=== Show Errors ===


== Show Errors ==
Shows materials that contain errors in their material definitions.
Shows materials that contain errors in their material definitions.


=== Related Topics ===
== See also ==
* [[Hammer_Textures_Toolbar|Textures Toolbar]]
* [[Hammer_Face_Edit_Dialog|Face Edit mode]]
* [[Applying_Materials|Applying Materials to Solids]]


[[Hammer_Textures_Toolbar|Textures Toolbar]]
[[Category:Hammer Dialogs]]
 
[[Hammer_Face_Edit_Dialog|Face Edit mode]]
 
[[Applying_Materials|Applying Materials to Solids]]

Revision as of 03:30, 4 October 2007

A screenshot of the Texture Browser in action.

The Texture Browser allows you to find and select materials to apply to objects.

Texture List

This window contains a list of the currently available materials. Double-clicking a material in the list selects it as the current material and closes the Texture Browser.

Size

This scroll box allows you to set the displayed size of the textures. You can choose from 32x32, 64x64, 128x128, or 1:1 (full size).

Filter

This field allows you to type in a search string. Any texture that includes that string as part of its name will be displayed. You can specify more than one filter string. For example, if you specify the search string "sign 7," any texture with "sign" and "7" in its name will be displayed. Previous search strings can be accessed by clicking on the down arrow.

Only used textures

When selected, this sets the browser to display only those textures that have been used in your level. This helps you limit your use of different textures, and avoid using different textures for the same purpose. For games such as Half-Life, textures are stored in the compiled maps. Reducing the number of textures will decrease the compiled map size. Fewer textures to load also means memory savings while playing the map in the game.

Mark

This button allows you to Mark (select) all objects or faces that contain the selected material. You can then adjust those faces as required (textures, scaling, lightmap resolution, etc).

If the texture Browser was evoked in Face Edit mode, Mark will highlight individual faces that contain the selected material, as if you selected each face by hand. Outside of Face Edit mode, entire objects that contain the material will be selected.

Replace

Opens the Replace Textures dialog with the currently selected material already in the Find field.

Open Source

Opens the .VMT file that was used to generate the material currently selected. The file is opened with the Windows application associated with text files. You must have .VMT files associated in Windows with a text editor (such as Notepad) for this function to work correctly. To test this, double-click a .VMT file in an Explorer window and make sure it opens properly.

Opaque, Translucent, SelfIllum, Envmask

Shows materials that contain these properties in their material definitions. Unchecking these options will hide any materials that have those properties.

Show Errors

Shows materials that contain errors in their material definitions.

See also