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

    Help creating a texture map - Resolved, but could be better

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    12 Posts 6 Posters 1.9k Views 6 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.
    • GaieusG Offline
      Gaieus
      last edited by

      If you "unfold" the building so that it's faces are placed on a coplanar plane, yes.

      Gai...

      1 Reply Last reply Reply Quote 0
      • brodieB Offline
        brodie
        last edited by

        ...for which I believe there's a ruby script. Never used it but I'd guess it's called "unfold" πŸ˜„

        -Brodie

        steelblue http://www.steelbluellc.com

        1 Reply Last reply Reply Quote 0
        • D Offline
          d12dozr
          last edited by

          Thanks fellas...Jim Foltz did make an "Unfold" plugin - its here: http://sketchuptips.blogspot.com/2007/08/plugin-unfoldrb.html

          3D Printing with SketchUp Book
          http://goo.gl/f7ooYh

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

            And can you unfold the model (preserving texture coordinates) with it? If you can unfold (i.e. all the faces are coplanar) and the texture is still on the faces properly mapped you can use this method to combine all textures into one image.

            Of course, SU will "add" some white spaces where it needs to be added to make the texture rectangular (image files are rectangular no matter what shape they are mapped on)

            Gai...

            1 Reply Last reply Reply Quote 0
            • D Offline
              d12dozr
              last edited by

              You're a smart fellow, Gai πŸ˜‰ It worked like a charm! I just used a small model I had made for testing a Collada export. The process would be harder with a more complicated model where the unfolded parts would overlap, but it could still be done in separate pieces.

              Here are the steps to make a UV/texture map(they are the same thing, right?):

              1. Copy the model(so you don't have to fold the original back up or in case you make a mistake)
              2. Unfold the model using the "Unfold" plugin listed above - starting from the top and working down worked best for me
              3. Select all > right click > "combine textures" > click yes to "Do you want to erase interior edges?"
              4. Right click > Texture > Edit Texture Image... (if you need to take it to your image editor)

              Some images:
              Original model

              The completed UV Map
              Thanks, Gai!

              3D Printing with SketchUp Book
              http://goo.gl/f7ooYh

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

                If only we got Ruby access to the methods that combines the maps - we could have a UVunwarp plugin....
                dreams

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

                1 Reply Last reply Reply Quote 0
                • D Offline
                  d12dozr
                  last edited by

                  That would be the cat's meow, Thom πŸ˜„

                  I found a related tutorial by "Colonel Klink", where he made each face of the model a group, then a component, made a copy of the model, unfolded the copy, made a UV map template from the unfolded model, then applied textures to the template in an image editor. From there, he took it back to SU, projected the textures onto the unfolded model, and they automatically were applied to the original unopened model. Without further ado, here is the tutorial: http://www.resentmentpublications.com/downloads/SUUVMAP.pdf

                  3D Printing with SketchUp Book
                  http://goo.gl/f7ooYh

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

                    My current (already filed) "feature request" is that "make unique" and "combine textures" should be available on non-planar faces as well. Imagine then you should not even unfold the whole thing but select all > make unique > right click again > combine textures and be amazed by what a mess you did. πŸ˜„

                    (Of course I was rather thinking about curved surfaces such as the apse of a church or something but imagination is endless)

                    Gai...

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      alz
                      last edited by

                      In d12dozr's example above, when unfolding and combining the hut to create the UV sheet, you create a copy. This becomes a separate object and doesn't link to the materials on the original. So, the missing step is taking the new UV sheet and re-mapping it to each face of the original hut, correct?

                      (seems kinda obvious, but I wanted to call out this missing bit)

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        Aerilius
                        last edited by

                        πŸ‘ πŸ‘ πŸ‘
                        I also had this idea some weeks ago. And it proves that this is an important problem/feature request.

                        Would it be possible with a ruby plugin instead of creating components from each face (maybe hundreds faces)?

                        1 Reply Last reply Reply Quote 0
                        • D Offline
                          d12dozr
                          last edited by

                          @alz said:

                          In d12dozr's example above, when unfolding and combining the hut to create the UV sheet, you create a copy. This becomes a separate object and doesn't link to the materials on the original. So, the missing step is taking the new UV sheet and re-mapping it to each face of the original hut, correct?

                          (seems kinda obvious, but I wanted to call out this missing bit)

                          In my last post above, I give a link to a tutorial by Colonel Klink where he describes how to link materials to the original component. It works but is labor-intensive and not something you could do on a hi-poly model. Here is the link: http://www.resentmentpublications.com/downloads/SUUVMAP.pdf

                          3D Printing with SketchUp Book
                          http://goo.gl/f7ooYh

                          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