DarkRadiant - Paste Texture Coordinates: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
No edit summary
 
(flag todo for me)
Line 1: Line 1:
{{todo}} <!-- tels: re-use this for the DarkRadiant menu reference! -->
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:19, 11 November 2007

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