DarkRadiant - Paste Texture Coordinates: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
(flag todo for me)
m (add external)
Line 1: Line 1:
{{todo}} <!-- tels: re-use this for the DarkRadiant menu reference! -->
{{todo}} <!-- tels: re-use this for the DarkRadiant menu reference! -->
{{external-image}}
This command works only from Patches to Patches and is available via the '''Alt-MMB'''. The source and target patches must have the same matrix dimensions (e.g. you can only paste the coordinates from 5x3 patches to another 5x3 patch). The shape of the target patch stays untouched, it's just the shader coordinates (U/V) that get cloned. See this example:
This command works only from Patches to Patches and is available via the '''Alt-MMB'''. The source and target patches must have the same matrix dimensions (e.g. you can only paste the coordinates from 5x3 patches to another 5x3 patch). The shape of the target patch stays untouched, it's just the shader coordinates (U/V) that get cloned. See this example:



Revision as of 23:21, 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 works only from Patches to Patches and is available via the Alt-MMB. The source and target patches must have the same matrix dimensions (e.g. you can only paste the coordinates from 5x3 patches to another 5x3 patch). The shape of the target patch stays untouched, it's just the shader coordinates (U/V) that get cloned. See this example:

texturecoordcopy1zb5.th.jpg texturecoordcopy2zp5.th.jpg

The left image shows two patches with equal dimensions (3x3). The left patch is considered the source patch - after clicking it with MMB the ShaderClipboard memorises this patch. After clicking the right patch (the target) using Alt-MMB, the U/V coordinates get cloned from the left to the right. I've used an 2x2 texture tiling layout to illustrate the workings. As stated above, the shader itself stays untouched, it's just the "internal" coordinates of the target patch that get altered.

Another example:

texturecoordcopy3an4.th.jpg texturecoordcopy4fz8.th.jpg