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.
    • 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 Online
              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
                • Rich O BrienR Online
                  Rich O Brien Moderator
                  last edited by

                  Because it handles does not make it necessary. My modeling template/style is minus all the fluff that makes output look nice.

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

                  1 Reply Last reply Reply Quote 0
                  • andybotA Offline
                    andybot
                    last edited by

                    don't know why, but if I just change the saturation value by 1 step, and then change it back, it works fine. (for example color_A16 is H:169 - if I change it to 170 and back to 169, the shadows appear)

                    edit: works in any of the HSB, RGB, HLS modes with any number. didn't try the color wheel as there's no direct # control)

                    edit again: wow, didn't see all the info from thomthom (while I was slowly multitasking πŸ˜† ) - pretty sweet.

                    http://charlottesvillearchitecturalrendering.com/

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

                      Link Preview Image
                      Speed Up SketchUp: Use Fast Styles

                      Follow the SketchUpdate blog for SketchUp news, modeling tips and tricks, user stories and more.

                      favicon

                      (sketchupdate.blogspot.com)

                      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:

                        Because it handles does not make it necessary. My modeling template/style is minus all the fluff that makes output look nice.

                        I'm interested, could you explain this a bit?

                        "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

                          Thanks Rich, some good information there, although the only one that applies to me is transparencies and I only use them for windshields. I do use Hidden Geometry a lot but I use a hot key to toggle it on and off as needed. Also, although I rarely use Scenes, I never noticed the options in Scene Properties, that could be very useful in the future.

                          BTW, how the heck do I mark this thread as "SOLVED"? (didn't know I was supposed to do that until recently)

                          "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 Online
                            Rich O Brien Moderator
                            last edited by

                            @unknownuser said:

                            how the heck do I mark this thread as "SOLVED"?

                            Edit your first post title and add the [Solved] tag. I did it here but next time feel free πŸ˜‰

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

                            1 Reply Last reply Reply Quote 0
                            • GaieusG Offline
                              Gaieus
                              last edited by

                              And it will also be obsolete on the new forums πŸ˜‰

                              Gai...

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

                                @gaieus said:

                                And it will also be obsolete on the new forums πŸ˜‰

                                http://news.bbc.co.uk/olmedia/460000/images/_463071_nudge.jpg

                                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

                                  @gaieus said:

                                  And it will also be obsolete on the new forums πŸ˜‰

                                  What will be obsolete? Marking a thread as "solved"?

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

                                  1 Reply Last reply Reply Quote 0
                                  • GaieusG Offline
                                    Gaieus
                                    last edited by

                                    Yes.

                                    Gai...

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

                                    Advertisement