Two different materials controlled by the same node

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

Moderators: ChrisHekman, aoktar

Post Reply
Ibycus
Licensed Customer
Posts: 84
Joined: Wed Jul 08, 2015 9:52 pm

Quick question, is it possible to setup a metallic material and a diffused material such that they are both controlled by the same color node? I'd like to setup some materials where the same color node is controlling the diffuse color and the specular of different materials to change them at the same time.

I found one way to make this work using a mix material but I want to set this up for a lot of materials and the mix material just makes it more messy.

Thanks!
niestudio
Licensed Customer
Posts: 265
Joined: Fri Aug 21, 2015 10:03 pm

-redacted
Last edited by niestudio on Thu Aug 30, 2018 7:28 pm, edited 1 time in total.
OSX 10.12.4 | Intel 12 core @ 3.33 ghz | 128 gb ram | NVIDIA GeForce GTX 1080TI | Ubuntu Linux slave with 3x 1080ti
Ibycus
Licensed Customer
Posts: 84
Joined: Wed Jul 08, 2015 9:52 pm

Ah, yes that does seem to work.

Only issues I am having now is that when I move the color slider (C4D color not rgb octane color) both materials update after the first move but then if you move it again the second material stops updating. Does the same happen with you?
niestudio
Licensed Customer
Posts: 265
Joined: Fri Aug 21, 2015 10:03 pm

can you post scene or at least a screenshot of node editor?
OSX 10.12.4 | Intel 12 core @ 3.33 ghz | 128 gb ram | NVIDIA GeForce GTX 1080TI | Ubuntu Linux slave with 3x 1080ti
User avatar
aoktar
Octane Plugin Developer
Posts: 16066
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

It's not absolutely adviced usage. One material will not get updates due not owning the sharing node. Try to use a xpresso or scripted for sharing control.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
frankmci
Licensed Customer
Posts: 917
Joined: Fri May 26, 2017 2:00 pm
Location: Washington DC

Ibycus wrote:Ah, yes that does seem to work.

Only issues I am having now is that when I move the color slider (C4D color not rgb octane color) both materials update after the first move but then if you move it again the second material stops updating. Does the same happen with you?
Ahmet and I and went back and forth about this a few months ago. In short, the underlying architecture of C4D doesn't directly support sharing nodes between materials. You can still do it, but because of that architecture, you won't see the changes propagate to the other materials without resending the scene to the video card.

There's more information about it in this thread:

viewtopic.php?f=30&t=65299
Animation Technical Director - Washington DC
niestudio
Licensed Customer
Posts: 265
Joined: Fri Aug 21, 2015 10:03 pm

aoktar wrote:It's not absolutely adviced usage. One material will not get updates due not owning the sharing node. Try to use a xpresso or scripted for sharing control.
Apologies, I use the technique I described, BUT I use 1 RGBSpectrum piped into two materials that are in a mix. Perhaps I wasn't making changes to it often enough to see the refresh anomalies.
I removed the misleading info.
OSX 10.12.4 | Intel 12 core @ 3.33 ghz | 128 gb ram | NVIDIA GeForce GTX 1080TI | Ubuntu Linux slave with 3x 1080ti
Post Reply

Return to “Maxon Cinema 4D”