Jump to content

Automatically Change parameters on lights while being inside of a Subnet


LaszloFX

Recommended Posts

Hi guys,

I was wondering if it is there any way to change certain object's parameters depending on whether I'm inside of a subnet or not.

Basically my problem is that I have a rendering subnet hda, which allows me to only render stuff that is inside, or referenced inside my subnet.
But the issue is that if I have multiple subnets in my network with multiple lights in them, every light is visible in the viewport, making it hard to work with lights, since everything is visible and added together making the entire screen look blown out.

I know I can disable the "Enable in Viewport" checkbox on my lights manually, but it would be awesome if it would be possible to only enable that checkbox on my lights when I'm actually inside my subnet and disable them when I go out from it automatically.

In case anyone has any ideas on how to achieve this, I would appreciate if someone could nudge me in the right direction.

Thanks in advance for any help!

Best,
Laszlo

Edited by LaszloFX
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...