Expression for Lighting falloffs ?

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
  04 April 2005
Expression for Lighting falloffs ?

Hey all....I've got a little prob. and a looming delivery on a shot......and I need a little expression help ...

I've got a lighting kit on an object with falloffs for each light ...12 in total...I've got it tweeked just perfect but it was just brought to my attention that this particular object will need to be scaled on a per shot basis....

anyways could someone help me with a method or expression so my lighting rig falloffs will scale with the object....I have a feeling it will be an expression , but I have no experience writing them.

I hope I'm not being to vauge here, any help will be greatly apprecitated ...Thanks in advance !
__________________
you call THAT a voxel ??
 
  04 April 2005
connect the falloff range on all your lights to the "scale source" using Channel Follower.

"scale source" means whatever is the root object of the hierarchy, which you are using to scale the entire assembly up or down.

(this assumes that you are scaling all axes equally).

This is done by opening the Graph Editor ("E" button for falloff range), select the "modifiers" tab, and then add the "Channel Follower" modifier. double-click it and then find the source channel. Done.
__________________
Court Jester
Now playing at EdenFX
 
  04 April 2005
Awesome mate...works great for this situation...thanks alot !


Cheers~

Jeremy
__________________
you call THAT a voxel ??
 
  04 April 2005
As helpful as Follower is, it's good to know how to make expressions.
This tutorial seems nice.
__________________
Carm3D.net

"All war is deception." - Sun Tzu
 
  04 April 2005
Yes certianly one thing on my TO DO list.....but then again...there are many things on that list....



thanks for the link ...
__________________
you call THAT a voxel ??
 
  04 April 2005
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 05:49 AM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.