• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

[Plugin] UV Toolkit

Scheduled Pinned Locked Moved Plugins
377 Posts 86 Posters 298.7k 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.
  • T Offline
    thomthom
    last edited by 11 Jan 2011, 10:10

    Nice one.
    I have an update coming soon, 2.2. It allows you to map a set of quad-faces, copy the mapping to the UV clipboard and when you then select a set of other quadfaces and paste they are randomly applied UV mapping from the clipboard set.

    Makes it easy to apply a set of variations. Tried it on a geometree from FormFonts:
    Set of five UV mapping copied randomly to the quad-face leaves.

    One can make quite efficient mapping if you use sprite techniques - one material, with a texture containing all the variations.

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

    1 Reply Last reply Reply Quote 0
    • G Offline
      Gaieus
      last edited by 11 Jan 2011, 10:14

      That will be interesting. Can hardly wait!
      πŸ˜„

      Gai...

      1 Reply Last reply Reply Quote 0
      • R Offline
        Rich O Brien Moderator
        last edited by 11 Jan 2011, 10:16

        Can you explain more about 'sprite technique'? Never heard of it but I'm thinking it's a texture FontSync a range of similar hues?

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

        1 Reply Last reply Reply Quote 0
        • T Offline
          thomthom
          last edited by 11 Jan 2011, 10:20

          @unknownuser said:

          Can you explain more about 'sprite technique'? Never heard of it but I'm thinking it's a texture FontSync a range of similar hues?

          You just combine multiple textures into one. Then apply just part of the texture to different faces. That way you have one material that serves multiple purposes.

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

          1 Reply Last reply Reply Quote 0
          • R Offline
            Rich O Brien Moderator
            last edited by 11 Jan 2011, 10:30

            FontSync? What was i typing?

            That meant to say 'containing'... πŸ˜’

            I'm still lost, your plugin can combine the numerous textures or this is done by the user externally?

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

            1 Reply Last reply Reply Quote 0
            • T Offline
              thomthom
              last edited by 11 Jan 2011, 10:39

              @unknownuser said:

              I'm still lost, your plugin can combine the numerous textures

              No - the user makes a texture.
              In the case of the tree, combine some textures of leaves into one texture. Apply these variations to a set of faces. Copy their UV to the UV clipboard. Select the remaining untextured leaves and paste the UVs.

              That makes it very easy to manage your materials. For instance, you could then you edit the one texture to a different set of variations and all the leaves will be updated on one operation.

              As for gaieus' example he could make a texture with a set of variations of bricks.

              I'll be making a video with a quick example when v2.2 is done.

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

              1 Reply Last reply Reply Quote 0
              • R Offline
                Richard
                last edited by 11 Jan 2011, 14:03

                Thomas (plugin monkey!)

                What a great addition mate! I can think of a great way this will assist workflow in my case - as you mentioned 'sprite technique' I've never heard it termed that! But already use this for mapping all my furniture, fittings, carpet, tiles, wall and ceiling colours, light fittings etc for internals on exterior renders - all to the one map so that I clear about 20 materials out of my material browser and have just one material in maxwell.

                This plugin will help to spread these over randomly inserted objects! WOW!

                You are a god!

                [BUILTBRAND.COM.AU](http://builtbrand.com.au/)

                1 Reply Last reply Reply Quote 0
                • M Offline
                  massimo Moderator
                  last edited by 12 Jan 2011, 12:21

                  Thanks Thom for this nice plugin! πŸ‘

                  1 Reply Last reply Reply Quote 0
                  • G Offline
                    Gaieus
                    last edited by 12 Jan 2011, 13:59

                    @thomthom said:

                    I'll be making a video with a quick example when v2.2 is done.

                    Just leave that for Rich (once he finally understands the plugin).
                    πŸ˜‰

                    Gai...

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      MartinK
                      last edited by 13 Jan 2011, 22:48

                      I'm in constant awe of you and all the other generous Ruby contributors. Your work has taken SketchUp to another level. Many Thanks.

                      1 Reply Last reply Reply Quote 0
                      • R Offline
                        Rich O Brien Moderator
                        last edited by 13 Jan 2011, 22:54

                        @gaieus said:

                        @thomthom said:

                        I'll be making a video with a quick example when v2.2 is done.

                        Just leave that for Rich (once he finally understands the plugin).
                        πŸ˜‰

                        How about i post that video of you in BaseCamp surrounded by an enthralled audience!

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

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          thomthom
                          last edited by 14 Jan 2011, 07:31

                          whut video?

                          @unknownuser said:

                          enthralled

                          Witchcraft?

                          http://4.bp.blogspot.com/_Wvkd8i9RN4Q/S_06nQEbbQI/AAAAAAAAAMA/BIxzv23f8Ak/s320/3b9f4cf5-burn-the-witch-burn-witch-kill-monty-python-demotivational-poster-1223816026.jpg

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

                          1 Reply Last reply Reply Quote 0
                          • R Offline
                            Richard
                            last edited by 14 Jan 2011, 07:50

                            @unknownuser said:

                            @gaieus said:

                            @thomthom said:

                            I'll be making a video with a quick example when v2.2 is done.

                            Just leave that for Rich (once he finally understands the plugin).
                            πŸ˜‰

                            How about i post that video of you in BaseCamp surrounded by an enthralled audience!

                            I'd like to see that, I saw some of Mateo's facebook images and would love to see MORE!!!!

                            [BUILTBRAND.COM.AU](http://builtbrand.com.au/)

                            1 Reply Last reply Reply Quote 0
                            • R Offline
                              Richard
                              last edited by 18 Jan 2011, 23:35

                              Mate I played around with the plugin for a tree trunk in combination with fredoscale and I ended up with a mass of assigned materials (all the same) when exported to maxwell. I noted this before with Whaat's UV tools (cant remember the name of the plugin).

                              Funny though it was only for several faces - I'll have to test some more and see what went on there!

                              Mate dragged over from Whaat's UV tools thread!

                              @unknownuser said:

                              ThomThom I'm not entirely sure, but I'm guessing the Maxwell exporter exported out a texture for each face with a distorted texture.

                              Mate I think it well could be that as only a few faces effected it would be likely these subdivided during editing.

                              BTW starting a new thread for you to check out regarding a workaround for locating HDRI worked out how to do it in SU and you might be able to automate it a little.

                              [BUILTBRAND.COM.AU](http://builtbrand.com.au/)

                              1 Reply Last reply Reply Quote 0
                              • G Offline
                                Gaieus
                                last edited by 19 Jan 2011, 07:06

                                Richard,

                                Indeed UV Toolkit 2 only works properly if the number/shape of the initial faces is the same as those of the end result.

                                If during a distortion operation faces get subdivided further, it fails. You can pre-triangulate your faces first if needed however.

                                I found that after I manipulated my mesh, it rendered properly in Twilight and Thea (neither of which "likes" distorted textures AFAIK) so I thought the plugin fixes texture distortion.

                                Gai...

                                1 Reply Last reply Reply Quote 0
                                • T Offline
                                  thomthom
                                  last edited by 19 Jan 2011, 07:27

                                  @gaieus said:

                                  Richard,

                                  Indeed UV Toolkit 2 only works properly if the number/shape of the initial faces is the same as those of the end result.

                                  If during a distortion operation faces get subdivided further, it fails. You can pre-triangulate your faces first if needed however.

                                  I found that after I manipulated my mesh, it rendered properly in Twilight and Thea (neither of which "likes" distorted textures AFAIK) so I thought the plugin fixes texture distortion.

                                  You mean when using UV Memory?
                                  That doesn't fix anything - in fact, it doesn't reapply distorted textures to triangles, they end up as skewed textures. Though, if you have a dense triangulated mesh you probably don't see the artefacts.

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

                                  1 Reply Last reply Reply Quote 0
                                  • G Offline
                                    Gaieus
                                    last edited by 19 Jan 2011, 07:35

                                    @thomthom said:

                                    You mean when using UV Memory?
                                    That doesn't fix anything - in fact, it doesn't reapply distorted textures to triangles, they end up as skewed textures. Though, if you have a dense triangulated mesh you probably don't see the artefacts.

                                    Well, I used triangulated faces here and it re-applied the texture perfectly:
                                    http://forums.sketchucation.com/viewtopic.php?p=300361#p300361
                                    (skp also added in that post)

                                    Gai...

                                    1 Reply Last reply Reply Quote 0
                                    • G Offline
                                      Gaieus
                                      last edited by 19 Jan 2011, 07:49

                                      And it also renders the twisted/bent "column" correctly (all faces are triangulated)


                                      UV.jpg

                                      Gai...

                                      1 Reply Last reply Reply Quote 0
                                      • I Offline
                                        irvinekagiwa
                                        last edited by 19 Jan 2011, 08:21

                                        can't use your plug in this error appears Error Loading File tt_uv_toolkit_2.rb
                                        no such file to load -- TT_Lib2/core.rb

                                        1 Reply Last reply Reply Quote 0
                                        • T Offline
                                          thomthom
                                          last edited by 19 Jan 2011, 08:26

                                          Triangulation is probably a good solution to deal with render engines. Maybe I should add an option to triangulate (soft/smooth the new faces) to the UV memory tool...

                                          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
                                          • 7
                                          • 8
                                          • 9
                                          • 10
                                          • 11
                                          • 18
                                          • 19
                                          • 9 / 19
                                          9 / 19
                                          • First post
                                            168/377
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement