I'm creating a scene with a disco floor in it... basically a checkerboard where the squares light up in each of 6 colors randomly to the beat. I have all of the visual, timing, and other details down except one:
I can animate a step switch of the fill colors if I define each fill, but I want to use styles, because until I drop the other video elements in, I won't be completely sure that I have the colors right.
So basically, I want to define each of the six colors as a style, then step switch filling each square with one of the predefined colors... the idea being that if I later decide to redefine "purple", I can do it once, and every time any square turns purple, it will have the new color definition.
If there is another way to do this, I'm open... seems like what I want to do is step animate filling with a style.
Problem is: If I switch the style assigned to a shape, no definable animation event occurs. It switches colors, but as if it's always been that color.
animating switching of styles or need other solution
Moderators: Víctor Paredes, Belgarath, slowtiger
-
- Posts: 19
- Joined: Sat Dec 11, 2010 9:23 pm
- funksmaname
- Posts: 3174
- Joined: Tue May 29, 2007 11:31 am
- Location: New Zealand
is the problem the interpolation between colour shifts? if you are just trying to 'cut' from one colour to another, it's not a problem - you just define your 6 styles, colour the blocks, and switch them around... changing the styles will update the colours regardless of animation.
If transitioning between the colours is important, it makes your life more difficult - but, off the top of my head, what you could do is set up transitional actions that mix colour1>colour2 using colour2's transparency, overlayed on top of one (so both have a fixed style) - but unless you have a fixed cycle of colours you'll need a transition for every colour to every colour, which quickly becomes a lot of options...
tbh, especially if you're cutting to a beat, having 'cuts' will probably pop better than having slushy transitions imo... duplicate the floor in switches, colour each grid how you like it using styles, have as many layer variations as you like (not necessarily 6, you know?) and then switch between them randomly to the beat (rylanders random switch script will help you here)
hope that helps...
If transitioning between the colours is important, it makes your life more difficult - but, off the top of my head, what you could do is set up transitional actions that mix colour1>colour2 using colour2's transparency, overlayed on top of one (so both have a fixed style) - but unless you have a fixed cycle of colours you'll need a transition for every colour to every colour, which quickly becomes a lot of options...
tbh, especially if you're cutting to a beat, having 'cuts' will probably pop better than having slushy transitions imo... duplicate the floor in switches, colour each grid how you like it using styles, have as many layer variations as you like (not necessarily 6, you know?) and then switch between them randomly to the beat (rylanders random switch script will help you here)
hope that helps...
-
- Posts: 19
- Joined: Sat Dec 11, 2010 9:23 pm
Definitely hard cuts.
Step sequencing takes care of that.
The issue is that changing a fill color is something that creates a keyframe, but switching styles does not.
I can go into the fill color for any square, double click on the fill color, change it, and I get an event... which is fine... except maybe I don't end up wanting that exact color later, and this is being repeated hundreds of times.
What I want is to define "purple", and be able to globally change it later so that every single block that ever turned purple now turns the new shade of purple...
... which is what "styles" are all about.
Problem is, no matter how I've attempted to do it, I can't seem to create an event in the timeline for switching a style.
Once you're past frame zero, the paint bucket disappears. I can select a shape, but if I do so, and go into styles menu and switch up what's assigned to that shape... it does so, but does not create an event... it treats it like it's always been that style.
Same happens for "pulling" or whatever it's called... clicking on the shape and alt clicking to pull the style from one shape to another. I can do it... but no event is created.
Manual talks about fill color as being automateable... but nothing about styles.
I had to move forward and was getting nowhere, so I found it was faster for now since they are all just squares on a grid to move the squares around.... since they are step sequenced, it just looks like colors are changing on the same squares. Works for now.
Step sequencing takes care of that.
The issue is that changing a fill color is something that creates a keyframe, but switching styles does not.
I can go into the fill color for any square, double click on the fill color, change it, and I get an event... which is fine... except maybe I don't end up wanting that exact color later, and this is being repeated hundreds of times.
What I want is to define "purple", and be able to globally change it later so that every single block that ever turned purple now turns the new shade of purple...
... which is what "styles" are all about.
Problem is, no matter how I've attempted to do it, I can't seem to create an event in the timeline for switching a style.
Once you're past frame zero, the paint bucket disappears. I can select a shape, but if I do so, and go into styles menu and switch up what's assigned to that shape... it does so, but does not create an event... it treats it like it's always been that style.
Same happens for "pulling" or whatever it's called... clicking on the shape and alt clicking to pull the style from one shape to another. I can do it... but no event is created.
Manual talks about fill color as being automateable... but nothing about styles.
I had to move forward and was getting nowhere, so I found it was faster for now since they are all just squares on a grid to move the squares around.... since they are step sequenced, it just looks like colors are changing on the same squares. Works for now.
I think there is a work around.
Create an action for each color change. A one frame action with step interpolation. Then for the desired squares apply the proper action at the desired time (insert action references not action copies). If you later want to change the color of a particular action, just edit it and all the squares that have that action should change.
The problem is that you need to put each square in a different layer to make actions independently applied on each square.
-G
Create an action for each color change. A one frame action with step interpolation. Then for the desired squares apply the proper action at the desired time (insert action references not action copies). If you later want to change the color of a particular action, just edit it and all the squares that have that action should change.
The problem is that you need to put each square in a different layer to make actions independently applied on each square.
-G
-
- Posts: 19
- Joined: Sat Dec 11, 2010 9:23 pm
if I understand correctly... because the changes are random... just because this purple square is turning orange doesn't mean the next purple square is turning orange.
Anyway... I found it much quicker to define the colors via styles, fill the squares... then quickly grab each squre and move it to another square's position for the next step frame.
Anyway... I found it much quicker to define the colors via styles, fill the squares... then quickly grab each squre and move it to another square's position for the next step frame.