|02-25-2013, 04:21 PM||#1|
Join Date: Mar 2012
Camera Flashlights in Crowd
For an archi viz project, I currently have to set up a "live" catwalk show with camera flashes all over the place.
For this i thought an xpresso setup would be easiest, turning the lights on and off. I want them to flash for 3 frames each.
Now at first I thought I might just simply connect a random node with the lights enable to turn them on and off... But then I realised this does not ensure the lights to be on for 3 frames and then go off and then randomly go on again, but could with enough bad luck keep one light on for the entire time for example.
So lacking more time to experiment I simply created a Setup like this:
Time (Frame) --> Math: Modulo by 25 --> Compare (< 3) --> Light(Enable)
Like this I switch on the Light for 3 seconds and turn it off for 22. So far it's a yay... BUT
Now I have like 30 flash lights that should not all go off at the same time but offset.
Ok so we just add a Math:Add between Time(Frame) and Math Modulo and change it a bit.
Ok Now we got 2 different... then I played around with the modulo number making some go quicker some go faster... But this is a hell of lot of click-ity-clackin' 'n tappin'...
So my question:
How can I make a setup as I planned at the beginning? Laid out in text, it would be something like:
Generate Number between 1 and 0
If 1 --> enable light
If 1 --> make 0 after 3 frames
Thank you for your help!
|02-25-2013, 06:52 PM||#2|
Join Date: Jan 2003
For that kind of effect (crowds in arenas typically)
I simply use TP emitting lights with no speed
and , in your case, particle life of 3 frames.
Simple and fast.
MSA | OSX | xfiles ...Cinema4D Tools
|02-25-2013, 07:06 PM||#4|
Lord of the posts
Join Date: Sep 2003
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.
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
|Thread Closed share thread|
|Thread Tools||Search this Thread|