sketchucation logo sketchucation
    • Login
    πŸ”Œ Quick Selection | Try Didier Bur's reworked classic extension that supercharges selections in SketchUp Download

    [Solved]Shadows acting funky

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    38 Posts 9 Posters 611 Views 9 Watching
    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.
    • hellnbakH Offline
      hellnbak
      last edited by

      Here's the SKP of the door shell if anybody thinks that would help.


      Ford Shadow Problem.skp

      "Politicians are just like diapers -- they need to be changed often, and for the same reason"

      1 Reply Last reply Reply Quote 0
      • mitcorbM Offline
        mitcorb
        last edited by

        Is this from that batch of new colors you loaded? Maybe not

        I take the slow, deliberate approach in my aimless wandering.

        1 Reply Last reply Reply Quote 0
        • hellnbakH Offline
          hellnbak
          last edited by

          @mitcorb said:

          Is this from that batch of new colors you loaded? Maybe not

          No, these were from quite a while back, long before I added any colors to the Materials folder.

          "Politicians are just like diapers -- they need to be changed often, and for the same reason"

          1 Reply Last reply Reply Quote 0
          • W Offline
            wyatt
            last edited by

            I don't know why this works, but if you change all the green materials to 99% opacity, the shadows appear. I also replaced your materials with new ones and the shadows also appeared. There must be something wrong with the way those materials were created/edited, but I don't know what that might have been.

            1 Reply Last reply Reply Quote 0
            • hellnbakH Offline
              hellnbak
              last edited by

              @unknownuser said:

              I don't know why this works, but if you change all the green materials to 99% opacity, the shadows appear. I also replaced your materials with new ones and the shadows also appeared. There must be something wrong with the way those materials were created/edited, but I don't know what that might have been.

              Well, I can live with 99% opacity. As far as where the colors came from, it's been quite a while but I think I might have sampled them from a photo of an actual 56 Ford Sunliner with the color combination I wanted. But I don't see how that would have any bearing on the strange behavior.

              Yep, found where I sampled the photos. Also sampled for the interior colors, guess that might explain the problems with the seats.

              Very strange.

              k.png

              "Politicians are just like diapers -- they need to be changed often, and for the same reason"

              1 Reply Last reply Reply Quote 0
              • C Offline
                Charlie__V
                last edited by

                Hell,

                If you "paint with default"......ford-fairlane-victoria-1956.jpg......will be the default.

                I cannot explain why........though the model default is not "ford-fairlane-victoria-1956.jpg"

                Charlie


                Ford shadow.....Paint with default

                Precision M1710/Win 7 Pro 64 bit/i-7 6920 Quad core 2.9 Ghz -3.8/16Gb ram/NVIDIA M5000M 8Gb

                1 Reply Last reply Reply Quote 0
                • hellnbakH Offline
                  hellnbak
                  last edited by

                  @unknownuser said:

                  Hell,

                  If you "paint with default"......ford-fairlane-victoria-1956.jpg......will be the default.

                  I cannot explain why........though the model default is not "ford-fairlane-victoria-1956.jpg"

                  Charlie

                  I'm not really sure what you're saying here. I just sampled the colors I needed using the "Match Color On Screen" eyedropper.

                  "Politicians are just like diapers -- they need to be changed often, and for the same reason"

                  1 Reply Last reply Reply Quote 0
                  • ToboboT Offline
                    Tobobo
                    last edited by

                    Strangely when I open the skip the shadows work fine.

                    Ford Shadow Problem.jpg

                    Maybe I'm missing something

                    Toby

                    Philippians 4:13

                    I can do everything through him who gives me strength.

                    1 Reply Last reply Reply Quote 0
                    • thomthomT Offline
                      thomthom
                      last edited by

                      @hellnbak said:

                      Well, I can live with 99% opacity

                      That's going to hurt performance. Transparency adds overhead to processing of the model in the viewport.

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

                      1 Reply Last reply Reply Quote 0
                      • thomthomT Offline
                        thomthom
                        last edited by

                        Have you tried without Hardware Acceleration? In case this is a graphic card / driver issue.
                        What card and driver version do you have?

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

                        1 Reply Last reply Reply Quote 0
                        • thomthomT Offline
                          thomthom
                          last edited by

                          Ah! I know what this is!

                          I actually wrote about this some time ago: http://www.thomthom.net/thoughts/2012/03/the-secrets-of-sketchups-materials/
                          (Scroll down to Bug with Materials and Color Alpha Channel and see example and description of bug.)

                          To fix all materials in your model, enter this one-liner in your Ruby Console:
                          Sketchup.active_model.start_operation('Fix Materials',true);Sketchup.active_model.materials.each { |m| c=m.color.to_a; c[3]=255; m.color=*c; };Sketchup.active_model.commit_operation

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

                          1 Reply Last reply Reply Quote 0
                          • thomthomT Offline
                            thomthom
                            last edited by

                            Very nice model by the way! πŸ‘ πŸ‘

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

                            1 Reply Last reply Reply Quote 0
                            • hellnbakH Offline
                              hellnbak
                              last edited by

                              You the man!!!

                              While I don't pretend to understand any of the reasoning behind it, it did the trick!

                              You are now on my Xmas card list

                              "Politicians are just like diapers -- they need to be changed often, and for the same reason"

                              1 Reply Last reply Reply Quote 0
                              • hellnbakH Offline
                                hellnbak
                                last edited by

                                @tobobo said:

                                Strangely when I open the skip the shadows work fine.

                                Maybe I'm missing something

                                Maybe you had already run ThomThom's miraculous fix?

                                "Politicians are just like diapers -- they need to be changed often, and for the same reason"

                                1 Reply Last reply Reply Quote 0
                                • thomthomT Offline
                                  thomthom
                                  last edited by

                                  @hellnbak said:

                                  While I don't pretend to understand any of the reasoning behind it, it did the trick!

                                  It's a bug in the quirky design of SketchUp materials.

                                  A material has a Color property - and Color property contains RGBA info.
                                  Materials normally ignore the A value of the colour and use the Alpha property of the Material itself.
                                  However, for some reason, when the Color property has the alpha value set to 0 the object doesn't case a shadow. And sampling materials with the Sample Color from Screen tool can in some cases set the wrong A value for the Color property.
                                  This is a bug I've reported to the SketchUp team.

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

                                  1 Reply Last reply Reply Quote 0
                                  • hellnbakH Offline
                                    hellnbak
                                    last edited by

                                    @thomthom said:

                                    @hellnbak said:

                                    Well, I can live with 99% opacity

                                    That's going to hurt performance. Transparency adds overhead to processing of the model in the viewport.

                                    You mean that whenever I make a material transparent, even just a little transparent, it affects the processing of the model enough to hurt performance? Or did you say that just because the affected materials in this case pretty much involve the entire exterior and some of the interior of the model?

                                    "Politicians are just like diapers -- they need to be changed often, and for the same reason"

                                    1 Reply Last reply Reply Quote 0
                                    • thomthomT Offline
                                      thomthom
                                      last edited by

                                      When a material is transparent the 3D render engine (SketchUp's viewport) need to perform more calculations in order to determine the colour of each pixel. As you see in the Styles setting you can set to Faster, Medium or Nicer. The better the slower. For max performance you can disable transparency all together. (I do that some times with heavy models with lots of glass or clip maps.)

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

                                      1 Reply Last reply Reply Quote 0
                                      • hellnbakH Offline
                                        hellnbak
                                        last edited by

                                        Well, thanks again. And thanks to everyone who offered their advice and suggestions.

                                        "Politicians are just like diapers -- they need to be changed often, and for the same reason"

                                        1 Reply Last reply Reply Quote 0
                                        • Rich O BrienR Offline
                                          Rich O Brien Moderator
                                          last edited by

                                          You need to set a template that uses as little resources as possible. Add eye-candy for export πŸ‘

                                          Download the free D'oh Book for SketchUp πŸ“–

                                          1 Reply Last reply Reply Quote 0
                                          • hellnbakH Offline
                                            hellnbak
                                            last edited by

                                            @rich o brien said:

                                            You need to set a template that uses as little resources as possible. Add eye-candy for export πŸ‘

                                            Actually the computer I built a year or so ago seems to handle everything pretty well. Once in a while when moving a model the textures blank out for a few seconds, but if I run Purge (the plugin) it takes care of that. I've always wondered why Purge does that, even when nothing is actually purged. But then I also wonder how bread becomes toast πŸ˜•

                                            "Politicians are just like diapers -- they need to be changed often, and for the same reason"

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement