question

Bruno Rantin avatar image
Bruno Rantin asked ·

User Data on lights

Hi there and thanks for your time!

Is it possible to use user data on lights? I know that you can on mesh lights, but I would need for an area light in my case. Cant get it to work, seems to work only on geometry. Thanks again!

mtoalightuser_data
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 ·

For an area light, only the color is linkable (eg can have a shader linked to it)

What are you trying to do?

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.

Yeah, it does not work, it works in the scene itself, but once exported to a standin, it wont work, just meshes or mesh light.

0 Likes 0 · ·
Bruno Rantin avatar image
Bruno Rantin answered ·

Hi, thanks for the Idea! unfortunatelly no, and would bem more efficient to use mesh light as It Works, but I need the spread attribute of the area light.

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.

Girijashankar Senapati avatar image
Girijashankar Senapati answered ·

Is it okay if you just use the aiUtility white flat color and arnold indirect Rays on for indirect lighting illumination !!!!

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.

Bruno Rantin avatar image
Bruno Rantin answered ·

Hi there! Thanks for your time!

I've tried to do that with the file texture and an aimultiply node, but not a shader, will try that!

This is what I am trying to do:

We will have hundreds of those spots, the slider will control both the material's emission and the light intensity, the sliders will be controlled both manually and through scripts. I could do it with operators and make a script that duplicates the standin while rewriting the operators but I was trying to avoid that.

Thanks again!


spots.jpg (398.3 KiB)
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.

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.