View Full Version : image sequence in Fluid 2d container?
overEZ 01-16-2008, 06:04 PM I am trying to make an image sequence of a person's face look like it's melting away with fluids. I can load a still into the attribute map of a 2d container, but not an image sequence... any ideas on how to make this happen?
The reason I'm going for a sequence instead of a still is because the shot is hand held and I want to maintain the movement in the background.
The only solution I see is to rotoscope a still, map that to the fluid and then composite that over the moving background...
|
|
Duncan
01-16-2008, 07:39 PM
I would assume you don't want the background to melt too, in which case you need to get a matte for the head( rotoscope ). You could initialized the color of the fluid to the image color and the density to the image alpha. In this way the head would fuzz out as it simulates the and the colors would melt into each other.
A different method would be to use a 2D fluid texture to drive the uv coord of a file texture(using your image sequence on the file texture). In this case you wouldn't need to initialize the fluid with your image, but you might want to set the density grid to roughly match the head location to get motion with negative density buoyancy( although you could animate the grid with lots of other methods ). On the fluid texture you need to set the coordinateMethod to dynamic grid and make the coordinate speed 1. Then connect the outUV from the fluid texture to the uvCoord on your file texture( or the uvCoord on the file texture's place2dTexture node, if it has one).
The hardware texture display may not update to show the smearing effect but it will render. One problem with this is that the texture will get very streaky over time. You could animate the blur offset increasing on the file texture to simulate diffusion.
Duncan
overEZ
01-17-2008, 05:25 AM
wow! thanks Duncan! The first method makes sense to me. I will try to decipher the rest this week... much appreciated!
pollart
01-17-2008, 05:31 AM
but is there any way that we could use image sequence with alpha?
thanks
CGTalk Moderation
01-17-2008, 05:32 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.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.