Keep up-to-date with Free tutorials!!

 

Sign up to our twice-monthly newsletter today for the latest tutorials, interviews and product information.

Sign me up to receive third-party emails from 3dtotal's partners, too!

- Latest news
- Exclusive Shop Offers
- Preview early content
- Plus much more

 

Not Ready to take that step? OK, Why not just Subscribe to the RSS Feed

 
submit tutorial
1 | 2 | 3
Controlling Displacement Maps

By Jeremiah Grant
| Your Rating:
rating star nonerating star nonerating star nonerating star nonerating star none
(0 Votes)
| 34726 Views
| 0 Comments
| Comments 0
Date Added: 9th December 2009
Software used:
Maya

Checker1 will go on the left, because it is outputting outAlpha. DisplacementShader1 will go on the right, because it is receiving outAlpha into displacement. Select checker1 and click the Reload Left button. Now select displacementShader1 and click Reload Right

895_tid_image15.jpg
Now is the easy part. Click first on Out Alpha, then click on Displacement. If you look back in your Hypergraph you'll note that there is a connection line drawn between them. The checker is now connected to the displacement, but the displacement isn't connected to the actual shader. To do this, select displacementShader1 and Reload Left. Select lambert2SG (the shading group) and Reload Right. Once both are loaded, click first on Displacement, then on Displacement Shader. This will technically connect displacementShader1.displacement into lambert2SG.displacementShader.

895_tid_image16.jpg
Now if you render, you should get an image like the example at the beginning of this section.

Ok! Woohoo! We have a cool checkered plane thing with holes and stuff. Wow! Well, what if I want the white higher? How can I change that? Short answer, you can't. Long answer, you can. Since the outAlpha is mapped directly into the displacement shader, we can't control or change the amount or intensity of the map without making the white a bit darker or brighter. What if this was a detailed displacement map for a face? You don't want to go through your map and keep adjusting the levels and contrast in Photoshop, then go back into Maya, render, then go back into Photoshop, adjust, etc.

So what we will do is create a multiplyDivide node. What it does is take in any inputs and multiply, divide or power it by a value you set, then send the result as the output .

Technically:
checker1.outAlpha into multiplyDivide.input1X multiplyDivide.ouputX into displacementShader1.displacement.

Let's create the multiplyDivide node.

895_tid_image17.jpg

Back in the Connection Editor, select first checker1 and press Reload Left, then select multiplyDivide1 and Reload Right. Connect "Out Alpha" into "Input1 X"

895_tid_image18.jpg
Select multiplyDivide1 and Reload Left, then select displacementShader1 and Reload Right. Connect "Output X" to Displacement

895_tid_image19.jpg

If you render now, you should see exactly the same thing as before. We need to change the value that the outAlpha is being multiplied/divided by. Select multiplyDivide1 and go to the Attribute Editor. Notice that the first box of Input1 is yellow. That means it has an incoming connection. The first box of Input2 is where we change the intensity of the displacement. If I change it to 10 instead of 1, there will be 10 times as much displacement. If I change it to .5, there will be half as much displacement. Go ahead and try it

895_tid_image20.jpg
Pretty cool, huh? Try doing the same thing only using images you've made. Here is a quick examples using an image made in Photoshop. Instant mountains, no modeling

895_tid_image21.jpg



< previous page
 
1 | 2 | 3
Related Tutorials

Tutorial

Gallery Image.



Keywords: Bane, ZBrush, Character, Maya, MARI, Photoshop, UVLayout, V-Ray

Go to tutorial
rating star fullrating star fullrating star fullrating star fullrating star full (2)
Comments 0 Views 6595

Tutorial

Gallery Image.



Keywords: Maya, ZBrush, Maquette, Creature

Go to galleries 1
rating star fullrating star fullrating star fullrating star fullrating star full
Comments 0 Views 13481

Tutorial

Gallery Image.



Keywords: Bear, Cartoon, Making of, Tutorial, Maya, Mudbox, ZBrush, Photoshop, V-Ray

Go to galleries 1
rating star fullrating star fullrating star fullrating star fullrating star half
Comments 3 Views 16704

Tutorial

Gallery Image.



Keywords: maps, texturing, video,

Go to galleries 1
rating star nonerating star nonerating star nonerating star nonerating star none
Comments 0 Views 4818
Readers Comments (Newest on Top)
no comments!
No comments yet. Be the first to comment!
Add Your Comment