Page 1 of 2

Displacement and Scatter

Posted: Fri Apr 21, 2017 2:29 pm
by Kretschi
Hello,

It would be nice if the Octane Scatter took the displacement node into account.
Now it is nearly impossible to scatter something on a displaced object. (e.g. some stones or vegetation on a displaced terrain..)

Is this possible to do in the future?
Would be great.


Thanks!

Re: Displacement and Scatter

Posted: Fri Apr 21, 2017 4:09 pm
by bepeg4d
Hi Kretschi,
have you tried with a c4d displace deformer, instead of material displacement?
ciao beppe

Re: Displacement and Scatter

Posted: Fri Apr 21, 2017 4:49 pm
by Kretschi
Hi Beppe,

Yes, I know... but with a resolution of 4096x4096 I would get a mesh with nearly 17.000.000 polygons.


Cheers, Andreas.

Re: Displacement and Scatter

Posted: Fri Apr 21, 2017 7:48 pm
by aoktar
You can do it easily. Have you checked position parameter in scatter object?

Re: Displacement and Scatter

Posted: Fri Apr 21, 2017 10:08 pm
by Kretschi
I put the same texture from the displacer in the shader channel of the Scatter position....
mid level of the displacer has to be 0

this works, great!

(I only don't get the right normal direction...)


By the way is there a trick to get rid of the strange borders?


Thanks, Andreas.

Re: Displacement and Scatter

Posted: Tue Aug 29, 2017 10:19 pm
by offrench
It works... but you have to make sure the color profile is set to linear, otherwise the objects do not line up with the displaced surface correctly. Thanks for pointing me to the right direction!

As for the edge artifacts, just resize your displacement map to 1.002 and they should disappear.

I have written a short tutorial on this.

Re: Displacement and Scatter

Posted: Tue Aug 29, 2017 10:42 pm
by Kretschi
offrench wrote:It works... but you have to make sure the color profile is set to linear, otherwise the objects do not line up with the displaced surface correctly. Thanks for pointing me to the right direction!

As for the edge artifacts, just resize your displacement map to 1.002 and they should disappear.

I have written a short tutorial on this.

Thanks for the tutorial!

Re: Displacement and Scatter

Posted: Mon Dec 31, 2018 4:29 pm
by jeremyshin
I am sorry to reOpen the subject but I have an additional question to this.

I have plane (400 x 6000 cm) with a texture that has displacement on it. I have transformed my texture trough the c4d texture tag to be able to tile it and keeping the displacement to tile too.

But when I input the displacement map on the Scatter Position parameter it doesnt allow me to transform it (tile it basically) as I did in the texture tap of my plane.

Anybody had any hint about that ?

Thanks

Re: Displacement and Scatter

Posted: Mon Dec 31, 2018 4:46 pm
by aoktar
jeremyshin wrote:I am sorry to reOpen the subject but I have an additional question to this.

I have plane (400 x 6000 cm) with a texture that has displacement on it. I have transformed my texture trough the c4d texture tag to be able to tile it and keeping the displacement to tile too.

But when I input the displacement map on the Scatter Position parameter it doesnt allow me to transform it (tile it basically) as I did in the texture tap of my plane.

Anybody had any hint about that ?

Thanks
Don't put displacement but texture that's connected to displacement. And ply with translate.y parameter.

Re: Displacement and Scatter

Posted: Sat Apr 27, 2019 12:52 am
by djs01
Colour Profile isn't available in the scatter position shader to change to linear.
Version 3.07-R2 Mac (can't upgrade either as Cuda/GPUs aren't found)