question

Nataliya Tsygankova avatar image
Nataliya Tsygankova asked ·

Unable to render c4d gradient shader in Arnold

I 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

arnoldc4dtoashader
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Peter Horvath avatar image
Peter Horvath answered ·

Did you try the ramp shader?

11 comments
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

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.

1 Like 1 ·

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

0 Likes 0 ·

Projection parameter in the Texture Tag:

uv_transform and uv_projection shaders:

1 Like 1 ·

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.

1 Like 1 ·

thank you very much!

0 Likes 0 ·

Thank you! That worked!

0 Likes 0 ·

Yes, i did. But when I choose circular type there, it doesnt render correctly.

0 Likes 0 ·

Hey Peter,


How can you render the turbulent gradient in c4dtoa?


Thx a lot


Best

0 Likes 0 ·

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.

0 Likes 0 ·
gradient-noise.zip (102.6 KiB)

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

0 Likes 0 ·
Show more comments
Grant Tompkins avatar image
Grant Tompkins answered ·

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?

1 comment
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

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-linea.html

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.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Welcome to the Arnold Answers community.

This is the place for Arnold renderer users everywhere to ask and answer rendering questions, and share knowledge about using Arnold, Arnold plugins, workflows and developing tools with Arnold.

If you are a new user to Arnold Answers, please first check out our FAQ and User Guide for more information.

When posting questions, please be sure to select the appropriate Space for your Arnold plugin and include the plugin version you are using.

Please include images, scene and log files whenever possible as this helps the community answer your questions.

Instructions for generating full verbosity log files are available for MtoA, MaxtoA, C4DtoA, HtoA, KtoA, and Kick.

If you are looking for Arnold Documentation and Support please visit the Arnold Support site.

To try Arnold please visit the Arnold Trial page.

Bottom No panel present for this section.