|05 May 2013||#1|
Ng Zheng Jie
Join Date: May 2010
Procedural Visibility Animation
Hi, here is the reference video
I wanted to create this kind of "pop" visibilty with many bricks and have the ability to control it, I projection mapped the uv of all the bricks into a wall and tried using ramp, plug it into the object visibility but doesn't seem to work, if there any other ways to achieve this result?
|05 May 2013||#4|
Join Date: Dec 2012
Sorry, I misunderstood the original post. I thought you had a single plane with a brick texture, but I guess you have multiple brick objects just like the reference video?
You could try setting up a set driven key for each brick, and link the position of the brick to it's visibility. Then when you animate the brick moving into place, the visibility pops on. If you then duplicate special each brick, and ensure "duplicate input graph" is checked in the options, it will preserve the set driven key. Then you can go and individually key the position of each brick to make it "pop" on. I realize this would be really tedious, especially with a large number of bricks, but it's all I could come up with. Hopefully that helps some
EDIT: Just realized keying visibilty and duplicating special would be much simpler and work about the same. You wouldjust move the keys around to change when each brick pops. It's still really tedious, and I'm sure someone else will have a better idea.
Last edited by pollos : 05 May 2013 at 04:18 AM.
|05 May 2013||#5|
Senior fx td
Join Date: Nov 2003
I don't know if you're familiar with MEL or expressions but here's little sample
how I would do something like this.
Checkout the attached MA - file.
There's lot of other ways also but I think this is one of the easiest.
Basically I'm using ramp ( I could use any 2D texture, inluding bitmaps ) to control
the visibility ( or any other attribute, for that matter ) of my cubes.
It's all based on MEL - command colorAtPoint .
Checkout the documentation for more info about that.
To get to the bottom of this, open up Expression Editor and checkout the Expresssion1, I wrote.
Ramp1 is animated so you can see how it works. Change the ramp for U to V to diagonal and you'll get the ideam I'm sure.
Hope this helps.
- Oh no, it's me -
|Thread Closed share thread|