Production Pipeline
This page lists basic components of the Cinema 4D API based on their role in a typical production pipeline. Using the API it is possible to automatize many aspects of such a pipeline.
Cinema 4D scene files and other supported 3D files format can be imported with LoadFile() , LoadDocument() and MergeDocument() 。见 Disc I/O .
3D polygon models are based on the PolygonObject class. Spline objects are based on SplineObject . 建模 operations can be directly applied to such objects or are performed using the 建模 class or SendModelingCommand() .
见 建模 .
Materials are represented as BaseMaterial or 材质 elements; shaders are based on BaseShader . A material is assigned to a (polygon) object using a TextureTag .
Custom materials are based on MaterialData ; custom shaders are based on ShaderData .
见 Materials and Shaders Overview .
A 3D camera is represented as a CameraObject 。见 Scene Elements Overview .
The motion-tracker tools allow to match a virtual camera to a real camera movement. See Motion Tracker Overview .
A character rig is composed of joint objects ( Ojoint ), the weights ( CAWeightTag ) and a skin object ( Oskin ).
Various tools for creating and editing the weights are provided in the CAWeightMgr class.
见 角色动画概述 .
Animation data is organized in animation-tracks ( CTrack ), curves, ( CCurve ) and keyframes ( CKey ).
见 动画概述 .
Built-in particle systems are 粒子 and 思维粒子 . The dynamics system provides functions to check for intersections, see 动力学 .
Character hair and fur is created with the Hair module, see 头发 .
A light object is a BaseObject of the type Olight . HDR or environment lighting is set up by creating a sky object ( Osky ) and assigning a material.
渲染 commands can be invoked with CallCommand() . A dedicated render process is handled with RenderDocument() 。见 渲染 .
A render task can be added to the render queue. See 批量渲染 .
A custom renderer or video post effect can be implemented based on the VideoPostData class.
另请参阅 渲染 .
A Cinema 4D scene can be saved or exported with SaveDocument() and SaveProject() 。见 Disc I/O .