Texture Tool Example 01: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
Fidcal (talk | contribs)
No edit summary
Fidcal (talk | contribs)
No edit summary
Line 1: Line 1:
placeholder for Texture Tool Example 01
placeholder for Texture Tool Example 01




==Introduction==


[[Image:chimneySlope.jpg|right|120px]]In this patch example there is a sloping chimney above a fireplace. This is made of brushes (with narrow patch bevels to soften the edges.) You can see from the image on the right that the texture on the slope pointed to by the yellow arrow aligns at the base of that slope with the front surface of the chimney on the left. But higher up the slope it does not align (indeed cannot, with a brush except perhaps with a custom texture.) If you scroll the texture along to align the top then it will not align further down.


[[Image:chimneySlope.jpg|right|120px]]In this patch example there is a sloping chimney above a fireplace. This is made of brushes (with narrow patch bevels to soften the edges.) You can see from the image on the right that the texture on the slope pointed to by the yellow arrow aligns at the base of that slope with the front surface of the chimney on the left. But higher up the slope it does not align (indeed cannot, with a brush except perhaps with a custom texture.) If you scroll the texture along to align the top then it will not align further down.


[[Image:chimneyPatch.jpg|right|120px]]To fix this I retextured the sloping surface with caulk and placed a patch exactly over it with the required texture. I aligned this with the texture '''below''' that slope to start with in the normal way (using copy shader then paste shader natural.) With the patch selected I used the texture tool, selected the top row of vertices and LMB dragged sideways to the point where the texture just to the left of the edge matched (actually the edge bevel in this case but it would be the same for just a brush edge.) I kept the top vertex line horizontal. DeSelect and the result is a perfect match as you see in the image on the right.
Here are the step by step details...


[[Image:chimneyPatch.jpg|right|120px]]To fix this I retextured the sloping surface with caulk and placed a patch exactly over it with the required texture. I aligned this with the texture '''below''' that slope to start with in the normal way (using copy shader then paste shader natural.) With the patch selected I used the texture tool, selected the top left vertex and LMB dragged it sideways until it was at the point where the texture just to the left of the edge matched (actually the edge bevel in this case but it would be the same for just a brush edge.) I kept the top vertex line horizontal. DeSelect and the result is a perfect match as you see in the image on the right. What has happened is that the texture tool has squashed up the texture along the top of that patch and different degrees of squash all the way down that edge to the bottom while leaving the bottom as it was, normal. The right edge of the patch texture doesn't move. In the texture tool it looks the opposite of course - it looks stretched across the top but it is actually stretching the amount of texture ''covered'' by the patch - so more texture in the same width of patch.
== Step by Step Alignment ==

Revision as of 16:55, 25 February 2008


placeholder for Texture Tool Example 01


Introduction

In this patch example there is a sloping chimney above a fireplace. This is made of brushes (with narrow patch bevels to soften the edges.) You can see from the image on the right that the texture on the slope pointed to by the yellow arrow aligns at the base of that slope with the front surface of the chimney on the left. But higher up the slope it does not align (indeed cannot, with a brush except perhaps with a custom texture.) If you scroll the texture along to align the top then it will not align further down.


To fix this I retextured the sloping surface with caulk and placed a patch exactly over it with the required texture. I aligned this with the texture below that slope to start with in the normal way (using copy shader then paste shader natural.) With the patch selected I used the texture tool, selected the top row of vertices and LMB dragged sideways to the point where the texture just to the left of the edge matched (actually the edge bevel in this case but it would be the same for just a brush edge.) I kept the top vertex line horizontal. DeSelect and the result is a perfect match as you see in the image on the right.

Here are the step by step details...

Step by Step Alignment