Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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

    Transparent material in editor view

    SDK Help
    0
    16
    1.4k
    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 24/08/2016 at 18:37, xxxxxxxx wrote:

      Hi, Did you find something about that?

      Thanks 🙂
      Renato T.

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

        On 25/08/2016 at 00:13, xxxxxxxx wrote:

        Hello,

        since R17 there is MaterialData::HasEditorTransparency() that has to be implemented to inform the editor if the material uses transparency.

        Best wishes,
        Sebastian

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

          On 25/08/2016 at 08:14, xxxxxxxx wrote:

          Hi Sebastian,

          Many thanks!
          Renato

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

            On 25/08/2016 at 19:09, xxxxxxxx wrote:

            Hi Sebastian,

            it work but... when i register my materialdata with PLUGINFLAG_MATERIAL_GLIMAGE_WITH_ALPHA, the InitGlImage() is constantly called even i do nothing in the material or in the editor.

            Do you have any idea about that?

            Thanks 🙂
            Renato

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

              On 25/08/2016 at 23:40, xxxxxxxx wrote:

              Hello,

              off the top of my head I have no idea. Could you open a new thread on the topic with the relevant sections of your source code?

              Best wishes,
              Sebastian

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

                On 26/08/2016 at 04:57, xxxxxxxx wrote:

                Hi Sebastian,

                I found why, is my problem.

                Thanks
                Renato

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

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

                  Hi,
                  I have same issue. Constantly called InitGlImage() with this flag. How could you sorted the issue?

                  Best,
                  Ahmet

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

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

                    Hi, in my case was a setdirty() . was not dependent from the PLUGINFLAG_MATERIAL_GLIMAGE_WITH_ALPHA.

                    I'm sorry

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

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

                      Hello,

                      it seems that currently (R18 SP1) there is some bug with the PLUGINFLAG_MATERIAL_GLIMAGE_WITH_ALPHA flag. This should be fixed for the next service pack.

                      best wishes,
                      Sebastian

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

                        On 08/09/2016 at 10:02, xxxxxxxx wrote:

                        Thanks a lot 🙂

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

                          On 18/11/2016 at 08:55, xxxxxxxx wrote:

                          Hi!
                          Is this fixed somehow with new service packs?

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