Hi,
Is it possible to Paint using a Paint Surface Node on an object and have that paint control the Limit Mask within a Basic Displacement shader? I'm trying to paint a gradient on an object from white to black to have different levels of displacement and noise on the surface of my object. There may be a better way to do this and I welcome any suggestions.
Would I need to set some sort of attribute or can I output a texture map that I've painted and feed that that file into the “Limit Mask”?
thanks for your help.
Using Paint node to control limit mask of Displacement?
5934 5 1- ultraharmonizer
- Member
- 63 posts
- Joined: Sept. 2009
- Offline
- probbins
- Member
- 1145 posts
- Joined: July 2005
- Offline
At the bottom of the Paint Sop parameters you'll see a toggle to allow you to override the Colour. Turn that on and create a unique name for the painting you want to do.
Have the limit mask recognize that unique name. Use an Import Attribute vop for that.
Have the limit mask recognize that unique name. Use an Import Attribute vop for that.
“gravity is not a force, it is a boundary layer”
“everything is coincident”
“Love; the state of suspended anticipation.”
“everything is coincident”
“Love; the state of suspended anticipation.”
- ultraharmonizer
- Member
- 63 posts
- Joined: Sept. 2009
- Offline
- midorime
- Member
- 31 posts
- Joined:
- Offline
Hi Nick,
I changed the displacement value in the basic displacement shader, now it takes from the “test” point attribute the mask value.
I know that painting directly the Cd attribute in your SOP context couldn't be the right way, this is a solution just for learning purpose and it gives you a fast feedback.
I hope you'll find it useful.
Cheers,
Emanuele
I changed the displacement value in the basic displacement shader, now it takes from the “test” point attribute the mask value.
I know that painting directly the Cd attribute in your SOP context couldn't be the right way, this is a solution just for learning purpose and it gives you a fast feedback.
I hope you'll find it useful.
Cheers,
Emanuele
Edited by - Jan. 16, 2010 13:50:12
- ultraharmonizer
- Member
- 63 posts
- Joined: Sept. 2009
- Offline
Hi Emanuele,
Very clever of you to add luminance control within the shader. Now I can paint different degrees of white to black to get different amounts of displacement. Thanks so much for helping me out with this. Great solution. I just tested it out on L-Systems as well to get different degrees of noise up and down the branches.
By the way, I'm very impressed by your film reel on your website. Keep up the great work!
Nick
Very clever of you to add luminance control within the shader. Now I can paint different degrees of white to black to get different amounts of displacement. Thanks so much for helping me out with this. Great solution. I just tested it out on L-Systems as well to get different degrees of noise up and down the branches.
By the way, I'm very impressed by your film reel on your website. Keep up the great work!
Nick
- midorime
- Member
- 31 posts
- Joined:
- Offline
-
- Quick Links