sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [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

      For some reason large parts of this model (hood, fenders, door, seat backs, etc) are not casting shadows. Everything is set to cast and receive shadows. It doesn't happen in monochrome mode. Any ideas/suggestions?
      1 a.png
      2.png

      "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

        I will throw this out, but you don't have to count on it. What if your color/texture has a degree of transparency not accounted for?

        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:

          I will throw this out, but you don't have to count on it. What if your color/texture has a degree of transparency not accounted for?

          Nope, 100% opacity

          "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

            Just so you know that it isn't the most likely problem, I have checked each component involved.
            3.png

            "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

              What are you seeing when you export as a 2D graphic?

              Download the free D'oh Book for SketchUp 📖

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

                Gotta head into Holland now, will check when I get back

                "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

                  Could the inside face be transparent?

                  Maybe you accidentally painted the component with the transparent texture?

                  Toby

                  Philippians 4:13

                  I can do everything through him who gives me strength.

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

                    Ok, here's what I've found out so far --

                    It looks exactly the same when exported as a 2D graphic.

                    As far as the colors being transparent or whatever, here's what happened when I experimented with the door outer shell
                    The next three photos are just to show the colors involved
                    a 1.png
                    b 1.png
                    c 1.png
                    When I paint the bottom half of the door black, the shadows are correct for that section....
                    d 1.png
                    BUT, when the light comes from the other direction (with the bottom half still painted black), the shadow is still missing
                    f 1.png

                    I'm really tired right now and probably not thinking real straight, and I have little doubt that it will turn out to be something really simple that I've overlooked, but I don't know what else to look for.

                    "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

                      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
                                            • 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