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

    Using OpenGL directly

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 338 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 15/05/2011 at 13:34, xxxxxxxx wrote:

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

      ---------
      We've established that if we use OpenGL (GL, Glew, SDL, GLSL) independently of Cinema 4D, there is a clash between the two.  We demonstrated that the clash only exists when OpenGL is enabled for Cinema 4D's editor view but does not happen when in Software mode.  Is there any way to lock/unlock buffers etc. for exclusive use of the buffer temporarily?

      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 17/05/2011 at 06:29, xxxxxxxx wrote:

        Do you want to draw independently with OpenGL in Cinema's editor view?

        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 17/05/2011 at 12:44, xxxxxxxx wrote:

          We want to draw into a TextureBuffer and extract that (using glReadPixels, which does work) for a material preview.  Currently, we are drawing into a FrameBuffer with an SDL window (which will hopefully not be required for drawing into the other buffer).  It definitely appears that we are stepping on C4D's toes when we do our OpenGL with C4D trying to do its OpenGL also.

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