Picture viewer



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 07/11/2002 at 08:33, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   8.012 
    Platform:   Windows  ;   
    Language(s) :     C++  ;

    ---------
    how can I get several layers into  the picture viewer ?
    like the multi pass  tools do.
    i tried  something like  this
     
    for (LONG n=0;n<20;n++)
    {
    bmp->AddChannel(false,false);
    }
    ok there seems to be a limit on a bitmap of  5 alphas which show up when i do ShowBitmap(bmp) ,  this is not really  what im after.
    Multipass sends a specific channel with a name , which can also be toggled on/off , so id like to know how i can do the same kind of thing.
    if this is not possible , is there any way to find out how the parts of muilt pass are put together (multi layer display) so i could maybe put the image together myself ?
    also , if i start ther picture viewer from a video post plugin , cinema will freeze.ive tried all sorts of things to stop this , even built my own dialog and try to launch that , but it seems not possible to launch a dialog from a video post plugin. Is this correct?
     
    thanks for any help.
     
    cheers
     
    Paul



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 07/11/2002 at 13:50, xxxxxxxx wrote:

    Quote: Originally posted by Paul Everett on 07  November 2002
    >
    > * * *
    >
    > how can I get several layers into  the picture viewer ?
    > like the multi pass  tools do.
    You should check out how the videopost examples do it. Look for VPBUFFER_ALPHA and AllocateBuffer().
    > cinema will freeze.ive tried all sorts of things to stop this , even built my own dialog and try to launch that , but it seems not possible to launch a dialog from a video post plugin. Is this correct?
    From the inner loop? No, that is forbidden since that part of the code is threaded and multi processor enabled.


Log in to reply