CGTalk > Software > Maxon Cinema 4D
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
Thread Tools Search this Thread Display Modes
Old 02-25-2013, 04:21 PM   #1
Julian Cox
Hamburg, Germany
Join Date: Mar 2012
Posts: 42
Camera Flashlights in Crowd

Hey guys

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!

Old 02-25-2013, 06:52 PM   #2
Steady now!
tcastudios's Avatar
Join Date: Jan 2003
Posts: 4,247
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
Old 02-25-2013, 07:06 PM   #3
Julian Cox
Hamburg, Germany
Join Date: Mar 2012
Posts: 42
Now that is genius! Thank you! Gonna do that the next time I have to do this !

But would there be anyway to set up a little cup of expresso for this type of thing?

Old 02-25-2013, 07:06 PM   #4
CGTalk Moderation
CGTalk Forum Leader
Join Date: Sep 2003
Posts: 1,066,478
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.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

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
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 04:03 AM.

Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.