Mix Displacment with Falloff node

Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderators: ChrisHekman, aoktar

Post Reply
decade
Licensed Customer
Posts: 34
Joined: Fri Dec 02, 2011 2:38 am

Hi there, my goal is to have snow and rocks, mixed by the Falloff node so that the snow applies to the flat surfaces & the rock to the steep surfaces.
The problem I have is with the displacment: I can find no way to have this work correctly for displacment.

I did some research & I understand that the Displacment node will accept only a pure Texture.
So I used a pure black PNG where I wanted no displacment & then ran my mix node through a Baking Texture node.
But unfortunately, it seems the Baking Texture node cannot bake the effect of the Falloff node - when I tried a Checker node for the 'Amount' value, it works properly via the Baking node.

Below I have illustrated my problem. I am connecting to displacment, just so it is easy to visualise but my real aim is to connect to the Displacment node, so I need the correct result out of the Baking node.
Displacment Mix.jpg
User avatar
aoktar
Octane Plugin Developer
Posts: 16063
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

When you use somethings with baking, It will sample shaders in uv-space. But falloff is normal based, not uv-mapping. So It's like rendering it over a 2d-plane without considaring the face normals.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
decade
Licensed Customer
Posts: 34
Joined: Fri Dec 02, 2011 2:38 am

So there is no way at all to have displacment masked by slope ?
Do you know any workarounds ?
User avatar
aoktar
Octane Plugin Developer
Posts: 16063
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

decade wrote:So there is no way at all to have displacment masked by slope ?
Do you know any workarounds ?
I gave you the logic. You can render the mask from top view as a bitmap and apply.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
decade
Licensed Customer
Posts: 34
Joined: Fri Dec 02, 2011 2:38 am

OK, it's not great for my workflow but I know this is an Octane limitation not a plugin limitation.
Thanks for your help.
User avatar
aoktar
Octane Plugin Developer
Posts: 16063
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

decade wrote:OK, it's not great for my workflow but I know this is an Octane limitation not a plugin limitation.
Thanks for your help.
It's not a limitation, it's the logic of baking systems.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
decade
Licensed Customer
Posts: 34
Joined: Fri Dec 02, 2011 2:38 am

I mean the limitation of displacment only accepting pure texture & not having any nodes to handle slope masking for displacment.
We are waiting on a proper displacment mix node.
TonyBoy
Licensed Customer
Posts: 238
Joined: Thu Dec 13, 2012 4:47 pm

I have never dealt with your problem, but it occurs to me that a height map or AO map may be used to create vertice maps for masking, one for rock and one for snow.
Post Reply

Return to “Maxon Cinema 4D”