SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 17-04-2008, 05:44 AM   #1
JosiahBrooks
Subscriber
 
JosiahBrooks's Avatar
 
Join Date: Dec 2006
Location: australia
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
Default flickering light

ok basically i want to immitate a flickering light for a fire

i have the fire all done and crap, i wanna make the shadows flicker, so i set up a point light with linear decay rate...

basically i want to know how to animate a flickering motion that will endlessly repeat on the point light, and i want to be able to copy it other places in the maya file


help would rock my world, thanks guys
JosiahBrooks is offline   Reply With Quote
Old 17-04-2008, 08:09 AM   #2
ragecgi
Super Moderator
 
ragecgi's Avatar
 
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
Thanks: 0
Thanked 13 Times in 12 Posts
Default

Add a "rand" expression to the intensity value of your light:

Example 1:

rand(5)

This returns a random floating point number between 0 and 5, for example, 3.539.


Example 2:

rand(-1,1)

Returns a random floating point number between -1 and 1, for example, 0.452.

Example 2 would be better for your situation, as you can define a MIN and MAX intensity value for your light

So if you don't want it to go below an intensity value of 1, but also go NO higher than say, 4, you would use this rand expression:

rand(1,4)


Also, a messier and slightly less controllable way to add a random value to something is to map a ramp to an attribute, kill all ramp colors except for one, then map a fractal texture to that color.

But personally I would use example 2 from above

Good luck!
__________________
Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
ragecgi is offline   Reply With Quote
New Thread

« Previous Thread | Next Thread »

Thread Tools

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
glass se7enhedd Lighting & Rendering 18 10-12-2010 01:27 AM
Open Challenge -Jerry Can Texturing honestdom Battle Arena 77 03-12-2010 12:20 PM

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.