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

    detect rendering

    SDK Help
    0
    6
    992
    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 11/01/2003 at 05:23, xxxxxxxx wrote:

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

      ---------
      Hi,
      I have seeked for it in the old forum already and found this posting:
      <[URL-REMOVED]>
      There Mikael is saying that there is a way in the objectplugin (objectdata) class to detect the evaluation of a plugin in the editor/renderer.
      I need exactly this right now 🙂 Could somebody tell me how to detect the evaluation in an object plugin?
      Thanks very much!
      Best
      Samir


      [URL-REMOVED] @maxon: This section contained a non-resolving link which has been removed.

      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 11/01/2003 at 05:49, xxxxxxxx wrote:

        ok, found out for rendering in the external renderer, but can I detect it for the editor renderer too? I checked if the document is cloned. But that doesn´t include the editor renderer. :
        Thanks in advance

        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 11/01/2003 at 07:00, xxxxxxxx wrote:

          That's not what I was referring to in the message you cite. It was just "to detect if a plugin is evaluated by the editor or renderer", i.e. to call HierarchyHelp::GetVFlags().
          There's no public message sent to objects when the rendering starts.

          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 11/01/2003 at 07:30, xxxxxxxx wrote:

            Ah, ok I see. Thanks that´s all I wanted to know.

            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 22/05/2003 at 14:10, xxxxxxxx wrote:

              I'm not sure if I understand your question (and it looks like it may have already been answered), but I've found that when GetVirtualObjects() is called...
                if ( !(hh->GetVFlags() & VFLAG_INTERNALRENDERER) && !(hh->GetVFlags() & VFLAG_EXTERNALRENDERER))
              {
                 // you're in the editor
              }
              ...though this may be an invalid assumption on my part ;).

              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 23/05/2003 at 10:02, xxxxxxxx wrote:

                Hi guys,
                thanks for your answers. Actually this inquiry is about half a year old. I already found a way to do so and am already using it in my DPIT Plugin.
                Thanks anyway 🙂

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