PDA

View Full Version : Displace away from Matte? (like iDisplace in shake but outward )


caseybasichis
11-14-2005, 06:59 AM
Does anyone here have a good method for doing a displace similar to a iDisplace in shake or a Displace in combustion but where the displacement pushes away from the matte in any direction instead of just a certain amount in one direction? (For instance if you had a white circle and did a blur the displacement would push out or suck in from the edges of the circle)

I was messing with an edge detect and then shifting it two get two copies one of the upperleft side of a shape and one of the lower right and then blurring them out but It wasn't quite working out.

Any thoughts?

Thanks,
Casey

Hugh
11-14-2005, 10:21 AM
Sounds like you want a DilateErode (in Shake)....

Can also be done just by blurring and adjusting the contrast (only works on a matte, though - will lose quality in any image you push through it)

caseybasichis
11-15-2005, 02:20 AM
Sorry If I was a bit unclear.

I don't need to increase the size of the matte, I need a way to use a matte in the same way you would use a matte for an iDisplace but instead of moving +/- x and y in one direction it would move a certain amount in a direction determined by the shape of the matte itself.

Think of a clock, if you had a white circle on a black matte, in the area of 3 o'clock the image would be displaced (5, 0), at 9 o'clock (-5,0), at 1:30 (2.5, 2.5) etc. (I know the 2.5 bit isn't mathematically correct but you get the idea)

Right now Im using two embosses to get two mates, a top right displace matte and a lower left one, each is kind of like half of an edge detect. I am then bluring them and putting them into two iDisplaces the push in opposite directions. It kind of works but it doesn't really warp very evenly.

What Im really looking for is a spherarize type effect that follows the shape of a matte instead of a circle.

Thanks,
Casey

CGTalk Moderation
11-15-2005, 02:20 AM
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.