Watermark & DOF [SOLVED]

  • On 15/11/2014 at 19:40, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   R13 
    Platform:    Mac  ;  Mac OSX  ; 
    Language(s) :     C++  ;


    I've implemented a Video Post plugin that prints information above the render, like a watermark.
    It works pretty well, but when I add DOF to the scene, my watermarks all get blurred. I can see it blurs together with the Back Blur, if I turn back blur off, my watermark keeps intact.

    The native watermark effect works well with DOF, it does not blu. Looks like it's a Video Post as well, so there must be a trick to keep it off DOF blur.

    Things I tried with no success:
    - Set the priority to be very low, like C4DPL_INIT_PRIORITY_PLUGINS-100000, no change
    - Set depth = 0.0 on ExecutePixel on all my watermarked area

  • On 17/11/2014 at 02:33, xxxxxxxx wrote:


    in which part of the call sequence are you applying your watermark?

  • On 17/11/2014 at 07:17, xxxxxxxx wrote:

    RENDERRESULT BDVJData::Execute(BaseVideoPost *node, VideoPostStruct *vps)
    if (vps->vp==VIDEOPOSTCALL_INNER && ! vps->open)
    // watermark

  • On 17/11/2014 at 09:22, xxxxxxxx wrote:

    Couldn't you do it, after the frame got rendered?

  • On 17/11/2014 at 10:32, xxxxxxxx wrote:

    If i do it after VIDEOPOSTCALL_SUBFRAME or VIDEOPOSTCALL_FRAME the plugin crashes.

    But after VIDEOPOSTCALL_RENDER it works as expected, no bur!


Log in to reply