Editor/PicViewer RenderOutput different



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

    On 09/07/2004 at 00:53, xxxxxxxx wrote:

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

    ---------
    Hi there,
    we wrote some material plug-ins and now i found out a mystic thing:
    If I render a scene where the material is used on an object.

    • in editor view the material is shown
    • in Picture View shows only a white rectangle

    How can I render the scene in PicView that it looks like in Editor View?



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

    On 10/07/2004 at 20:58, xxxxxxxx wrote:

    Do you use GetActiveDocument() in your shader? In that case, you need to use the supplied "doc" pointer instead. Otherwise, please compare how your plugins are called (using the debugger) to see if there's any detectable difference in how your code is executed, for example if you return white in the picture viewer instead of the correct color. That should enable you to track the error backwards.



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

    On 12/07/2004 at 03:17, xxxxxxxx wrote:

    Thanks Mikael,

    I solved the problem by using a command plug-in which executes RenderDocument with the renderflag RENDERFLAG_NODOCUMENTCLONE.
    Seems that the automatic clone isn't an exact clone :-)


Log in to reply