Maya Training

Creating characters In Maya and Zbrush

Maya Training

Creating character renders in Maya 2017 and Arnold

Maya Training

Spach-Alspaugh House the complete courseware
You are here > Home > SimplyMaya Community Forums

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 17-04-2008, 06:44 AM   #1
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, 09:09 AM   #2
Super Moderator
ragecgi's Avatar
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
Thanks: 0
Thanked 13 Times in 12 Posts

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

Example 1:


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

Example 2:


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:


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
ragecgi is offline   Reply With Quote

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

Thread Tools

A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2017 SimplyMaya - vBulletin® Copyright © 2000-2017, Jelsoft Enterprises Ltd.