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

SketchUp::Image transforms

Scheduled Pinned Locked Moved Developers' Forum
8 Posts 2 Posters 356 Views 2 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.
  • A Offline
    AdamB
    last edited by 30 Aug 2010, 08:19

    Anyone had any success extracting the local transform for a SketchUp::Image?

    Developer of LightUp Click for website

    1 Reply Last reply Reply Quote 0
    • T Offline
      thomthom
      last edited by 30 Aug 2010, 08:39

      http://forums.sketchucation.com/viewtopic.php?f=180&t=21869

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

      1 Reply Last reply Reply Quote 0
      • A Offline
        AdamB
        last edited by 30 Aug 2010, 12:57

        Whoa. Great catch Alex - its the Vector3d#axes method I was missing.

        Be great to have the code behind the method (pretty please?) - the problem is that while you can generate orthogonal vectors from a normal easily enough, there is some ambiguity regarding orientation; this method obviously captures how Google chose to resolve it - but be good to know what rule they chose.

        LightUp too can now handle Images - they're great for adding surface details to models. Water stains, scratches, rubbish etc.

        [And thankyou Thomthom for the link.]

        Adam

        Developer of LightUp Click for website

        1 Reply Last reply Reply Quote 0
        • T Offline
          thomthom
          last edited by 30 Aug 2010, 13:09

          I wonder why Image elements don't have a regular transformation property but instead expose a separate set of methods.

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

          1 Reply Last reply Reply Quote 0
          • A Offline
            AdamB
            last edited by 30 Aug 2010, 16:26

            BTW Using decals in SketchUp is pretty cool:

            http://i614.photobucket.com/albums/tt229/ElektraGlide/SUImage-test_lightup.jpg

            Developer of LightUp Click for website

            1 Reply Last reply Reply Quote 0
            • T Offline
              thomthom
              last edited by 30 Aug 2010, 17:00

              How do you deal with images glued to faces like that?
              Is the actual Image transformation slightly offset the faces, or is that something SU only does internally to avoid Z-Fighting?
              How are you avoiding Z-Fighting?

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

              1 Reply Last reply Reply Quote 0
              • A Offline
                AdamB
                last edited by 30 Aug 2010, 17:21

                LightUp processes the SketchUp::Image objects and marks their material with some internal flags which changes how they're handled to ensure you don't get z-fighting. Basically uses the machinery in LightUp that is there anyway to handle transparency etc.

                Developer of LightUp Click for website

                1 Reply Last reply Reply Quote 0
                • T Offline
                  thomthom
                  last edited by 30 Aug 2010, 18:11

                  I do like that approach though. Using Images for advanced material compositing.

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

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

                  Advertisement