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

Unfold.rb script: useful for UV-mapping?

Scheduled Pinned Locked Moved Developers' Forum
61 Posts 23 Posters 14.6k Views 23 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.
  • S Offline
    solo
    last edited by 2 Jun 2008, 19:53


    http://img175.imageshack.us/img175/7724/concemv1.jpg

    http://www.solos-art.com

    If you see a toilet in your dreams do not use it.

    1 Reply Last reply Reply Quote 0
    • S Offline
      solo
      last edited by 2 Jun 2008, 20:00

      Make a cone shape and then project the texture attached below to the cone from above view, notice it will map the shape of the cone perfectly without distortion.


      camo1.jpg

      http://www.solos-art.com

      If you see a toilet in your dreams do not use it.

      1 Reply Last reply Reply Quote 0
      • F Offline
        Frederik
        last edited by 2 Jun 2008, 20:01

        Oohhh... I am goosey all over... πŸ˜„
        This sure looks like an awesome feature..!! πŸ‘
        Would LOVE to have this in SU...!!!

        Cheers
        Kim Frederik

        1 Reply Last reply Reply Quote 0
        • J Offline
          Jim
          last edited by 2 Jun 2008, 20:17

          I have been following, but I don't know the first thing about UV mapping.

          @unknownuser said:

          http://i140.photobucket.com/albums/r3/kwistenbiebel1/SU/newuv_tb.jpg

          I'm not sure I understand how this image was created. I don't think it is a simple unfolding. Has there been some deformation of faces in order to close gaps?

          Hi

          1 Reply Last reply Reply Quote 0
          • K Offline
            kwistenbiebel
            last edited by 2 Jun 2008, 20:47

            That image derives from (soft) selecting parts of a 3D human body model.
            The different selected groups (hands, head, etc...) are unfolded on their own so for each item a different texture can be made/edited in Photoshop. So the splitting up thing is user based. The smallest parts you see are finger joints, as they need refined Pshop maps applied etc...

            This example off course is the most complex one, where different parts of the model get unfolded seperately.
            Solos sphere demonstration (see his images)or Howardshongs apple are somewhat closer to daily use in SU I guess, but the principle remains the same.

            The '3D Pin method' earlier described would even make it much more WYSIWYG, as you can directly see the effect of moving a pin on the 3D surface.

            Stuff to think about πŸ˜‰....

            1 Reply Last reply Reply Quote 0
            • R Offline
              Richard
              last edited by 3 Jun 2008, 02:59

              I think the two mapping techniques being discussed here are different or should be! the rewrapping versus pinned deformation!

              This function of wrapping and rewrapping is quite common to other modelling and texturing apps. Maybe someone with one of these could show example!

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

              1 Reply Last reply Reply Quote 0
              • P Offline
                plot-paris
                last edited by 3 Jun 2008, 07:05

                I think the multi-pin-method should be used throughout the whole texturin process (so that you can apply complicated distortions even to a simple rectangle shape).

                I like the idea to select the "2D Mapping" tool from the standart context menu for manipulating textures.

                2dmapping.jpg
                if you simply select the 2D Mapping option and an unfolded copy of the object is shown, on which you can position your texture - when you are done, press enter and the only thing that remains is the perfectly textured 3D model (no manually unfolding and refolding geometry - very fast and easy workflow!) πŸ˜›

                1 Reply Last reply Reply Quote 0
                • S Offline
                  sorgesu
                  last edited by 10 Aug 2008, 15:26

                  Because I just recently became interested in this subject, I found this on a search and I'm resurrecting.

                  Further to the above speculations, I was thinking it would be great to be able to substitute a whole group of textures that are mapped to the subcomponents of a model,such as a person or a car for instance. That way, instead of providing the person or car in various colour verisons as an skp, all you need to do is substitute a material library on an existing model. If one must create a new skp for the same model, in a different colour, or maybe with some different detailing, when you create the variations you would have to go through mapping all the compoenets one by one again on the same model. Having a swap feature for the material "set" would be great.

                  Susan Sorger
                  Former Seller Hand Rendered Entourage
                  Former Canadian Authorized Training Centre, SketchUp

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    sorgesu
                    last edited by 10 Aug 2008, 15:58

                    okay, I found a ruby script on Didier's site: Global material changer.
                    It is almost doing exactly what I want. It replaces any one or "ALL" of a the materials on an model/component. But your choices for replacing are only with a single default material or something from the existing list. So how difficult to modify this so that you can replace with a material set that has some built in- one to one relationship to the existing materials? Maybe same name with a numeric modifier?

                    Susan Sorger
                    Former Seller Hand Rendered Entourage
                    Former Canadian Authorized Training Centre, SketchUp

                    1 Reply Last reply Reply Quote 0
                    • K Offline
                      kwistenbiebel
                      last edited by 11 Aug 2008, 07:08

                      @sorgesu said:

                      Because I just recently became interested in this subject, I found this on a search and I'm resurrecting.

                      Further to the above speculations, I was thinking it would be great to be able to substitute a whole group of textures that are mapped to the subcomponents of a model,such as a person or a car for instance. That way, instead of providing the person or car in various colour verisons as an skp, all you need to do is substitute a material library on an existing model. If one must create a new skp for the same model, in a different colour, or maybe with some different detailing, when you create the variations you would have to go through mapping all the compoenets one by one again on the same model. Having a swap feature for the material "set" would be great.

                      Swapping is already possible, even with uv-sets in place (as long as the new bitmap has the same image size as the old one.)
                      Write down the dimensions of the existing texture (the dimensions specified in the material editor).
                      Then do the substitution from within the 'Entity layer' (NOT from material editor).
                      Next thing to do is going to the material editor and change the dimensions to the ones you wrote down.
                      It's tedious but it works.

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        sorgesu
                        last edited by 11 Aug 2008, 10:57

                        NO swapping is not currently passible for ane entire "group" of materials all at once, which is what I was requsting.

                        Say I have a car component and it has 17 materials assigned to different portions of the car. I want those 17 materials defined as a "set" and I want another set containing a different 17 to be swapped in in one go.

                        Susan Sorger
                        Former Seller Hand Rendered Entourage
                        Former Canadian Authorized Training Centre, SketchUp

                        1 Reply Last reply Reply Quote 0
                        • K Offline
                          kwistenbiebel
                          last edited by 11 Aug 2008, 10:58

                          Indeed: No for groups of materials, Yes for ungrouped meshes containing 1 material.

                          1 Reply Last reply Reply Quote 0
                          • R Offline
                            RickW
                            last edited by 11 Aug 2008, 18:35

                            Susan,

                            I'm working on it. πŸ˜„

                            RickW
                            [www.smustard.com](http://www.smustard.com)

                            1 Reply Last reply Reply Quote 0
                            • S Offline
                              sorgesu
                              last edited by 11 Aug 2008, 19:34

                              OMG that's amazing. Thanl's a heap!!!

                              Susan Sorger
                              Former Seller Hand Rendered Entourage
                              Former Canadian Authorized Training Centre, SketchUp

                              1 Reply Last reply Reply Quote 0
                              • P Offline
                                Phil Rader AIA
                                last edited by 13 Aug 2008, 01:08

                                Rick can you get your 4 month old to help out with ruby coding and expedite the process..

                                http://www.philrader.com

                                1 Reply Last reply Reply Quote 0
                                • jujuJ Offline
                                  juju
                                  last edited by 13 Aug 2008, 11:36

                                  @unknownuser said:

                                  Rick can you get your 4 month old to help out with ruby coding and expedite the process..

                                  Now now Phil, all good things come to those who wait.

                                  Save the Earth, it's the only planet with chocolate.

                                  1 Reply Last reply Reply Quote 0
                                  • L Offline
                                    linea
                                    last edited by 13 Aug 2008, 11:57

                                    Very interesting thread!!! I have some physical models I need to build for an exhibition, so this would be very useful but I can't get the unfold script to work on Vista, any ideas?

                                    @unknownuser said:

                                    Blender has the capability you are requesting, KB. Neatest part is where you can actually use painting tools on the unfolded map and then see them applied in the rendered viewport.

                                    I haven't used it in a while, but now that I've been given a little project with a certain degree carte blanche I was planning on testing all kinds of integrations with SU, Blender, and more obscure programs.

                                    Lewis,

                                    Please could you let us know how this goes, I have generally found Blender to work very well with SU imports/exports.

                                    1 Reply Last reply Reply Quote 0
                                    • R Offline
                                      Richard
                                      last edited by 14 Aug 2008, 02:00

                                      @unknownuser said:

                                      Very interesting thread!!! I have some physical models I need to build for an exhibition, so this would be very useful but I can't get the unfold script to work on Vista, any ideas?

                                      mate youi could do a search on the net for paper arch models. I know once there was a thread on the PPB about these and there was a link to an application that could output a flat plan unfold to produce a paper model from digital models....

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

                                      1 Reply Last reply Reply Quote 0
                                      • jenujacobJ Offline
                                        jenujacob
                                        last edited by 14 Aug 2008, 03:35

                                        @richard said:

                                        @unknownuser said:

                                        Very interesting thread!!! I have some physical models I need to build for an exhibition, so this would be very useful but I can't get the unfold script to work on Vista, any ideas?

                                        mate youi could do a search on the net for paper arch models. I know once there was a thread on the PPB about these and there was a link to an application that could output a flat plan unfold to produce a paper model from digital models....

                                        that would be Pepakura i suppose???
                                        http://www.tamasoft.co.jp/pepakura-en/

                                        1 Reply Last reply Reply Quote 0
                                        • R Offline
                                          Richard
                                          last edited by 18 Aug 2008, 07:33

                                          Thats the one mate!!!!

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

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

                                          Advertisement