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

    FunkyGlMaterial

    SDK Help
    0
    6
    637
    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

      On 07/09/2016 at 05:07, xxxxxxxx wrote:

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

      ---------
      Hi all,

      i'm working on the FunkyGlMaterial sdk example.
      But after i compiled it, i see black object.

      This in Enanched OGL, when in the other way it show the bmp generated in the InitGLImage.

      the Source tell:
      // example how to use GLSL materials and callback functions to generate a cube map
      // it creates an OpenGL preview image with alpha channel if enhanced OpenGL is not active

      Does anyone run successfully this example?

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

        On 08/09/2016 at 08:48, xxxxxxxx wrote:

        Hi Renato,

        I can reproduce your issue in R17. We are looking into it.

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

          On 08/09/2016 at 11:24, xxxxxxxx wrote:

          Thanks 🙂

          Seem that the texture is not processed correctly in the GL part of code.
          If i assign a vec3 to ocolor.rgb it work.

          ps. would be cool an example of Glsl code that take in account also one light. 🙂

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

            On 23/09/2016 at 12:23, xxxxxxxx wrote:

            Hi

            Do you have any news?

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

              On 26/09/2016 at 13:03, xxxxxxxx wrote:

              No, unfortunately not, yet. Sorry. But I'll ask again, tomorrow.

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

                On 26/09/2016 at 13:12, xxxxxxxx wrote:

                Thanks

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