Community
Arnold for Cinema 4D Forum
Rendering with Arnold in CINEMA 4D using the C4DtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unable to render c4d gradient shader in Arnold

14 REPLIES 14
SOLVED
Reply
Message 1 of 15
pleiada
1438 Views, 14 Replies

Unable to render c4d gradient shader in Arnold

5711-screen-shot-2020-01-16-at-23003-pm.pngI can't render the c4d gradient material in Arnold. Does anyone knows the solution or knows how to recreate the similar result in Arnold?

https://drive.google.com/file/d/1wRQ4B0_beW2M1qdhTPsgx0VNxidvNwxH/view?usp=sharing

Tags (3)
Labels (3)
14 REPLIES 14
Message 2 of 15

Did you try the ramp shader?

Message 3 of 15

Yes, i did. But when I choose circular type there, it doesnt render correctly.5712-screen-shot-2020-01-16-at-25315-pm.png

Message 4 of 15

The Cinema 4D gradient is set to '3D - Cylindrical' which is not supported by the ramp shader directly. I think the closest you can get is to set the Projection in the texture tag to Cylindrical and play with the scale and offset. Or use a uv_transform and uv_projection set to cylindrical in the shader network.

Message 5 of 15

I don't see the Projection or uv_transform and uv_projection in the texture tag. Can you say, where is it exactly?

Message 6 of 15

Projection parameter in the Texture Tag:

5685-texture-tag-projection.png

uv_transform and uv_projection shaders:

5686-uv-shaders.png

Message 7 of 15

They are basically doing the same thing, so you either set the Projection in the texture tag or use the uv shaders in the network.

Message 8 of 15

thank you very much!

Message 9 of 15

Thank you! That worked!

Message 10 of 15

Hey Peter,


How can you render the turbulent gradient in c4dtoa?


Thx a lot


Best

Message 11 of 15
Anonymous
in reply to: pleiada

Is it possible to link the ramp_rgb beginning and end points to nulls the same way you can with the native C4D Gradient shader when using the "3D" type?

Message 12 of 15

There's no easy way to do it, I'm afraid. You can use a noise shader and interpolate the ramp input (e.g. U) controlled by a strength value, like this: gradient_noise.zip

However your shading network becomes quite complicated if you need a little more complex input pattern, like diagonal, radial, box, etc.

Message 13 of 15
peter.horvath6V6K3
in reply to: Anonymous

Here's an example of how to replicate the 3D gradient with the ramp shader: https://answers.arnoldrenderer.com/questions/28884/how-to-set-the-shading-mode-of-ramprgb-to-3d-line...

Then you can drag & drop a Null object to the node editor and use its position as the start or end vector. Note, that you may have to scale the value because Cinema 4D uses cm units while Arnold uses meter by default.

Message 14 of 15

Thx Peter,

I think the easiest way is to bake the texture directly from C4d, which is a bit a shame. Do you forecast to implement this gradient with C4dtoa? That could be soooo uselful.


Thx

Message 15 of 15

No concrete plans yet, but I agree, it would be cool to have this feature implemented in the ramp shader.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report