Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/09/2008 at 13:28, xxxxxxxx wrote:
User Information: Cinema 4D Version: 10.5 Platform: Windows ; Language(s) : C++ ;
--------- Hi i want to do this in c++ :
i search the forum and the sdk ... but i found nothing ...
On 12/09/2008 at 08:49, xxxxxxxx wrote:
have a look at the videopost sdk examples.
On 18/09/2008 at 07:36, xxxxxxxx wrote:
Get the PluginVideoPost from the RenderData. Get the BaseContainer of the PluginVideoPost. You can access the description elements through their IDs. Set or delete the BIT_VPDISABLED bit to enable/disable the effect.
little example
> \> RenderData \*rd = NULL; \> rd = doc->GetActiveRenderData(); \> if(!rd) return FALSE; \> \> PluginVideoPost \*pvp = NULL; \> pvp = rd->GetFirstVideoPost(); \> \> if(!pvp) return TRUE; \> \> pvp->SetBit(BIT_VPDISABLED); \> \> BaseContainer \*data = pvp->GetDataInstance(); \> \> data->SetBool(VP_COMICCOLOR, TRUE); \> \> pvp->Message(MSG_UPDATE); \> \> EventAdd(); \>
\> RenderData \*rd = NULL; \> rd = doc->GetActiveRenderData(); \> if(!rd) return FALSE; \> \> PluginVideoPost \*pvp = NULL; \> pvp = rd->GetFirstVideoPost(); \> \> if(!pvp) return TRUE; \> \> pvp->SetBit(BIT_VPDISABLED); \> \> BaseContainer \*data = pvp->GetDataInstance(); \> \> data->SetBool(VP_COMICCOLOR, TRUE); \> \> pvp->Message(MSG_UPDATE); \> \> EventAdd(); \>
cheers, Matthias