question

Aaron D avatar image
Aaron D asked ·

Can't Arnold's user data node grab color from C4D user data gradient?

Recently I've been doing some simple starting rigs of Arnold scene. And I want to control Background gradient using the user data function in C4D, As is shown below:

However, the user_data_rgb node seems not grabbing color from the user data of gradients. It always outputs the default value, which is black in this case. BTW, I let the user_data_rgb node output to the color port of a flat node, if this helps the description.

Is there any way to achieve this?

Anyone's reply will be much appreciated!

c4dtoauser_data
1.png (11.3 KiB)
2.png (17.0 KiB)
3.png (17.3 KiB)
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 ·

You can define two (or multiple) colors as user data and link them to the ramp_rgb shader. I don't think the gradient type will be directly supported in the short-mid term.

Share
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.

Aaron D avatar image
Aaron D answered ·

Thanks. Any chance that the Gradient data type be supported?

Share
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.

Stephen Blair avatar image
Stephen Blair answered ·

The Gradient data type is not supported. For user data, use float, boolean, integer, string, color

1 comment Share
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.

Thanks. Any chance that the Gradient data type be supported?

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.