Tag Archive: fluids


Playing with flud2dtexture..

Using the expression below to emit density into the texture for the ripple effect.

string $fluidTex = "fluidTexture2D1";
float $resTex[] = `getAttr ($fluidTex + ".resolution")`;
int $vertCount2[] = `polyEvaluate -vertex "pSphere1"`;
int $randNum = `rand(floor($vertCount2[0]))`;
float $uvCoord2[] = `polyEditUV -q pSphere1.map[$randNum]`;
int $x = floor($uvCoord2[0]*$resTex[0]); // make it integer
int $y = floor($uvCoord2[0]*$resTex[1]); // make it integer
if(`fluidVoxelInfo -ib $x $y 0 $fluidTex`) {
	setFluidAttr -at "density" -xi $x -yi $y -ad -fv 5 $fluidTex;
}

Getting back to Canon

Early in 2008, I created a canon shoot fx.. this video below is a playblast. I have been away from this project for a bit and am thinking of coming back to it!

Using fluid based sprites

I made an image sequence of fluid, and used it as a sprites source. It’s not fantastic but at least I know the concept works.

WordPress engined.