The STMap is a pretty simple but powerful node.
For each pixel in the output image it looks at the corresponding pixel of the stmap and uses it's red and green values as x/y coordinates respectively to pull the right pixel from the source image.
Given that your 3D renderer can output texture UVs this can be used to modify or replace textures on a 3D rendered image.
First, pull in the texture you want to apply and the UV render. I've also got an rgba render of the fancy shmancy tea pot I want to mess with so I can see if my texture ends up in the same position. Besides, I can pinch the alpha channel from it which will come in handy.
The UV image should be in linear colour space so make sure to use the correct setting in the Read node's ColorSpace tab otherwise your texture will end up all distorted.
Now simply add a STMap node and hook up the texture to it's "src" pipe and the UVs to it's "stmap" pipe. You will have to tell Nuke which channels to use for the UVs so in my case I need to set the "UV channel" knob to "rgb" since that is the layer where my UVs live.
For each pixel in the output image it looks at the corresponding pixel of the stmap and uses it's red and green values as x/y coordinates respectively to pull the right pixel from the source image.
Given that your 3D renderer can output texture UVs this can be used to modify or replace textures on a 3D rendered image.
First, pull in the texture you want to apply and the UV render. I've also got an rgba render of the fancy shmancy tea pot I want to mess with so I can see if my texture ends up in the same position. Besides, I can pinch the alpha channel from it which will come in handy.
The UV image should be in linear colour space so make sure to use the correct setting in the Read node's ColorSpace tab otherwise your texture will end up all distorted.
Now simply add a STMap node and hook up the texture to it's "src" pipe and the UVs to it's "stmap" pipe. You will have to tell Nuke which channels to use for the UVs so in my case I need to set the "UV channel" knob to "rgb" since that is the layer where my UVs live.
Author: rueter
Submitted: 2006-11-15 20:07:25 UTC
Tags:
Software: Nuke
Views: 33,990
Related Items
-
Texture Euro Money Collection
$15.00 (USD) -
UV Texture Editor Tools Ur-edition for Maya 2.1.2 (maya script)
$39.00 (USD) -
1-Click Texture Batch Bake for Maya for Maya 1.0.0 (maya script)
$20.00 (USD) -
Ornamental Architecture Texture Maps
$9.99 (USD) -
Thatched Roof Texture Maps
$7.99 (USD) -
Texture Stone Brick
$5.00 (USD) -
Texture Stone Brick
$5.00 (USD) -
Texture Stone Rock
$5.00 (USD) -
Texture Stone Brick
$5.00 (USD)