detect rendering



  • 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:
    http://www.plugincafe.com/forum_browse.asp?messageID=372
    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



  • 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



  • 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.



  • 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.



  • 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 ;).



  • 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 :)


Log in to reply