Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Editor/PicViewer RenderOutput different

    SDK Help
    0
    3
    307
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

          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 🙂

          1 Reply Last reply Reply Quote 0
          • First post
            Last post