[Cineman] Write into Multipass buffer from shader



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

    On 14/06/2011 at 08:12, xxxxxxxx wrote:

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

    ---------
    Hi,

    is it possible to write into a multipass channel (let's say depth channel) from within a sl shader (3delight) via Cineman? Is there any communication at all? If not, how can I get a custom allocated display channel (in the rib) to be handled as Multipass in c4d?

    Thanks in advance! Quite urgent..



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

    On 16/06/2011 at 06:22, xxxxxxxx wrote:

    Cineman can only render Cinema 4D's native multipasses directly. Rendering additional mulitpasses requires to use Renderman AOVs (Arbitrary Output Variables). Basically any variable within a shader can be rendered as additional pass. Unfortunatly this is beyond the scope of this forum. Please search for AOV, the 3Delight documentation has some information about it too.

    cheers,
    Matthias



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

    On 16/06/2011 at 08:13, xxxxxxxx wrote:

    Yes, I am already creating an AOV DisplayChannel. My question was rather if there was a way to bring the information into a c4d multipass channel but apparently that is not possible.

    Thanks!



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

    On 16/06/2011 at 08:41, xxxxxxxx wrote:

    Hmm, I have a problem now anyway. As soon as I define a display for the channel (let's say via a RIB Container tag sitting on a camera to be defined before WorldBegin) Cinema 4D does not render anymore. It initialises and then simply idles. Is this a bug?

    EDIT: Nope, not a bug. Forgot to add a + because C4D is already defining a display call. thx


Log in to reply