DarkRadiant - Paste Texture Projected: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
(fixed images)
No edit summary
 
Line 2: Line 2:
This command is useful to texture patch caps or brush faces that are adjacent to each other. It can be accessed via '''Ctrl-MMB''' and the {{menu|Edit|Paste Shader}} command. Let's have a look at the following example:
This command is useful to texture patch caps or brush faces that are adjacent to each other. It can be accessed via '''Ctrl-MMB''' and the {{menu|Edit|Paste Shader}} command. Let's have a look at the following example:


[[Image:Paste texture projected 1.jpg|200px]] [[Image:Paste texture projected 2.jpg|200px]]
[[Image:Paste texture projected 1.jpg|300px]] [[Image:Paste texture projected 2.jpg|300px]]


The left shot shows two brushes and a patch that has been created with the "cap selection" command. The rightmost brush is considered the "source" brush, so we copy its shader by middle-clicking it. The shader is now in the clipboard.
The left shot shows two brushes and a patch that has been created with the "cap selection" command. The rightmost brush is considered the "source" brush, so we copy its shader by middle-clicking it. The shader is now in the clipboard.

Latest revision as of 22:25, 17 November 2007

This command is useful to texture patch caps or brush faces that are adjacent to each other. It can be accessed via Ctrl-MMB and the Edit -> Paste Shader command. Let's have a look at the following example:

Paste texture projected 1.jpg Paste texture projected 2.jpg

The left shot shows two brushes and a patch that has been created with the "cap selection" command. The rightmost brush is considered the "source" brush, so we copy its shader by middle-clicking it. The shader is now in the clipboard.

Now hold down the Ctrl modifier and click on the other three objects with the middle mouse button. The texture is pasted onto the target objects so that the transition between the objects is seamless - technically spoken this is a projection. Imagine that you project the texture using a video projector, it's more or less the same mechanism.

Note: It's important to note that this only works from brushes to patches, as only brush faces can be used to project textures. Patches have no uniform scale and rotation and can't be used to retrieve a plane to project the objects onto.