Announcement

Collapse
No announcement yet.

Removing unused materials - issue with blend material

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Removing unused materials - issue with blend material

    It appears if you use the "remove unused materials" command from the material manager, it will remove all materials that are used in the blend material, unless they are assigned to objects themselves. This leaves the blend material empty. Can this be fixed?




  • #2
    Hello scott_canuel,

    I apologize for the delayed reply.

    Upon testing this on my end I was not able to reproduce this issue. Could you please share the exact versions of Cinema4D and V-Ray that you have installed? Also, sharing a short video recording of the issue and a test scene would be helpful as well. Thank you.
    Aleksandar Kasabov
    chaos.com

    Comment


    • #3
      aleksandar.kasabov In fact, I can reproduce this issue.

      If you use a Blend Material and use the base material and another coat Material: The coat Material gets deleted when using "Delete unused Material"-Command. BUT the Base-Material will not get deleted.

      Iam using R23 and one of the latest nightlies builds.


      Update: Of course to prevent this from happening you can simply use a NULL-Object and assign the Coat- and Basematerials to it. Then they will stick. Also this trick works when using 2-Sided and you want to copy objects with 2sided Materials/Blendmaterials and their corresponding materials to other scenes. Then this trick works to prevent from deleting unused materials and to copy objects with those materials to other scenes.
      Last edited by PdZ; 27-04-2021, 07:38 AM.

      Comment


      • #4
        Hello,

        Could you please try to download the latest V-Ray 5 for Cinema 4D, hotfix 3 from here, and see if the issue persists? If you still experience it, please send us a short video recording of your screen, demonstrating the steps, needed to reproduce the issue. Thank you.
        Aleksandar Kasabov
        chaos.com

        Comment


        • #5
          Hi,
          I tested it again and it seems fixed (?). Not happening anymore.
          It seems to be fixed.

          Comment


          • #6
            Hi,

            I flagged this in the beginning. I didn't get any responses. I had to re-texture my whole scene again when this first happened.

            My work-around was stacking the materials under the Blend Material, then it thinks its assigned to a object. If you select 'Delete Unused Materials' it sticks.

            Will we ever be able to stack materials again? Users have been asking for it to be brought back urgently/frustratingly since Vray 5 launch day...

            Comment


            • #7
              Originally posted by bern_diener View Post
              Hi,

              I flagged this in the beginning. I didn't get any responses. I had to re-texture my whole scene again when this first happened.

              My work-around was stacking the materials under the Blend Material, then it thinks its assigned to a object. If you select 'Delete Unused Materials' it sticks.

              Will we ever be able to stack materials again? Users have been asking for it to be brought back urgently/frustratingly since Vray 5 launch day...

              I think material stacking is already available in the latest build.

              3D Scenes, Shaders and Courses for V-ray and Corona
              NEW V-Ray 5 Metal Shader Bundle (C4D/Max): https://www.3dtutorialandbeyond.com/...ders-cinema4d/
              www.3dtutorialandbeyond.com
              @3drenderandbeyond on social media @3DRnB Twitter

              Comment


              • #8
                Hello bern_diener,

                As sirio76 already mentioned, we have added support for blending different materials with the texture tags and it is available in the latest hotfix 3 which you can download from here. You can also check this forum thread for more information about the improvements and bug fixes in this hotfix.
                Aleksandar Kasabov
                chaos.com

                Comment


                • #9
                  Originally posted by aleksandar.kasabov View Post
                  Hello bern_diener,

                  As sirio76 already mentioned, we have added support for blending different materials with the texture tags and it is available in the latest hotfix 3 which you can download from here. You can also check this forum thread for more information about the improvements and bug fixes in this hotfix.
                  Hi Aleks

                  I tested the Blending Materials with Tags. It seems to be specific to saved polygon selections only. It doesn't seem to be like the traditional stacking materials on a object. Not sure if I am missing something... Do you want a example file?

                  Comment


                  • #10
                    Dear bern_diener,

                    Keep in mind that you need to disable the texture tiling inside the Material tag whenever you want to add one material to another by using an alpha mask in the opacity slot of the V-Ray Material. Also, please note that there might be some differences between the viewport preview of the stacked materials and the final render. This has been discussed here. Please let me know if this helps.

                    If you still experience any issues, please provide us with a test scene and more details about your workflow. Thank you.
                    Aleksandar Kasabov
                    chaos.com

                    Comment


                    • #11
                      Aleks,

                      I just came back here to say you are right and was wrong - I got it working and I'm so elated.



                      Originally posted by aleksandar.kasabov View Post
                      Dear bern_diener,

                      Keep in mind that you need to disable the texture tiling inside the Material tag whenever you want to add one material to another by using an alpha mask in the opacity slot of the V-Ray Material. Also, please note that there might be some differences between the viewport preview of the stacked materials and the final render. This has been discussed here. Please let me know if this helps.

                      If you still experience any issues, please provide us with a test scene and more details about your workflow. Thank you.

                      Comment


                      • #12
                        Dear bern_diener,

                        I am glad to hear that everything works as expected now. Should you have any further queries, do not hesitate to let us know.
                        Aleksandar Kasabov
                        chaos.com

                        Comment

                        Working...
                        X