Hi,
I'm trying to apply an effect along a pixel string along the roof-line of my house. I want to change the color starting from one end and going all the way to the other. The Wipe effect seems to be what I want except for one unexpected side effect. The wipe effect appears to use the location data when applying the effect. My roof line isn't straight - it has some 90 degree turns that look like a zig-zag pattern in the preview - see the first snip image I've included, which shows the shape of the string in the preview (white). When the wipe effect starts at the left and moves to the right, it follows the lower line of the string fine until it gets even with the left most point of the zig-zag. After that the wipe follows both the lower line and the two upper lines from the point of the zig-zag. See the second snip image showing the effect (green).
I'd like the wipe to go from one end of the string to the other, pixel by pixel. I don't see a setting in Wipe to ask it to ignore the X,Y location of the pixels and just follow the string. If I change my camera view in the preview, I move the zig-zag from one corner to another, and the problem moves with it.
I tried going without location data at all, but then the wipe becomes the same as a pulse - all pixels change at the same time, end-to-end.
I tried some other effects like chase, but they don't seem to quite fit the bill. Chase, for example, wants to turn pixels back off eventually.
Any suggestions?
Thanks,
Bob
I seem to have found a solution, but I'm concerned about possible side effects.
The solution I've come up with was to copy all my roof-line pixels into a new group named RoofLineStraight. Then, in Preview, I added RoofLineStraight as a Basic Light String across the bottom of the preview background image (below any other elements). By adding RoofLineStraight to preview after the original RoofLine, and having Update Location Properties enabled, I got a new set of location data applied to the pixels that didn't have any zig-zag. Then I moved my wipe effect to RoofLineStraight in my sequence, and now the wipe goes end-to-end as I'd like. It appears in the preview on both the original roof line and the new straight roof line (which is out of way at the bottom of the preview)
Two possible issues with this: 1) If I touch my original RoofLine in the preview, the zig-zag location be might be reapplied and I'll have to go back and touch RoofLineStraight in preview to get the effect working again.
2) If I try to use an effect where true location data for the roof-line pixels is important, then I'll be stuck - I don't think I can have it both ways.
If there's a better solution, please tell. 🙂
Bob
The proper solution is drawing your preview on a true 2D image with no perspective or parallax. That's what's messing things up here. Is there a reason you're using a photo shot from an angle like this?
The wipe effect needs location properties. That's how it works. These properties are usually set when you save the preview. This can be overridden though. You can uncheck the option in the menu of the preview setup so that it doesn't update the location properties. Then you can go into display setup and manually adjust the location properties for these elements. Yes this is a lot of work and you will have a hard time finding settings that actually work well.
The workaround you found will only work for horizontal wipes. If you tried to do a vertical wipe you would find that this string wouldn't light up at the right part of the wipe.
I initially didn't know how the location would update with two instances drawn for the same element. But it appears you found the answer, the last one drawn wins. Copies of elements aren't seperate elements. They are the same element so there would only be one property that applies to both.
I would think you could construct a chase that does what you want. You would need to set the overlap to a big number and then overlay a pulse or set level effect to fill the part where the chase pulse wants to turn back off.
--Jon Chuchla--
Sent from my iPhone using Tapatalk
The reason the photo was shot this way is that it gave the best view of the whole front of the house for preview purposes. To avoid the angle effect (zig-zag) requires moving left, but there is a mirror corner on the right that would promptly be in the same angle of view problem. If the camera was dead center in front of the house both corners would have the angle of view problem.
My problem with using a chase is that I'd like a long effect - about 4 seconds to go end to end when turning pixels on. With a 1000 ms overlap the chase is 5 seconds in total, but you can't make an overlay with a "set level" work. There's always pixels turning off ,
or you force them all on at once before the chase gets to the end of turning pixels on.
To make a "set level" overlay work, I need an overlap = 50% of the total chase time. But that makes the chase reach the end too fast (2.5 sec) when turning pixels on.
To get a 4 sec run to turn on all the pixels I need a chase that runs a total of 8 seconds.
I now have 4 seconds of "set level" overlayed with the tail of the chase that I have to work around on any following effects.
The wipe work around seems to work better - at least until I bump into its limitations.
Bob
I just pulled the 1000ms number out of thin air. You might need a much longer perhaps as much as half of the effect time or more. You should be able to set the chase to look exactly like your wipe in the last picture.
I hear where you're coming from on the picture issue. Another thing you might be able to do is stitch together a few straight on shots. I've thought about doing this myself. You could take good straight shots of each elevation of the house and then stitch (crop, stretch) the photos into one seamless photo that resembles a flattened view of the house. There's freeware apps out there that do this. If it were me however, I'd do it manually. This would put all of the preview elements in the proper position and effects like wipe would work as expected.
--Jon Chuchla--
Sent from my iPhone using Tapatalk
I'd be more inclined to do it manually if I didn't have to do each pixel one by one. If there was a tool to take a range of pixels and then say the first pixel is at x,y,z = 10,10,10 and the last one is at x,y,z = 55,73,20 (I'm making up these numbers just for an example) and have the tool then update the location of each pixel in between, proportionally relative to the first and last pixels, then I'd dive into it.
Just thinking out loud for a moment, a spreadsheet could do this job. If I could export the pixel location data into CSV (pixel name, id, x, y, z), then pull that into a spreadsheet, apply the transforms, then import back into Vixen. About 3/4 of that I can do - there are tools that can pull data out of XML files and put that into a CSV, so only thing missing is the pull back into Vixen. (I'm wary of using open tools to write back into Vixen's XML files - just in case there are dependencies and I break something.)
When using chase, you are right that you need your overlap to be 50% or more of the total chase effect time, if you want the chase to turn on all pixels and keep them on. The total chase time will also be double the time required to turn them all on. If you take 4 seconds to go down your string turning pixels on, then the chase will take 4 seconds to turn them off, and you need to overlay a "set level" to hold the pixels on if that's what you want. But that's 4 seconds of chase and/or "set level" being active on your string, which limits what you can do during that time. I don't see a way to avoid that limitation.
There is such a tool. Make one effect longer than you need, duplicate it onto all channels in the group, then select them all and explore the alignment tools in the right click context menu. You can put the start of the first and last effects where you want them then evenly distribute the rest. And then make the end points line up.
--Jon Chuchla--
Sent from my iPhone using Tapatalk
Not much to do with location data, but I get the point.
Bob
