Displacement: am I doing it wrong?

Come here for help & support.
Post Reply
5 posts • Page 1 of 1
arktoga
Posts: 1
Joined: Fri Sep 20, 2013 5:44 am

Displacement: am I doing it wrong?

Post by arktoga » Fri Sep 20, 2013 6:02 am

Hello! I'm having troubles with SketchUp + Indigo and the Displacement option..
Displacement seems to generate artifacts if i use a low subdivision value.
They only disappear if use a crazy high one (around or more than 10), which makes it impossible to render anything besides small surfaces.
I tried with several textures, files and settings, but nothing seems to work.
What am i doing wrong?
This is kinda getting me crazy, cause without displacement renders look quite flat (obviously!).

I'm uploading some tests i did to clarify the situation,
each image is a thumbnail, but also has a link to the original size:

Image
http://i.imgur.com/MSPGrvK.jpg

Image
http://i.imgur.com/eFw2gxn.jpg

Image
http://i.imgur.com/tf4aTzQ.jpg

Image
http://i.imgur.com/cc2aoYk.jpg

Image
http://i.imgur.com/vzzNKLL.jpg

Image
http://i.imgur.com/LfcvNMy.jpg

Image
http://i.imgur.com/EQ2pg93.jpg

User avatar
Zom-B
1st Place 100
Posts: 4700
Joined: Tue Jul 04, 2006 4:18 pm
Location: ´'`\_(ò_Ó)_/´'`
Contact:

Re: Displacement: am I doing it wrong?

Post by Zom-B » Fri Sep 20, 2013 9:38 am

first some insight into the values:

Gamma needs to be 1.0 for textures that don't use color information.

for Your A B and C values you can let A = 0. B is the displacement in meters. so 0.01 is 1cm.
with C you can centeer out the displacement so that a neutral gray will be no displacement, brighter get positive displaced, darker negative. C needs to be (0.5*B)*-1. A B of 0.5 would need a C of 0.25 to center the neutral gray.

Curvature Threshold ONLY gets used if you also set a Error Threshold! a Error Threshold of 0.001 works already nicely.
Also use the Pixel Threshold, so polygons don't get subdivided further that this Pixel size, BUT this value is aiming at internal Render resolution. if you have SuperSampling enabled @ 3 for example, then you need to set Pixel Threshold to 3 to have a effective Pixel Threshold of 1 in your scene!

Pixel- and curvature threshold are only used if View Dependency is enabled for subdiv!

To actually see the displacement export to indigo, set you material as diffuse and enable the "random triangle color" checkbox at the bottom of diffuse material settings.

This is great to debug your subdiv settings :)
polygonmanufaktur.de

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Re: Displacement: am I doing it wrong?

Post by CTZn » Sat Sep 21, 2013 2:39 pm

It looks like the cube geometry is merging with the plane geometry, forcing the later to bear new, unconvenient triangles. If that's true, you'd want to avoid the merging from SU.
obsolete asset

User avatar
galinette
1st Place Winner
Posts: 923
Joined: Sat Jan 09, 2010 1:39 am
Location: Nantes, France
Contact:

Re: Displacement: am I doing it wrong?

Post by galinette » Tue Sep 24, 2013 9:05 am

Wouldn't bump be enough for this kind of material? You should try it.

If you really want displacement, try combining with bump. Displacement of very grainy and detailed maps like this one needs a very detailed mesh, as you noticed. Try using a blurred version of the map for displacement, and add some bump with the original map (or even better : substract the blurred displacement map from the original detailed map in PS, and use it as bump map - in other words, you displace low frequency features and bump high frequency ones, which uses each technique where it works best).

Etienne
Eclat-Digital Research
http://www.eclat-digital.com

User avatar
CTZn
Posts: 7240
Joined: Thu Nov 16, 2006 4:34 pm
Location: Paris, France

Re: Displacement: am I doing it wrong?

Post by CTZn » Tue Sep 24, 2013 10:27 pm

galinette wrote:(or even better : substract the blurred displacement map from the original detailed map in PS, and use it as bump map - in other words, you displace low frequency features and bump high frequency ones, which uses each technique where it works best).
Excellent trick for the matter, thanks.
obsolete asset

Post Reply
5 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 45 guests