Classes |
|
struct | BaseVideoPostStruct |
struct | PixelPost |
struct | GlobalIlluminationInformation |
struct | StereoCameraInfo |
struct | MotionInfo |
class | VideoPostData |
Enumerations |
|
enum |
VIDEOPOSTCALL
{
FRAMESEQUENCE , FRAME , SUBFRAME , RENDER , INNER , TILE } |
函数 |
|
enum VIDEOPOSTCALL | MAXON_ENUM_LIST ( VIDEOPOSTCALL ) |
Bool | RegisterVideoPostPlugin ( Int32 id, const maxon::String &str, Int32 info, DataAllocator *g, const maxon::String &description, Int32 disklevel, Int32 priority) |
变量 |
|
FRAMESEQUENCE | |
FRAME | |
SUBFRAME | |
RENDER | |
INNER | |
TILE | |
struct BaseVideoPostStruct | MAXON_ENUM_LIST |
#define MSG_VIDEOPOST_TIMESHIFT |
Internal .
#define MSG_GLOBALILLUMINATIONINFORMATION |
Called when global illumination and caustic video post effects. The corresponding data is GlobalIlluminationInformation .
#define MSG_VIDEOPOST_SETPREVIEW_VIEWPORT |
Called to request Magic Bullet Looks Video Post to set the preview image from the current image in Viewport.
#define MSG_VIDEOPOST_SETPREVIEW |
Called to request Magic Bullet Looks Video Post to set the preview image with the image provided in the message data.
Bool RegisterVideoPostPlugin | ( | Int32 | id , |
const maxon::String & | str , | ||
Int32 | info , | ||
DataAllocator * | g , | ||
const maxon::String & | description , | ||
Int32 | disklevel , | ||
Int32 | priority | ||
) |
Registers a video post plugin.
[in] | id | A unique plugin ID. Must be obtained from http://www.plugincafe.com |
[in] | str |
The name of the plugin.
To affect the order that plugins are displayed in menus add "#$n" as a prefix to this name, where n is a number. Lower numbers are displayed before higher numbers. If name is "--" it will show up as a menu separator. |
[in] | info | The video post plugin info flags: PLUGINFLAG_VIDEOPOST PLUGINFLAG |
[in] | g | The allocator for the video post plugin. This is a pointer to a function that creates a new instance of VideoPostData with NewObj() . |
[in] | description |
The name of the description resource file to use for the material plugin without
.res extension, for example
"VPeffectname"
.
The name has to be unique, i.e. "Tdisplay" cannot be used for 2 different descriptions. See 描述 Resource for more information. |
[in] | disklevel |
The plugin level is similar to a version number. The default level is
0
.
Increase this for new revisions of a plugin to allow for forward and backward compatibility. As an example you may have updated a plugin. If you now need to write additional information for new settings or changed types for old settings increase the level. During loading either a 0 is passed (if the file was written by the old plugin) or 1 (if the file was written by the new plugin). This allows to easily write/read new values. For forward and backward compatibility to work any existing read order from a given level must not be changed. Cinema 4D skips any new settings automatically if they have not been read. disklevel is only useful if variables are written/read in NodeData::Write / NodeData::Read . |
[in] | priority |
The priority of the video post plugin. Higher priority values are called before lower values. The priorities of the internal video post processing are: VPPRIORITY
For example, to filter between glow and depth of field then priority has to be set between VPPRIORITY_OBJECTGLOW and VPPRIORITY_DEPTHOFFIELD. Though all video post effects will be sorted by priority, an effect overriding for example VideoPostData::ExecutePixel will always be called before one using VideoPostData::ExecuteLine . Also VideoPostData::ExecuteLine will always be called before VIDEOPOSTCALL::INNER+ open == false . This should be logical as VideoPostData::ExecutePixel will be instantly called after a sub-pixel has been calculated and VideoPostData::ExecuteLine instantly after a line has been calculated. |
FRAMESEQUENCE |
Called when the renderer prepares to render a sequence of images.
FRAME |
Called when the renderer prepares to render a frame.
SUBFRAME |
Called when the renderer prepares to render a subframe.
RENDER |
Called before the rendering process starts and before shaders are initialized.
INNER |
Called immediately before rendering starts.
TILE |
Called immediately before rendering a bucket.
struct BaseVideoPostStruct MAXON_ENUM_LIST |