Adding small displacement to imported object

Started by reck, April 20, 2008, 10:30:08 AM

Previous topic - Next topic

reck

I'm trying to add small scale displacement to an object that i've imported. I don't want it applied to the whole object only part of it. So i've gone into the objects network and found the default shader for the part of the object that I want displaced and added a power fractal shader between the default shader and the multishader. The problem I get is that once I add the power fractal the part of the object thats controlled by that default shader just balloons up and grows instead of just displacing small parts of it. I thought maybe I should be plugging the power factal into the default shaders displacement function field but that didn't seem to do anything.

Mandrake

When you right click on the obj. and enter internal network you can go to any of the 16 available materials in your model and displace them. double click the material and go to displacement tab. you can add the displacement function (power fractal) from there.

Mandrake

I made a simple text obj with two materials. I displaced the black edge with a power fractal.
I had to make sure. ;)

reck

I can't get it to work Mandrake.

This is the object with no displacement.

http://img178.imageshack.us/img178/4766/nodisplacelm6.jpg

When I add a power fractal the object turns black like this.

http://img517.imageshack.us/img517/8089/displacell2.jpg

The settings for the power fractal were:

feature scale: 0.5
Lead in scale: 0.5
Smallest scale: 0.1

Displacement amplitute: 0.5

This is the node setup for this object.

http://img517.imageshack.us/img517/125/nodeshn1.jpg

If I turn apply high colour off it gets rid of the black but I don't get any displacement even if I put in 8 for displacement and feature scale.


old_blaggard

Ooh, you probably don't want displacement amplitude to be that high - try reducing it to 0.05 and see what happens.
http://www.terragen.org - A great Terragen resource with models, contests, galleries, and forums.

Mandrake

Does your internal network looks something like this, only with numbers for displacement.

reck

I've just tried again with these settings but it still isn't working.

feature scale: 0.05
lead-in scale: 0.05
smallest scale: 0.01

displacement amplitude: 0.05

reck

Quote from: Mandrake on April 20, 2008, 01:55:31 PM
Does your internal network looks something like this, only with numbers for displacement.


I just checked and displacement multiplier was set to 0.01, so I changed it to 0 and it's now it's stopped rendering in black. The problem is that i'm not getting any effect at on the object when I alter the values, it seems no matter what settings I use nothing is changing each time I render.

Mandrake

Your not using the displacement settings in the power fractal are you? Don't, use the ones in the mat. See above

reck

Quote from: Mandrake on April 20, 2008, 02:27:19 PM
Your not using the displacement settings in the power fractal are you? Don't, use the ones in the mat. See above

I was experiementing with both. I've now turned off the "apply displacement" option in the power fractal so i'm just using the setting in the default shader now. As soon as I enter a figure greater than 0 in displacement multiplier I get the black back.

This is with displacement set to 0.05


Mandrake

What's the scale of your obj? If it's real small, displacement is going to be problematic.  .00002

reck

I've just made it a 100 times bigger but its made no difference.

This is with displacement set to 0.0002, looks like something strange with it.

Mandrake


reck

I've uploaded the file and object.

http://www.mediafire.com/?j2jgwtrnmod

It's part of a windmill.