#include <stdio.h>
#include "FileRenderer.h"
Go to the source code of this file.
Compounds | |
class | WavefrontDisplayDevice |
FileRenderer subclass to export VMD scenes to Wavefront "OBJ" format. More... |
Render molecular scene to a Wavefront Object or "OBJ" file and an associated .mtl material file. This file format is one of the most universally supported 3-D model file formats, particular for animation software such as Maya, 3-D Studio, etc. The file format is simple, but good enough for getting a lot of things done. The Wavefront format only supports per-facet colors and materials. This code currently generates a fixed size set of color/material entries and indexes into this set based on the active VMD color index.
Definition in file WavefrontDisplayDevice.h.