Using OpenGL directly



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



  • 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



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


Log in to reply