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 16-02-2006 , 02:31 PM
Subscriber
Join Date: Feb 2006
Posts: 12

Light Flicker

Hi, Can anyone suggest ways of creating a flickering light effect? Im trying to create a small camping light but i guess an effect of a candle flicker would work. How would i go about this?

Thanks for any help

Steve

# 2 19-02-2006 , 03:26 PM
MattTheMan's Avatar
Registered User
Join Date: Apr 2005
Location: Fairfield, CT
Posts: 2,436
this one is really tricky to get through maya's UI. I suggest asking this to someone who can work a bit of MEL magic, I dont know MEL so I can't really help.

sorry
Matt user added image


Live the life you love, love the life you live
# 3 20-02-2006 , 04:11 PM
Alan's Avatar
Moderator
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
you should write an expression to control the intensity of the light. Setting it to a random number every few frames should do the job.

user added image
A


Technical Director - Framestore

Currently working on: Your Highness

IMDB
# 4 20-02-2006 , 05:38 PM
Subscriber
Join Date: Feb 2006
Posts: 12
oh right good idea thanks!

So something like... LightShape1.intensity = rand(0.5,1.5); ??

what kind of light do you think would be best? i was thinking a point light, but it seems to create quite a harsh light and the ambient light lights up a bit too much of the area....

I would be greatful for any sugestions!

Thanks for your help!

Steve

# 5 20-02-2006 , 05:54 PM
Alan's Avatar
Moderator
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
you should never really use ambient lights for lighting as they flatten out the scene by not casting shadows etc and thus applying even light everywhere (they suck user added image) put decay on your point light and it wont be so harsh. remember to compensate for the decay in the intensity value by pushing it up e.g. 5.

user added image
A


Technical Director - Framestore

Currently working on: Your Highness

IMDB
# 6 20-02-2006 , 06:01 PM
Subscriber
Join Date: Feb 2006
Posts: 12
awesome thanks, just rendered out a short clip and works a treat!

thanks for your quick responses!

I know where to come for all my other niggling problems! user added image

thanks for your help

steve

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