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

    [REQ] TransparencySort Script

    Scheduled Pinned Locked Moved Plugins
    10 Posts 3 Posters 1.1k Views 3 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.
    • PixeroP Offline
      Pixero
      last edited by

      Would it be possible to have a script run TransparencySort before showing next frame of an animation?
      For minimising those ugly white borders around images (trees for example) when SU gets confused which is closest to the camera.

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

        What's TransparencySort ?

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

        1 Reply Last reply Reply Quote 0
        • PixeroP Offline
          Pixero
          last edited by

          Look under rendering options in the API.
          My guess is that it sorts what transparent object is in front of another.
          Hopefully it will take care of those ugly transparency glitches in SU.

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

            I think that's only the Transparency Quality you set in the Styles window. Even at highest I still see artefacts.

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

            1 Reply Last reply Reply Quote 0
            • PixeroP Offline
              Pixero
              last edited by

              If you Google "transparency sort Open GL" you'll find explanations that seem to correspond with what I wrote.
              I don't understand what "sort" would have to do with quality settings? To me it seem like it would have more to do with sorting... πŸ’š

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

                I thought it related to how much processing it's spend on sorting the transparency.

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

                1 Reply Last reply Reply Quote 0
                • PixeroP Offline
                  Pixero
                  last edited by

                  Maybe you're right.

                  I just hoped for an easy fix for this annoying problem.
                  One might need to hack into Open GL to "sort" the transparent polygons then. 😞

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

                    Dunno.
                    What's odd is that I some times find "Medium" to give better result than "Best".. o_O ...go figure...

                    But is OpenGL used when exporting 2D graphic? Does the artefact still occur?

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

                    1 Reply Last reply Reply Quote 0
                    • PixeroP Offline
                      Pixero
                      last edited by

                      Here is a simple test scene that shows the problem.


                      Transp_test.skp

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

                        This problem really annoys me! So, SU uses the order of creation rather than the distance to the camera to decide what should be in front? Shouldn't that be relatively easy for Google to fix?

                        http://sketchup.google.com/3dwarehouse/cldetails?mid=3096a836877fb9af6cd8ad826e9017b8&prevstart=0

                        1 Reply Last reply 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