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
    • Recent
    • Tags
    • Users
    • Login

    Get VideoPostData called at Editor-Window update ?

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 325 Views
    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 Offline
      Helper
      last edited by

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

      On 03/11/2010 at 19:30, xxxxxxxx wrote:

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

      ---------
      Hi,

      I need to do some kind of simple outline rendering(aka cartoon or cel rendering) on every
      editor window update. So i am wondering if it is possible
      to get VideoPostData executed on every editor-window update.
      It only executes on direct rendering, but I need my code there to execute,
      because I need the VolumeData, am I right ?

      I have tried SceneHookData, but i dont get Ray-Information there,
      so it would be much harder to get the redering information.

      I have set the Flags to PLUGINFLAG_VIDEOPOST_INHERENT|PLUGINFLAG_VIDEOPOST_GL
      the priority is VPPRIORITY_EXTERNAL and
      GetRenderInfo returns VIDEOPOST_REFRESH|VIDEOPOST_STOREFRAGMENTS

      Even "Execute" and "GlDraw" are not executed.... even i select all Enhanced OpenGL
      modes in the editor window.

      Do you know how I get VideoPostData executed on every editor
      window update ?
      Or do you kow how to get raytracing information in SceneHookData ?

      Thanks!

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

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

        On 04/11/2010 at 04:30, xxxxxxxx wrote:

        Where do you want to render in the picture viewer or the editor?

        cheers,
        Matthias

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

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

          On 05/11/2010 at 10:35, xxxxxxxx wrote:

          Directly at the main Editor-Window.

          I don't draw there, I only want to get the VolumeData
          every time the editors view Changed. Not in the Picture Viewer.

          Mackel

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