Mix Displacement in mix material

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

Moderators: ChrisHekman, aoktar

Post Reply
thomastraum
Licensed Customer
Posts: 19
Joined: Sun May 24, 2015 2:33 pm

Hey,

I am not sure how to mix displacement materials, here is a screen of my shader: https://www.dropbox.com/s/wih48f5cq89zt ... 1.PNG?dl=0
Really basic, just trying to mix two displacements (grass and rock) together, all with image textures. Do they need to be 32 bit?

Its been discussed here but the answer from Aoktar is unclear to me. http://render.otoy.com/forum/viewtopic. ... splacement

Many thanks for any help,
Thomas
User avatar
aoktar
Octane Plugin Developer
Posts: 16066
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

That's correct input pin for displacement. But displacement don't support anything else single image texture input. That's why doesn't works.
Solution1: Use a C4D's layer shader with some mixing of images and connect layer it to displacement
Solution2: Use just a imagetexture
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
thomastraum
Licensed Customer
Posts: 19
Joined: Sun May 24, 2015 2:33 pm

HI Aoktar,

thanks for the clarification. Is this a limitation of the plugin or also present in Octane standalone? For example when working on landscapes you might want to mix two displacement maps which are both tiled using an UV transform together with an alpha map defining where to put the grass and where the put the rocks (which is not tiled). We wanted to use Octane on this project but cant now, because we can't mix them as explained.

Thanks,
Thomas
User avatar
aoktar
Octane Plugin Developer
Posts: 16066
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

thomastraum wrote:HI Aoktar,

thanks for the clarification. Is this a limitation of the plugin or also present in Octane standalone? For example when working on landscapes you might want to mix two displacement maps which are both tiled using an UV transform together with an alpha map defining where to put the grass and where the put the rocks (which is not tiled). We wanted to use Octane on this project but cant now, because we can't mix them as explained.

Thanks,
Thomas
Displacement is very limited on Renderer. But also can be some problems with rendering of C4D layer shader. On my tests, i can see that can't be rendered well on some setups. This is a limitation on C4D sdk with my method.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
aggiechase37
Licensed Customer
Posts: 214
Joined: Tue Jan 13, 2015 6:39 am

Got the solution.

Bodypaint to define where you want which texture to go. From bodypaint, file and save as texture to psd. From here go into Photoshop. You'll use the original psd as the mix amount, and make a separate version of the psd. Here you will use the black and white map to make a mask, where the white is replaced by your displacement image, and the black corresponds a black mask. Take this new image and use it as the texture in the displacement node, that plugs into the displacement slot on the mix material node.
Chase

Win 10 - Intel 4770 - 2x Nvidia 1070 - 32 gigs RAM - C4D r16

http://www.luxemediaproductions.com
jackief
Licensed Customer
Posts: 10
Joined: Wed Mar 19, 2014 3:18 am

Hello, I am having this same problem now 4 years later. I notice that using C4D layer shader does not work on final output but does work in live viewer. That being said is my only option for displacement an image texture still? Thanks! Love the plugin.
User avatar
aoktar
Octane Plugin Developer
Posts: 16066
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

You can use baking Texture node for old versions. With 2019.1 you don't need extra tricks. Displacement will accept any nodes.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
jackief
Licensed Customer
Posts: 10
Joined: Wed Mar 19, 2014 3:18 am

aoktar wrote:You can use baking Texture node for old versions. With 2019.1 you don't need extra tricks. Displacement will accept any nodes.
Aoktar, Thanks for the reply! The amount of involvement you have in the forums is amazing, that is real dedication.

I found a solution for that works for versions older than 2019. You can use the mix texture node, then plug it into a baking texture node, then plug that into the displacement and it will work. (credit for this fix goes to Lester Banks)

Hope this can help someone in the future.
Post Reply

Return to “Maxon Cinema 4D”