Anatomy and Art

a blog by Sara Egner

Archive for the ‘blood vessel’ tag

Blood Vessel Fly Through

with one comment

I’ve mentioned here before that I’ve been working on this blood vessel fly through animation for my first animation in Maya.  Well, just last week, I got my render passes and started compositing them in After Effects. Really, this just amounted to using a standard beauty pass, and a luminance depth pass.

If you’re new to 3D animation, a beauty pass, or it may also be called your master layer, is the basic image you’re rendering out of your scene. For instance, this is frame #38 from that pass…

A luminance depth pass on the other hand, is a black and white gradation representing the distance of objects in your scene to the camera. In 3DsMax this is called a z-depth pass. But in Maya, it’s best to use a luminance depth pass (yet another of the subtle differences between the two programs). My luminance depth pass for frame #38 looks like this…

Using the program After Effects, you can place a luminance depth layer in your timeline. Hide it, because it’s not that interesting to look at in and of itself. And then create an adjustment layer and apply a blur effect. In my case I chose the lens blur, but I understand that there are different ways of going about this. Once you are in your lens blur settings you can point that layer at your hidden layer, and it will use the black and white gradient as a guide or mask to set the blur according to the distance of objects. You’ll have to play with your settings a bit to get it right, but I’m happy with the subtle blur I got in the background of my animation in the end.

I had also intended to use an ambient occlusion pass, but mine came out too dark to make use of it. Again, if you are unfamiliar with this idea, the principle is that your render produces images based on the proximity of objects to the camera and each other. The image is darkest where things are in close proximity and lightest where they are not. They are also lighter when they are closer to the camera and fade off into the background as they get further away. Here is my frame #38 again to better illustrate the idea…

Because my scene is so dense and crowded, much of my ambient occlusion pass just came out black, so I wound up not using it at all. If I had, I would have placed it as a layer in After Effects, turned down the opacity, and set the blend mode to multiply so that the shadows would come through just lightly over the scene.

I also put a quick title card at the beginning of the clip and then exported the whole thing as a quicktime movie.  This allowed me to bring it all in to my editing software (Final Cut Pro).  There I made a few final tweaks, and added sound.

And here is the end result, hosted on Vimeo.  I’ve also got it up on YouTube, so feel free to take a look there if Vimeo isn’t working for any reason.

Blood Vessel Fly Through from sara egner on Vimeo.

So yeah, pretty neat!  And it feels great to have the big project for my Maya class taken care of so I can focus on my other work this last couple weeks of the fall semester.

Written by Sara

November 27th, 2010 at 3:30 pm

Posted in Uncategorized

Tagged with , , , ,

Through a Blood Vessel

without comments

Last week I finally managed to export a playblast from Maya of my blood vessel project.  It’s nothing too impressive at this stage, but I’m liking the roller coaster ride feeling of it…

Here are a few stills to give you a better idea of what the final render will look like…

I recently decided to end the ride with the blood cells being pulled off course up into a blood clot. Seemed like a fitting end to the journey. But I’m currently having some difficulty with rendering images that use a jpeg in the color channel. I’m still not certain if this is a matter of my laptop’s capabillity or some limitation of the Maya Hardware renderer which has allowed me to do some other tricks with my textures that I really don’t want to give up. Anyway, here is a screen shot of that final clot area as it stands now.

I still need to model some fibrin in there to really say blood clot, but the rendering difficulties have made it very difficult to do anything lately. I’m trying to change up the texture of the vessel walls themselves as well. Fingers crossed for awesome results!

Written by Sara

October 15th, 2010 at 12:58 pm