Creating Holes in Displacements: Difference between revisions
(dead link) |
(Added images and captions. Fixed some missing bolding.) |
||
Line 2: | Line 2: | ||
[[category:tutorials]] | [[category:tutorials]] | ||
{{stub}} | {{stub}} | ||
Sometimes you need to create a hold or gap in [[Displacement|displacement surfaces]] for various reasons. Due to the requirements of displacements, there is no automatic way to accomplish this. Instead, you can use a combination of vertex editing and clipping to achieve the result. The method differs depending on whether you're starting from scratch, or if a displacement already exists where you need a hole. | Sometimes you need to create a hold or gap in [[Displacement|displacement surfaces]] for various reasons. Due to the requirements of displacements, there is no automatic way to accomplish this. Instead, you can use a combination of vertex editing and clipping to achieve the result. The method differs depending on whether you're starting from scratch, or if a displacement already exists where you need a hole. | ||
Line 10: | Line 9: | ||
Follow these steps to create a set of displacements with a square hole in the center: | Follow these steps to create a set of displacements with a square hole in the center: | ||
1. Create a new brush with the [[Hammer Map Tools Toolbar|Block Tool]]. The brush should be the size of the displacement you wish to create: | 1. Create a new brush with the [[Hammer Map Tools Toolbar|Block Tool]]. The brush should be the size of the displacement you wish to create: | ||
[[Image:disp_hole_01.jpg|frame|left|Create a brush the size of the displacement.]]<br style="clear:both"> | |||
Create a brush the size of the displacement. | |||
2. Use the [[Hammer Map Tools Toolbar|Clip Tool]] in the Top 2D View to cut the brush in the vertical direction. This split will be the ''left side'' of the hole: | |||
'''Note:''' Press the '''Clip Tool''' icon until both sides of the brush are highlighted in white. | |||
[[Image:disp_hole_02.jpg|frame|left|Using the '''Clip Tool''' to create the left side of the hole.]]<br style="clear:both"> | |||
Using the '''Clip Tool''' to create the left side of the hole. | |||
3. Use the '''Clip Tool''' to cut the brush three more times -- cut the brush on the right side first. | 3. Use the '''Clip Tool''' to cut the brush three more times -- cut the brush on the right side first. | ||
Line 31: | Line 26: | ||
Switch back to the '''Clip Tool''' and clip the center brush two times horizontally, to create a square in the middle. The end result should look something like this: | Switch back to the '''Clip Tool''' and clip the center brush two times horizontally, to create a square in the middle. The end result should look something like this: | ||
[[Image:disp_hole_03.jpg|frame|left|Cut the brush for the other sides of the hole.]]<br style="clear:both"> | |||
Cut the brush for the other sides of the hole. | |||
4. Using the '''Selection Tool''', select the brush square in the middle that was a result of the clips you made. Press the '''Delete''' key to delete the brush, leaving a hole in the center of the brushes: | 4. Using the '''Selection Tool''', select the brush square in the middle that was a result of the clips you made. Press the '''Delete''' key to delete the brush, leaving a hole in the center of the brushes: | ||
[[Image:disp_hole_04.jpg|frame|left|Select the center brush and delete it.]]<br style="clear:both"> | |||
Select the center brush and delete it. | |||
5. Select the two side brushes with the '''Selection Tool''': | 5. Select the two side brushes with the '''Selection Tool''': | ||
[[Image:disp_hole_05.jpg|frame|left|Select the side brushes.]]<br style="clear:both"> | |||
Select the side brushes. | |||
6. Select the [[Hammer Map Tools Toolbar|Vertex Edit Tool]] to go into Vertex Editing Mode: | 6. Select the [[Hammer Map Tools Toolbar|Vertex Edit Tool]] to go into Vertex Editing Mode: | ||
[[Image:disp_hole_06.jpg|frame|left|Switch to '''Vertex Editing Mode'''.]]<br style="clear:both"> | |||
Switch to '''Vertex Editing Mode'''. | |||
7. In the '''Top 2D View''', select the corner point, and drag it towards the center square, as shown: | 7. In the '''Top 2D View''', select the corner point, and drag it towards the center square, as shown: | ||
[[Image:disp_hole_07.jpg|frame|left|Move a corner point towards the corner of the hole.]]<br style="clear:both"> | |||
Move a corner point towards the corner of the hole. | |||
8. Repeat the same operation for the other three corners -- drag them toward the four center points as shown: | 8. Repeat the same operation for the other three corners -- drag them toward the four center points as shown: | ||
[[Image:disp_hole_08.jpg|frame|left|Move the other corner points to match.]]<br style="clear:both"> | |||
Move the other corner points to match. | |||
9. While still in '''Vertex Edit Mode''', select one of the remaining two brushes. Hold down CTRL and select the other one as well. Your selection should match this image: | 9. While still in '''Vertex Edit Mode''', select one of the remaining two brushes. Hold down CTRL and select the other one as well. Your selection should match this image: | ||
[[Image:disp_hole_09.jpg|frame|left|Select the other two brushes using CTRL-left-click.]]<br style="clear:both"> | |||
Select the other two brushes using CTRL-left-click. | |||
10. Drag the outer vertices of these brushes to line up with the four outer corners, to match the following image: | 10. Drag the outer vertices of these brushes to line up with the four outer corners, to match the following image: | ||
[[Image:disp_hole_10.jpg|frame|left|Vertex edit the brushes to fit the outer edges.]]<br style="clear:both"> | |||
Vertex edit the brushes to fit the outer edges. | |||
11. Switch to the [[Hammer Map Tools Toolbar|Texture Application Tool]], and select all of the top faces of the brushes by left-clicking one of them in the '''3D View''', then holding down CTRL and left-clicking the remaining faces. Only select the tops of the brushes, as shown here: | 11. Switch to the [[Hammer Map Tools Toolbar|Texture Application Tool]], and select all of the top faces of the brushes by left-clicking one of them in the '''3D View''', then holding down CTRL and left-clicking the remaining faces. Only select the tops of the brushes, as shown here: | ||
[[Image:disp_hole_11.jpg|frame|left|Select all the top faces in '''Face Edit Mode'''.]]<br style="clear:both"> | |||
Select all the top faces in '''Face Edit Mode'''. | |||
12. Switch to the '''Displacement''' tab in the '''Face Edit''' dialog box. Press the '''Create''' button to create the displacements on the selection faces. You should now have a set of displacements with a hole cut in the center: | |||
[[Image:disp_hole_12.jpg|frame|left|Create the displacements using the brushes you've edited.]]<br style="clear:both"> | |||
These displacements can now be freely painted or transformed. Because the four outside edges are not split, these displacements can be sewn to and surrounding geometry seamlessly. | |||
These displacements can now be freely painted or transformed. Because the four outside edges are not split, these displacements can be sewn to and surrounding geometry seamlessly. | |||
==Using Clipping to Add Holes to Existing Displacement Geometry== | ==Using Clipping to Add Holes to Existing Displacement Geometry== | ||
Line 94: | Line 70: | ||
Follow these steps to make a hole in the center of an existing displacement surface: | Follow these steps to make a hole in the center of an existing displacement surface: | ||
1. Select the displacement you wish to create a hole in with the '''Selection Tool''': | 1. Select the displacement you wish to create a hole in with the '''Selection Tool''': | ||
[[Image:disp_cut_hole_01.jpg|frame|left|The target displacement.]]<br style="clear:both"> | |||
The target displacement. | |||
2. Use the '''Clip Tool'' to cut the displacement in the vertical direction. This split will be the left side of the hole: | 2. Use the '''Clip Tool''' to cut the displacement in the vertical direction. This split will be the left side of the hole: | ||
[[Image:disp_cut_hole_02.jpg|frame|left|Using the Clip Tool to create the left side of the hole.]]<br style="clear:both"> | |||
Using the Clip Tool to create the left side of the hole. | |||
3. Use the '''Clip Tool''' to cut the brush three more times -- Cut the displacement on the right side, as well as two times horizontally, to create a square in the middle: | |||
[[Image:disp_cut_hole_03.jpg|frame|left|Cut the brush for the other sides of the hole.]]<br style="clear:both"> | |||
Cut the brush for the other sides of the hole. | |||
4. Using the '''Selection Tool''', select the displacement square in the middle that was a result of the clips you made. Press the '''Delete''' key to delete the displacement, leaving a hole in the center: | 4. Using the '''Selection Tool''', select the displacement square in the middle that was a result of the clips you made. Press the '''Delete''' key to delete the displacement, leaving a hole in the center: | ||
{ | {| border=0 cellspacing=0 cellpadding=0 | ||
Select the center brush and delete it. | | [[Image:disp_cut_hole_04.jpg|frame|left|Select the center brush and delete it.]] | ||
| [[Image:disp_cut_hole_04a.jpg|frame|left|The center displacement has been deleted, leaving a hole.]] | |||
|} | |||
The center displacement has been deleted, leaving a hole. | |||
5. We're not finished yet, because the displacement still needs to be fixed up so it can Sew properly to neighboring surfaces. | 5. We're not finished yet, because the displacement still needs to be fixed up so it can Sew properly to neighboring surfaces. | ||
Switch to the '''Clip Tool''' and select the displacement on the right side. In the '''Top 2D View''', use the | Switch to the '''Clip Tool''' and select the displacement on the right side. In the '''Top 2D View''', use the '''Clip Tool''' to trim off the corner piece of the displacement. | ||
Make sure the clip snaps to corners on the grid, or the displacement will get destroyed: | Make sure the clip snaps to corners on the grid, or the displacement will get destroyed: | ||
[[Image:disp_cut_hole_05.jpg|frame|left|Use the Clip Tool to trim the displacement towards the hole.]]<br style="clear:both"> | |||
6. Repeat the same operation for the other corner of the displacement, as well as the displacement on the left side -- clip each of the corners to create the edges as shown: | 6. Repeat the same operation for the other corner of the displacement, as well as the displacement on the left side -- clip each of the corners to create the edges as shown: | ||
[[Image:disp_cut_hole_06.jpg|frame|left|Clip the the edges on the left and right side.]]<br style="clear:both"> | |||
Clip the the edges on the left and right side. | |||
7. Switch to the [[Hammer Map Tools Toolbar|Vertex Edit Tool]]. Select one of the remaining two top and bottom displacements. Hold down CTRL and select the other one as well. Your selection should match this image: | 7. Switch to the [[Hammer Map Tools Toolbar|Vertex Edit Tool]]. Select one of the remaining two top and bottom displacements. Hold down CTRL and select the other one as well. Your selection should match this image: | ||
[[Image:disp_cut_hole_07.jpg|frame|left|Select the other two displacements using CTRL-left-click.]]<br style="clear:both"> | |||
Select the other two displacements using CTRL-left-click. | |||
8. Drag the outer vertices of these two displacements to line up with the four outer corners, to match the following image: | 8. Drag the outer vertices of these two displacements to line up with the four outer corners, to match the following image: | ||
[[Image:disp_cut_hole_08.jpg|frame|left|Vertex edit the displacements to fit the outer edges.]]<br style="clear:both"> | |||
Vertex edit the displacements to fit the outer edges. | |||
9. Switch to the '''Face Edit Tool''', click the '''Displacement''' tab of the '''Face Edit''' dialog. Select all of the displacement surfaces by left-clicking one of them in the '''3D View''', then holding down CTRL and left-clicking the remaining faces. Only select the four displacements. | 9. Switch to the '''Face Edit Tool''', click the '''Displacement''' tab of the '''Face Edit''' dialog. Select all of the displacement surfaces by left-clicking one of them in the '''3D View''', then holding down CTRL and left-clicking the remaining faces. Only select the four displacements. | ||
Line 154: | Line 113: | ||
Notice how the displacements edges do not line up, due to the clipping that was done: | Notice how the displacements edges do not line up, due to the clipping that was done: | ||
[[Image:disp_cut_hole_09.jpg|frame|left|Select all the displacements in Face Edit Mode.]]<br style="clear:both"> | |||
Select all the displacements in Face Edit Mode . | |||
10. Click the '''Sew''' button. The displacements should connect to each other like this: | |||
[[Image:disp_cut_hole_10.jpg|frame|left|The final displacements with a hole, after the Sew operation.]]<br style="clear:both"> | |||
The final displacements with a hole, after the Sew operation. | |||
These displacements can now be freely painted or transformed. Because the four outside edges are not split, these displacements can be sewn to and surrounding geometry seamlessly. | These displacements can now be freely painted or transformed. Because the four outside edges are not split, these displacements can be sewn to and surrounding geometry seamlessly. | ||
Line 167: | Line 123: | ||
The following images demonstrate how the displacement geometry created in the previous steps can be attached to other displacements: | The following images demonstrate how the displacement geometry created in the previous steps can be attached to other displacements: | ||
{ | {| border=0 cellspacing=0 cellpadding=0 | ||
The displacement can be sewn to surrounding displacements. | | [[Image:disp_cut_hole_11.jpg|frame|left|The displacement can be sewn to surrounding displacements.]] | ||
| [[Image:disp_cut_hole_12.jpg|frame|left|The edges of the center displacement match, allowing for sewing.]] | |||
|} | |||
The edges of the center displacement match, allowing for sewing. |
Revision as of 17:19, 30 June 2005
Sometimes you need to create a hold or gap in displacement surfaces for various reasons. Due to the requirements of displacements, there is no automatic way to accomplish this. Instead, you can use a combination of vertex editing and clipping to achieve the result. The method differs depending on whether you're starting from scratch, or if a displacement already exists where you need a hole.
Creating a Set of Displacement Surfaces with a Hole
The best method to create holes in displacement surfaces is to create the hole when the displacements are first created.
Follow these steps to create a set of displacements with a square hole in the center:
1. Create a new brush with the Block Tool. The brush should be the size of the displacement you wish to create:
2. Use the Clip Tool in the Top 2D View to cut the brush in the vertical direction. This split will be the left side of the hole:
Note: Press the Clip Tool icon until both sides of the brush are highlighted in white.
3. Use the Clip Tool to cut the brush three more times -- cut the brush on the right side first.
Then select the center piece with the Selection Tool.
Switch back to the Clip Tool and clip the center brush two times horizontally, to create a square in the middle. The end result should look something like this:
4. Using the Selection Tool, select the brush square in the middle that was a result of the clips you made. Press the Delete key to delete the brush, leaving a hole in the center of the brushes:
5. Select the two side brushes with the Selection Tool:
6. Select the Vertex Edit Tool to go into Vertex Editing Mode:
7. In the Top 2D View, select the corner point, and drag it towards the center square, as shown:
8. Repeat the same operation for the other three corners -- drag them toward the four center points as shown:
9. While still in Vertex Edit Mode, select one of the remaining two brushes. Hold down CTRL and select the other one as well. Your selection should match this image:
10. Drag the outer vertices of these brushes to line up with the four outer corners, to match the following image:
11. Switch to the Texture Application Tool, and select all of the top faces of the brushes by left-clicking one of them in the 3D View, then holding down CTRL and left-clicking the remaining faces. Only select the tops of the brushes, as shown here:
12. Switch to the Displacement tab in the Face Edit dialog box. Press the Create button to create the displacements on the selection faces. You should now have a set of displacements with a hole cut in the center:
These displacements can now be freely painted or transformed. Because the four outside edges are not split, these displacements can be sewn to and surrounding geometry seamlessly.
Using Clipping to Add Holes to Existing Displacement Geometry
Creating a hole where you have already have displacements is done utilizing the clip tool in combination with vertex editing. This method is not as straightforward as making a hole by creating new displacements, but it will preserve some of the shape of any existing surfaces.
Follow these steps to make a hole in the center of an existing displacement surface:
1. Select the displacement you wish to create a hole in with the Selection Tool:
2. Use the Clip Tool to cut the displacement in the vertical direction. This split will be the left side of the hole:
3. Use the Clip Tool to cut the brush three more times -- Cut the displacement on the right side, as well as two times horizontally, to create a square in the middle:
4. Using the Selection Tool, select the displacement square in the middle that was a result of the clips you made. Press the Delete key to delete the displacement, leaving a hole in the center:
5. We're not finished yet, because the displacement still needs to be fixed up so it can Sew properly to neighboring surfaces. Switch to the Clip Tool and select the displacement on the right side. In the Top 2D View, use the Clip Tool to trim off the corner piece of the displacement.
Make sure the clip snaps to corners on the grid, or the displacement will get destroyed:
6. Repeat the same operation for the other corner of the displacement, as well as the displacement on the left side -- clip each of the corners to create the edges as shown:
7. Switch to the Vertex Edit Tool. Select one of the remaining two top and bottom displacements. Hold down CTRL and select the other one as well. Your selection should match this image:
8. Drag the outer vertices of these two displacements to line up with the four outer corners, to match the following image:
9. Switch to the Face Edit Tool, click the Displacement tab of the Face Edit dialog. Select all of the displacement surfaces by left-clicking one of them in the 3D View, then holding down CTRL and left-clicking the remaining faces. Only select the four displacements.
Notice how the displacements edges do not line up, due to the clipping that was done:
10. Click the Sew button. The displacements should connect to each other like this:
These displacements can now be freely painted or transformed. Because the four outside edges are not split, these displacements can be sewn to and surrounding geometry seamlessly.
The following images demonstrate how the displacement geometry created in the previous steps can be attached to other displacements: