|
Visualizing molecules in Cinema 4D I've been experimenting recently with visualizing molecules in Cinema 4D, Maxon Computer's excellent 3D animation software. These experiments have been inspired by the exceptional work of David Goodsell of Scripps Research Institute, and the author of The Machinery of Life (a book I can't recommend highly enough) and the new Bionanotechnology: Lessons from Nature. He also writes and illustrates the fascinating Molecule of the Month at the Protein Data Bank. QuickTime 3 or later is necessary to view the movies on this page. |
|||
|
The QuickTime VR on the left represents human insulin (PDB entry). Clicking and dragging left and right rotates the molecule; dragging up and down switches between various ways of visualizing the molecule. The default view is similar to the views produced in many molecular modeling programs (though I have using soft shadows rather than the more common hard shadows). Dragging up reveals views where the atoms have been textured with various shaders built in Cinema 4D. The outline effect is the result of using the Bhodinut's fresnel shader in the luminance channel (fresnel affects the surface based on the local surface normal's relation to the camera vector). Colour and shadows have been added as separately rendered passes. |
|||
| Dragging downward reveals views
where the basic outline of the molecule and atoms are derived from a depth
map. This is based on David Goodsell's methods. The depth map is manipulated
in After Effects by running the Find Edges and Levels filters, resulting
in an image that simplifies and clarifies the structure, and which, as a
side benefit, looks less computer-generated than other methods. Colour and
shadows are then added as separately rendered passes, composited in After
Effects.
Methods: There are numerous molecular modeling and viewing applications available; a listing can be found at the Protein Data Bank. I use a Mac, and until recently the options under Mac OS X were somewhat limited; fortunately, there are now a number of Mac OS X molecular modeling/viewing apps, including:
Unfortunately, the wonderful Weblab Viewer Lite, which used to be free download from MSI, seems no longer to be available. It was a Mac OS Classic-only program, but it was fast and generated clean export files. It seems to have been replaced by the commercial (and Windows only) DS Viewer Pro. If you can find a copy of the late lamented Weblab Viewer Lite, it still works well under Classic. Alex Morla recently wrote to comment that Molview (http://bilbo.bio.purdue.edu/~tom/), another mac-based molecular manipulation program, will save in 3DMF format, which is also importable by Cinema4D.
updated: March 22, 2004 |
|||