Maya for 3D Printing - Rapid Prototyping
In this course we're going to look at something a little different, creating technically accurate 3D printed parts.
# 1 23-01-2012 , 10:25 PM
Subscriber
Join Date: Oct 2011
Posts: 139

Changing Light Decay?

How can I adjust the decay of a light in Maya? I have a point light (a lantern) and want it to emit light that gets weaker with the distance. I can choose preset Decay Rates in the attribute editor, but they're all too weak.. how can I make a custom decay rate? Thanks

# 2 23-01-2012 , 11:13 PM
honestdom's Avatar
The Nurb Herd
Join Date: Oct 2007
Location: London
Posts: 2,381
increase the intensity

# 3 23-01-2012 , 11:27 PM
THX1138's Avatar
19 year Veteran
Join Date: Sep 2002
Location: U.S.A.
Posts: 2,140
Yeah, just increase intensity. But be aware of the decay setting you choose. I usually don't go past Quadratic. Cubic really taxes my processor.

# 4 23-01-2012 , 11:32 PM
Subscriber
Join Date: Oct 2011
Posts: 139
That doesn't really give me the effect I'm looking for...

See here:
1)
user added image
This is more or less what i want.. see the light on the porch.. The problem is that there is no decay here.. so the light hits the ground which I don't want to.. I want it to gradually disappear


2)
user added image
Here is Quadratic Decay, light intensity 1... it sucks.. very weak light

3)
user added image
Here is Quad D, light int. 10.. still sucks.. the light it way to strong at its origin and it dies off way to fast, doesn't even illuminate the porch

I read somewhere that you can adjust decay (or light drop off) for spot light using graph editor and then change that light to point light and the decay settings will stay.. but no instructions on how to do it.


Last edited by nov2011; 23-01-2012 at 11:39 PM.
# 5 24-01-2012 , 12:31 AM
honestdom's Avatar
The Nurb Herd
Join Date: Oct 2007
Location: London
Posts: 2,381
Well they look alright to me, but you can try a rampLight if you are not happy with the fall off. user added image

# 6 24-01-2012 , 12:33 AM
THX1138's Avatar
19 year Veteran
Join Date: Sep 2002
Location: U.S.A.
Posts: 2,140
What your trying to do really can't be done with maya lights alone. You need to use Global Illumination. GI will enable your light photons to bounce and spread across your scene the way real light does.

# 7 24-01-2012 , 02:10 AM
Gen's Avatar
Super Moderator
Join Date: Dec 2006
Location: South FL
Posts: 3,522
Ahh yes, getting more natural looking lights in Maya. Assuming you're using MR, you might as well bite the bullet and start looking into linear lighting. Quadratic decay comes closest to real world. The problem with decaying lights is that you risk having the area near the light become overexposed by the time you cranked up the intensity enough to light your scene. This is where tonemapping comes in, so you can clamp the overly bright spots into a range that doesn't make your eyes bleed.


- Genny
__________________
::|| My CG Blog ||::
::|| My Maya FAQ ||::
# 8 24-01-2012 , 04:16 AM
bullet1968's Avatar
Lifetime Member
Join Date: Feb 2010
Location: Australia
Posts: 4,255
eh? bite me? Gen!!!


bullet1968

"A Darkness at Sethanon", a book I aspire to model some of the charcters and scenes
# 9 24-01-2012 , 05:04 AM
Gen's Avatar
Super Moderator
Join Date: Dec 2006
Location: South FL
Posts: 3,522

eh? bite me? Gen!!!


Yes! Take a big juicy bite! *nom*nom*nom*


- Genny
__________________
::|| My CG Blog ||::
::|| My Maya FAQ ||::
# 10 24-01-2012 , 03:53 PM
Subscriber
Join Date: Oct 2011
Posts: 139
Thanks for the tips guys, looks like i'll need some time with this one.. and I thought there would be a default light to do this, after all it's one of the most common light sources (bulb, candle).

# 11 24-01-2012 , 10:35 PM
EduSciVis-er
Join Date: Dec 2005
Location: Toronto
Posts: 3,374
There's no single light in Maya (or any software) that will create a physically perfect lighting effect. Just like you need several texture maps (color, specular, bump etc.) to create a convincing surface.

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads