Jump to content

reactor to control lights


demachina
 Share

Recommended Posts

I need to animate > 1000 lights turning on over a period of time. Each light going from 0 to 1 multiplier individually in a random order.

 

Dont know much about scripting but thought maybe i can make this happen with reactor and a cone shaped object. Is this even possible?

 

dc

Link to comment
Share on other sites

that will take about a 1000 frames so you take all the lights down to zero turn on the autokey then move the time slider up until everyone is on then turn the auto key off once you have that done you may need to use the CV editor or dope sheet to correct if and when necessary.

 

Tony

Link to comment
Share on other sites

This definitely sounds like it requires some scripting. It also seems somewhat simple, but i have very very little experience with maxscript.

 

I'm not sure where did the 1000 frames come from. Thats something like 30-40 seconds of animation, and i doubt that you want any lights to take that long to turn on. Doing any of this manually is just wrong, as it will be very hard to adjust anything if it seems wrong. I think there is a really good maxscript forum out there but the name escapes me now.

Link to comment
Share on other sites

There is no such thing as cheat in 3d software, and making a script would cost a lot of money. Anyway you can do it does not mean it's cheating. You can do it one-way and a person can tell you to do it another it does not matter which way you do it if they both come out the same who really cares why would it be cheating.

Link to comment
Share on other sites

I'm sorry. English is not my first language and i probably did not understand your post very well. I'm generally having trouble when reading them.

 

Writing scripts doesnt really cost that much money, i'm sure that in this case it's almost a one liner, something having to do with a random point in time, followed by a linear increase in the multiplier number over a set number of frames.

Link to comment
Share on other sites

If it is just a one line code then write it for him. when i phone up autodesk in the UK they told me cos my max kept on crashing before the service pack came out it could cost anywhere from £200 up-to £1000 and that is expensive for some people!

 

Jack

all it is it trail and error with 3ds programs you wont get it the first time all you have to do is try and try again!

Edited by datacrasher
Link to comment
Share on other sites

hey jack

i understand u r need first tell me which rendering sys u r using mr/vr/mw or any other else

 

i recomend u to use maxwell it is good when it comes to lights, so many lights, u can render an image and later u can play with all lights and their intensities without rerendering it again and again.

all u need to do is set up all lights, enable multilight, and wallah just render the image and then play with all lights u want, at will link http://think.maxwellrender.com u can request a demo of maxwellrender at nextlimit.com its so intuitive and complex

Edited by NeWAcEiN
Link to comment
Share on other sites

total lols.

 

After reading the utter nonsense (no lols) of Liberty City and NeWAcEiN it has cemented in my mind that arch vis is dead and this forum is on its last legs as its user base struggles with the most basic things.

 

Best luck in life guys you will need it etc.

Link to comment
Share on other sites

total lols.

 

After reading the utter nonsense (no lols) of Liberty City and NeWAcEiN it has cemented in my mind that arch vis is dead and this forum is on its last legs as its user base struggles with the most basic things.

 

Best luck in life guys you will need it etc.

this is what u think( LOL's) instead of throwing stones on others do it u r self first. i might not b best at this moment but it was just help, so u cant call it nonsense. i haven't asked u or forced too use my method i was just informing u anyways......

i forgive u

Link to comment
Share on other sites

total lols.

 

After reading the utter nonsense (no lols) of Liberty City and NeWAcEiN it has cemented in my mind that arch vis is dead and this forum is on its last legs as its user base struggles with the most basic things.

 

Best luck in life guys you will need it etc.

this is what u think( LOL's) instead of throwing stones on others do it u r self first. i might not b best at this moment but it was just help, so u cant call it nonsense. i haven't asked u or forced too use my method i was just informing u anyways......

i forgive u

Link to comment
Share on other sites

If you have a better idea Mr Hamilton then help, and my post was not nonsense: let me guess you have not read how to cheat in 3ds max or you would not make so dispensing remarks on other peoples help when they try and help a person out. maybe you would not do it that way but i would and i have done it many times, i even help the autodesk community and renderosity and this site and i would always get a thanks.

 

and for my career i have worked for the biggest games companies out there today!

Link to comment
Share on other sites

this is what u think( LOL's) instead of throwing stones on others do it u r self first. i might not b best at this moment but it was just help, so u cant call it nonsense. i haven't asked u or forced too use my method i was just informing u anyways......

i forgive u

 

 

don't try to help by throwing out just random blurbs with 3d terminology, odds that the combination of words that you choose can be useful are very slight indeed.

Link to comment
Share on other sites

I don't have a lot of script experience so this mayn't be best, but it seems to work. You may need to change "intensity" to multiplier or something else for the kind of light you are using. that should be straightforward.

 

Turn on light selection filter. Ctrl-A to select all. It's OK if it gets targets too. Then run the script. If you don't like the frames I chose, that's OK, the code should be easy enough to understand, you can change it. This doesn't clear keys before running, so you don't want to run it twice. Save your scene before running this.

 

animate on (

for i in $ do

(

if classOf i != Targetobject then

(

at time 0 i.intensity=0

at time (random 1 10) i.intensity=0

at time (random 20 40) i.intensity=150

)

)

)

Link to comment
Share on other sites

don't try to help by throwing out just random blurbs with 3d terminology, odds that the combination of words that you choose can be useful are very slight indeed.

 

i was just telling him, he can choose Maxwell render sys. how can u call it blurbs? i was sharing info i had whit all u guys

instead of appreciating it, such reply's hurt too much friend!!! whatever u said it means one should give perfect solution otherwise should not post n e thing, and that is not fair buddy. my post was not the 3d terminology it's a way he/she can approach if he/she wants too that's all . i didn't know ppl hear r so narrow minded that they can't take a guide line as an option/s

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...