• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

[REQ] TransparencySort Script

Scheduled Pinned Locked Moved Plugins
10 Posts 3 Posters 1.1k Views
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.
  • P Offline
    Pixero
    last edited by 15 Jun 2009, 10:18

    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
    • T Offline
      thomthom
      last edited by 15 Jun 2009, 10:21

      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
      • P Offline
        Pixero
        last edited by 15 Jun 2009, 11:52

        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
        • T Offline
          thomthom
          last edited by 15 Jun 2009, 12:11

          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
          • P Offline
            Pixero
            last edited by 15 Jun 2009, 12:23

            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
            • T Offline
              thomthom
              last edited by 15 Jun 2009, 12:25

              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
              • P Offline
                Pixero
                last edited by 15 Jun 2009, 12:34

                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
                • T Offline
                  thomthom
                  last edited by 15 Jun 2009, 12:41

                  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
                  • P Offline
                    Pixero
                    last edited by 15 Jun 2009, 13:00

                    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 15 Jun 2009, 19:30

                      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
                      1 / 1
                      • First post
                        1/10
                        Last post
                      Buy SketchPlus
                      Buy SUbD
                      Buy WrapR
                      Buy eBook
                      Buy Modelur
                      Buy Vertex Tools
                      Buy SketchCuisine
                      Buy FormFonts

                      Advertisement