sketchucation logo sketchucation
    • Login
    πŸ›£οΈ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Unable to apply material

    scheduled pinned locked moved SketchUp Discussions
    sketchup
    13 Posts 4 Posters 1.4k Views 4 Watching
    loading-more-posts
    • oldest-to-newest
    • newest-to-oldest
    • most-votes
    reply
    • reply-as-topic
    guest-login-reply
    deleted-message
    • D Offline
      diesellam
      last edited by

      I tried to apply material for all of the objects under this current layer. But only certain objects get applied, why?
      This is a dwg file I received that I imported to SketchUp.

      How come all of the objects in this layer are grouped? Do I have to explode them?

      I attached this skp file.

      Thanks in advance.


      sketchup 7 file

      one-reply-to-this-post last-reply-time reply quote 0
      • GaieusG Offline
        Gaieus
        last edited by

        Hi Diesellam,

        That whole thing is a component and painted with a material called "Jean blue". Now as inside this component there are groups also painted, you cannot override that painting from outside. Best would be first of all to delete Sang (the guy in the middle) then go to your model info dialog (Window menu) > Statistics and purge everything (at the bottom).

        Now if you go back to your material browser > In model tab, you will see that this jeans material is still in use. Delete it by right clicking and deleting. Now you are set back to default and you canstart playing around with painting your different elements to whatever you want.

        BTW What the heck is on that "Ashade" layer? It looks completely empty but SU warns me when I want to delete it.

        Gai...

        one-reply-to-this-post last-reply-time reply quote 0
        • D Offline
          diesellam
          last edited by

          Thanks for the prompt reply.
          I don't know about the ashade layer, it's in dwg file I received also.

          Actually, I have one more question.
          Is there a way in Sketchup or in the Vray plugin, that you can make the background as an alpha channel? I want to load the alpha channel easily in Photoshop to change to a sky image or gradient blue.

          Thanks in advance.

          one-reply-to-this-post last-reply-time reply quote 0
          • GaieusG Offline
            Gaieus
            last edited by

            Not on Windows (in SU - I do not know about Vray but we have a dedicated subforum for that under the Extensions... Forum). The Mac has an option to export with alpha transparency. However you can export your image with some really weird colour background (say some stupid magenta) and change that colour to alpha in PS.

            If you had SU Pro, you could export a png with transparent background from LayOut. Your profile does not say if 7 is pro or free.

            Gai...

            one-reply-to-this-post last-reply-time reply quote 0
            • thomthomT Offline
              thomthom
              last edited by

              @diesellam said:

              Is there a way in Sketchup or in the Vray plugin, that you can make the background as an alpha channel? I want to load the alpha channel easily in Photoshop to change to a sky image or gradient blue.

              Got to the VFB section and enable the Alpha channel.

              Note that if you enable the VFB channel and save in the PNG format the background becomes transparent in the Diffuse output as well. If you don't want this then save the output using some other format.

              Thomas Thomassen β€” SketchUp Monkey & Coding addict
              List of my plugins and link to the CookieWare fund

              one-reply-to-this-post last-reply-time reply quote 0
              • D Offline
                diesellam
                last edited by

                Thanks for the reply. I'll give it a try right now.

                one-reply-to-this-post last-reply-time reply quote 0
                • D Offline
                  diesellam
                  last edited by

                  I tried your method: delete Sang and purge everything, then delete the jean blue material. After that, only certain elements can be applied, but most of the other element can't.

                  What's the reason of it?

                  See attached file, thanks.


                  window glass-purged unused.skp

                  one-reply-to-this-post last-reply-time reply quote 0
                  • TIGT Online
                    TIG Moderator
                    last edited by

                    You still have a material 'White' that is applied to some faces inside groups etc - Delete that as well so everything is 'Default' = NO material then retry applying new materials to groups/instances etc.
                    Faces take any new material you give them as do the faces with groups/instances that have no material BUT if a face inside them has a material it will not change unless you manually edit the group down to the level of the face and change it's material there - the trick of deleting the material so it defaults to 'nil' is a quick way to fix this.

                    Incidentally your model has some tiny component instances called 'direct' inside the main group that are causing its bounding-box to become very big - I suggest you delete these from the browser to tidy that up too...

                    TIG

                    one-reply-to-this-post last-reply-time reply quote 0
                    • D Offline
                      diesellam
                      last edited by

                      Cool. It works.
                      So the trick is to delete ALL of the material in the model tab under Material Editor.

                      When you said the model has some tiny component instances called 'direct' inside the main group that are causing its bounding-box to become very big.....how do you get rid/purge them? Under which editor?

                      Thanks once again. You guys have been very helpful.

                      one-reply-to-this-post last-reply-time reply quote 0
                      • D Offline
                        diesellam
                        last edited by

                        Now I don't know if this is a problem or not.
                        I tried to apply the Vray glass blue material to the elements.

                        They seem to be applied. But when I did a test rendering, the VRay buffer is all black, what's the reason of it?

                        Thanks in advance. See the attached file.


                        window glass-VRAY PROLBEM.skp

                        one-reply-to-this-post last-reply-time reply quote 0
                        • TIGT Online
                          TIG Moderator
                          last edited by

                          @diesellam said:

                          Cool. It works.
                          So the trick is to delete ALL of the material in the model tab under Material Editor.
                          When you said the model has some tiny component instances called 'direct' inside the main group that are causing its bounding-box to become very big.....how do you get rid/purge them? Under which editor?
                          Thanks once again. You guys have been very helpful.

                          Find the component in the Component Browser > Model tab, select it and right-click over it's icon and Delete...

                          TIG

                          one-reply-to-this-post last-reply-time reply quote 0
                          • thomthomT Offline
                            thomthom
                            last edited by

                            @diesellam said:

                            Now I don't know if this is a problem or not.
                            I tried to apply the Vray glass blue material to the elements.

                            They seem to be applied. But when I did a test rendering, the VRay buffer is all black, what's the reason of it?

                            Thanks in advance. See the attached file.

                            What lights your scene?
                            And what VfSU version?

                            Thomas Thomassen β€” SketchUp Monkey & Coding addict
                            List of my plugins and link to the CookieWare fund

                            one-reply-to-this-post last-reply-time reply quote 0
                            • D Offline
                              diesellam
                              last edited by

                              version 1.05.30
                              I didn't setup any lights. I used the setting from the exercise file called:

                              Chairs-GI.skp

                              one-reply-to-this-post last-reply-time reply quote 0
                              • 1 / 1
                              • first-post
                                last-post
                              Buy SketchPlus
                              Buy SUbD
                              Buy WrapR
                              Buy eBook
                              Buy Modelur
                              Buy Vertex Tools
                              Buy SketchCuisine
                              Buy FormFonts

                              Advertisement