DarkRadiant - Paste Texture Projected: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
m (categorised)
m (flag todo for me)
Line 1: Line 1:
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:
{{todo}} <!-- tels: re-use this for the DarkRadiant menu reference! -->
{{external-image}}
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:


[http://img19.imageshack.us/img19/3447/texturingbeforehandca0.jpg http://img19.imageshack.us/img19/3447/texturingbeforehandca0.th.jpg] [http://img266.imageshack.us/img266/405/texturingafterwardsqk2.jpg http://img266.imageshack.us/img266/405/texturingafterwardsqk2.th.jpg]
[http://img19.imageshack.us/img19/3447/texturingbeforehandca0.jpg http://img19.imageshack.us/img19/3447/texturingbeforehandca0.th.jpg] [http://img266.imageshack.us/img266/405/texturingafterwardsqk2.jpg http://img266.imageshack.us/img266/405/texturingafterwardsqk2.th.jpg]

Revision as of 23:22, 11 November 2007

This article links to external images. As this is unreliable, please upload these images to the wiki and interlink them. When the images are complete, remove the {{external-image}} from the article.

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:

texturingbeforehandca0.th.jpg texturingafterwardsqk2.th.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.