sketchucation logo sketchucation
    • Login
    โ„น๏ธ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [req] unique texture

    Scheduled Pinned Locked Moved Plugins
    15 Posts 5 Posters 2.6k Views 5 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.
    • X Offline
      xrok1
      last edited by

      @unknownuser said:

      but perhaps create a new texture from the existing

      isn't that what make unique does?

      โ€œThere are three classes of people: those who see. Those who see when they are shown. Those who do not see.โ€

      http://www.Twilightrender.com try it!

      1 Reply Last reply Reply Quote 0
      • Chris FullmerC Offline
        Chris Fullmer
        last edited by

        That's what I'm curious about. There is no existing "make unique" method. So you can't single out a face, find its material and tell it to be unique.

        But you absolutely can find a face, find its material, find the path to that material. Then make a new material and assign the image to the new material. Perhaps the actual image would need to be copied as a separate file though. I just don't know. I think Thom might be out of town right now too. Mqabe someone else has some time to test this stuff out.

        Chris

        Lately you've been tan, suspicious for the winter.
        All my Plugins I've written

        1 Reply Last reply Reply Quote 0
        • X Offline
          xrok1
          last edited by

          well if someone does crack the case it would be nice to be able to do the same (multiple faces) with projected texture as well ๐Ÿ˜‰

          โ€œThere are three classes of people: those who see. Those who see when they are shown. Those who do not see.โ€

          http://www.Twilightrender.com try it!

          1 Reply Last reply Reply Quote 0
          • TIGT Offline
            TIG Moderator
            last edited by

            If I get this right you want a new method material.make_unique ?
            If so I have something...

            material-make_unique.rb adds a new Method to Sketchup's Material Class -
            material.make_unique
            It makes a clone of the material from the original and gives it a
            new name, incrementing the 'name' with #n at the end.
            Returns a unique new material.
            material-make_unique.rb

            Example of use...

            make material of selected faces unique

            type makefacesmaterialsunique in the Ruby Console

            No UV mapping yet...

            TIG

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

              The native make unique function doesn't simply makes a new material based on the one applied to a face but also

              • crops the image on the face boundaries
              • if it is a "tiling" image (more instances applied on a face obviously), it will "unite" those images into the unique image

              Gai...

              1 Reply Last reply Reply Quote 0
              • TIGT Offline
                TIG Moderator
                last edited by

                @gaieus said:

                The native make unique function doesn't simply makes a new material based on the one applied to a face but also

                • crops the image on the face boundaries
                • if it is a "tiling" image (more instances applied on a face obviously), it will "unite" those images into the unique image

                I know... This was just a quick first attempt... The UV and size/merged images need work... ๐Ÿ˜’

                TIG

                1 Reply Last reply Reply Quote 0
                • X Offline
                  xrok1
                  last edited by

                  great progress! keep going ๐Ÿ˜„
                  are you going to throw the projected option in there too?? ๐Ÿ˜

                  โ€œThere are three classes of people: those who see. Those who see when they are shown. Those who do not see.โ€

                  http://www.Twilightrender.com try it!

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

                    @tig said:

                    I know... This was just a quick first attempt... The UV and size/merged images need work... ๐Ÿ˜’

                    OK-OK, I wasn't going to "lesson" you (I was sure you know ๐Ÿ˜‰ ) just mentioned to make it obvious for all.

                    Anyway, I think that the improved texturing tools in SU 7 are still undervalued by many.

                    Gai...

                    1 Reply Last reply Reply Quote 0
                    • X Offline
                      xrok1
                      last edited by

                      any progress? ๐Ÿ˜›

                      โ€œThere are three classes of people: those who see. Those who see when they are shown. Those who do not see.โ€

                      http://www.Twilightrender.com try it!

                      1 Reply Last reply Reply Quote 0
                      • TIGT Offline
                        TIG Moderator
                        last edited by

                        Sorry... it's at the end of a long list ๐Ÿ˜ž If anyone else wants to chip in pleased do...

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • X Offline
                          xrok1
                          last edited by

                          TIG, thanks for considering it and best luck with all your other projects. ๐Ÿ˜„

                          โ€œThere are three classes of people: those who see. Those who see when they are shown. Those who do not see.โ€

                          http://www.Twilightrender.com try it!

                          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