Page 1 of 2
Map for Mix Material crash on Mix Node for Displacement
Posted: Tue May 04, 2021 1:38 pm
by hazenkind
Hy Aoktar,
i have a Mix Material and a composited Mask to mix it. If i use this Mask for a Mix Node to mix the the displacements as well, Octane crashed.
WIN10, GPU 2 x 2080ti, 32GB RAM, Driver 461.72, Plugin C4D 2020.2.3-R3
If you wanna try it just connect the nodes like the Screenshot (only one

) already tried to bake it.
Its strange to me cause it work with the mix material but not for the mix node.
Thank you
Re: Map for Mix Material crash on Mix Node for Displacement
Posted: Wed May 05, 2021 8:09 am
by bepeg4d
Hi,
have you tried with Vertex Displacement without Baking texture, instead of Texture Displacement + Baking texture?
https://docs.otoy.com/cinema4d/OSLVerte ... ement.html
For complex Displacement effects, it is far more stable and productive.
It can be used with both procedural, and texture image types, it does not have any projection limitation, so you can use the Border Mode to remove the Tiling effect, for example, it does not depends from image resolution and depth, but only in the number of subdivisions, and you can mix together any type of nodes and plug in it directly without need to use the Baking Texture node. Finally, it works correctly with Motion Blur, and it accelerated by RTX!
Happy GPU rendering,
ciao Beppe
Re: Map for Mix Material crash on Mix Node for Displacement
Posted: Wed May 05, 2021 9:04 am
by hazenkind
Hy Bepe,
yes it is set to Vertex Displacement.
The composited Mask works for the Mix Material but not for Mix Material Node. If i connect it to the Mix Material node octane crash.
Check the file.
Crash Log is in zip.
Re: Map for Mix Material crash on Mix Node for Displacement
Posted: Wed May 05, 2021 2:03 pm
by aoktar
It's reproductable, but couldn't find yet the reason. Most likely about previews, also prefer to use composite material anymore. Mix materials are not safe as this.
Re: Map for Mix Material crash on Mix Node for Displacement
Posted: Wed May 05, 2021 2:49 pm
by hazenkind
Hy Aoktar,
recently i started using composite Material. in this case its the same. Crash
OFFTOPIC: Maybe its a good idea to add something like "legacy" to things that are old and should not used anymore. I think you let stuff like default diffuse material for backwards compatibility?
Re: Map for Mix Material crash on Mix Node for Displacement
Posted: Wed May 05, 2021 4:24 pm
by aoktar
hazenkind wrote:Hy Aoktar,
recently i started using composite Material. in this case its the same. Crash
OFFTOPIC: Maybe its a good idea to add something like "legacy" to things that are old and should not used anymore. I think you let stuff like default diffuse material for backwards compatibility?
I know it's not a mix material issue right now.
Also I can't make it legacy without the same described as legacy in Standalone side. Just I'm warning about problems and better ways.
Re: Map for Mix Material crash on Mix Node for Displacement
Posted: Thu May 06, 2021 8:02 am
by bepeg4d
hazenkind wrote:Hy Bepe,
yes it is set to Vertex Displacement.
Then the Baking texture node is useless, and adds complexity for nothing, in my opinion
ciao Beppe
Re: Map for Mix Material crash on Mix Node for Displacement
Posted: Thu May 06, 2021 8:33 am
by hazenkind
bepeg4d wrote:hazenkind wrote:Hy Bepe,
yes it is set to Vertex Displacement.
Then the Baking texture node is useless, and adds complexity for nothing, in my opinion
ciao Beppe
Yes youre right. i baked it just for testing the issue. See next post

Re: Map for Mix Material crash on Mix Node for Displacement
Posted: Thu May 06, 2021 8:44 am
by hazenkind
aoktar wrote:hazenkind wrote:Hy Aoktar,
recently i started using composite Material. in this case its the same. Crash
OFFTOPIC: Maybe its a good idea to add something like "legacy" to things that are old and should not used anymore. I think you let stuff like default diffuse material for backwards compatibility?
I know it's not a mix material issue right now.
Also I can't make it legacy without the same described as legacy in Standalone side. Just I'm warning about problems and better ways.
Yepp ok, thank you.
I use the Plugin terraform4d
https://www.terraform4d.com/ this Plugin has a operator shader wich is very usefull for blending textures and also displacement. unfortunately i have some issues if i use it (thats why i tried to use manual created masks)
here you can see a test setup. do you see the issue? the displacement is mixed with the shader of terraform4d (round lines in mountain). Some guys told me the issue could be that the operator shader is not baked in 32bit? could that be possible?
regards christian
Re: Map for Mix Material crash on Mix Node for Displacement
Posted: Thu May 06, 2021 8:52 am
by aoktar
hazenkind wrote:
here you can see a test setup. do you see the issue? the displacement is mixed with the shader of terraform4d (round lines in mountain). Some guys told me the issue could be that the operator shader is not baked in 32bit? could that be possible?
regards christian
Talking about grebble effect? 16/32 bit with gamma=1 is a must but this is having like an extra problem.