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

    [Plugin] UVTools v0.1

    Scheduled Pinned Locked Moved Plugins
    180 Posts 71 Posters 122.4k Views 71 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.
    • plot-parisP Offline
      plot-paris
      last edited by

      what a wonderful plugin - works really good.

      cylindrical mapping is even exportet in Indigo (spherical is screwed up a bit) ๐Ÿ˜‰

      spherical_zylindrical.jpg
      this is a start of a new world in SketchUp...

      thank you so much Whaat!

      1 Reply Last reply Reply Quote 0
      • pilouP Offline
        pilou
        last edited by

        @unknownuser said:

        on an untextured object causes the fastest splat you've ever seen. Zappp - and SU's gone.

        I confirm ๐Ÿ˜†


        sphere.jpg

        Frenchy Pilou
        Is beautiful that please without concept!
        My Little site :)

        1 Reply Last reply Reply Quote 0
        • W Offline
          Whaat
          last edited by

          @plot-paris said:

          what a wonderful plugin - works really good.

          cylindrical mapping is even exportet in Indigo (spherical is screwed up a bit) ๐Ÿ˜‰

          [attachment=0:2hx0fdop]<!-- ia0 -->spherical_zylindrical.jpg<!-- ia0 -->[/attachment:2hx0fdop]
          this is a start of a new world in SketchUp...

          thank you so much Whaat!

          Your sphere might have reversed faces. I have seen this type of behavior before in the case of reveresed faces.

          SketchUp Plugins for Professionals

          1 Reply Last reply Reply Quote 0
          • plot-parisP Offline
            plot-paris
            last edited by

            doesn't work with right face orientation either - I just checked to be sure... still the same messy texture.

            indigo would have ignored a reversed face anyway.

            but this is the first beta release, and it works perfect in SU! ๐Ÿ˜
            it is such a wonderful thing (just imagine how easy it is for fred to texture his sculptures now ๐Ÿ˜„ )

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

              Stinkie is right.

              Lightning BugSplat!!! on non-textured surfaces.

              Otherwise works like a charm.

              Thanks for such a fun tool too.

              dtr

              1 Reply Last reply Reply Quote 0
              • PixeroP Offline
                Pixero
                last edited by

                Whaat, here is a link that might be of interest to you.
                http://ozviz.wasp.uwa.edu.au/~pbourke/texture_colour/spheremap/

                1 Reply Last reply Reply Quote 0
                • J Offline
                  Jon
                  last edited by

                  I have to agree with plot-paris. It doesn't kep it's genuine texture in Kerkythea, either.
                  But other than that, it works like a charm! Thank you!!! ๐Ÿ˜

                  Jon
                  KT Team member

                  1 Reply Last reply Reply Quote 0
                  • W Offline
                    Whaat
                    last edited by

                    @jon said:

                    I have to agree with plot-paris. It doesn't kep it's genuine texture in Kerkythea, either.

                    I find this very hard to believe! ๐Ÿ˜ฎ Please post your SKP file for me to test. Thanks!

                    SketchUp Plugins for Professionals

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      Jon
                      last edited by

                      Well, it fails with every model I've exported so far, but here's the most recent one. ๐Ÿ˜‰
                      With some models, there seems to be the change of the actual texture when exporting.
                      The other spheres surrounding the model are the atmosphere and cloud layer. ๐Ÿ˜‰
                      Thanks again, Whaat! ๐Ÿ˜„


                      earth.skp

                      Jon
                      KT Team member

                      1 Reply Last reply Reply Quote 0
                      • W Offline
                        Whaat
                        last edited by

                        @jon said:

                        Well, it fails with every model I've exported so far, but here's the most recent one. ๐Ÿ˜‰
                        With some models, there seems to be the change of the actual texture when exporting.
                        The other spheres surrounding the model are the atmosphere and cloud layer. ๐Ÿ˜‰
                        Thanks again, Whaat! ๐Ÿ˜„

                        Thanks, Jon.

                        This seems to be an issue with non-triangular faces. If you can somehow triangulate the geometry prior to exporting, then the UVs should still be correct.

                        My 'Polyreducer' script triangulates all of the faces of a mesh. However, it will also reduce some polys. (The minimum is 10%). Once I triangulated your spheres, I reapplied the spherical mapping and then exported to Indigo. It worked perfect! I expect it to work with other rendering engines as well.

                        Another script that will triangulate faces is my 'SubD and Smooth' script (but it's not free)

                        Thanks for posting the scene!

                        SketchUp Plugins for Professionals

                        1 Reply Last reply Reply Quote 0
                        • J Offline
                          Jon
                          last edited by

                          Thank for the info, Whaat. ๐Ÿ˜„

                          Jon
                          KT Team member

                          1 Reply Last reply Reply Quote 0
                          • plot-parisP Offline
                            plot-paris
                            last edited by

                            and here we go - with a perfect spherical mapping in Indigo!

                            triangulated faces. thanks whaat, that really did the trick ๐Ÿ˜„

                            1 Reply Last reply Reply Quote 0
                            • S Offline
                              sepo
                              last edited by

                              Thanks for the plugin. ๐Ÿ‘ It works. You might encounter problem of reversed faces in SU and it will look kind of crazy. Reverse faces and it works. Tried quick render in Podium and it works no problem.

                              1 Reply Last reply Reply Quote 0
                              • Alan FraserA Offline
                                Alan Fraser
                                last edited by

                                Excellent work, Dale. The key to decent spherical mapping lies in a combination of triangular faces (no real surprise there) plus enough of them to do the job. Attached is the standard SU sphere which has been given 2 iterations of Subdivide and Smooth to produce much smaller triangles, then a spherical map of the Earth applied. The result is about as good as it gets.
                                My sincere compliments.

                                I haven't tried it yet, but it may be possible to raise the resolution of the mesh in just the polar regions and achieve pretty much the same result but with far fewer faces.


                                globe.skp


                                globe.jpg

                                3D Figures
                                Were you required to walk 500 miles? Were you advised to walk 500 more?
                                You could be entitled to compensation. Call the Pro Claimers now!

                                1 Reply Last reply Reply Quote 0
                                • K Offline
                                  kwistenbiebel
                                  last edited by

                                  Nice results Alan!

                                  I wil give the plugin a spin this weekend. Another cool Whaat piece of work.

                                  1 Reply Last reply Reply Quote 0
                                  • W Offline
                                    watkins
                                    last edited by

                                    Dear Alan,

                                    Could you give a little tut to show how you map the texture onto the sphere using the various tool? I cannot quite see how it all hangs together.

                                    Thanks,
                                    Bob

                                    1 Reply Last reply Reply Quote 0
                                    • Alan FraserA Offline
                                      Alan Fraser
                                      last edited by

                                      It's fairly straightforward, Bob.
                                      I imported the sphere from Shapes and exploded it.
                                      I then applied Subdivide and Smooth with 2 iterations (it maps reasonably well with just 1, but 2 is better)
                                      I then resized the sphere to exactly 10' diameter...it's a tad larger than that by default.
                                      I imported the image and exploded it, then edited its height in the Material Editor to match the sphere's diameter.
                                      I then applied the image, from the Material browser to the sphere.
                                      I then right-clicked the sphere and chose UV Tools > Spherical from the context menu....and Bingo!
                                      That's all there is to it.

                                      3D Figures
                                      Were you required to walk 500 miles? Were you advised to walk 500 more?
                                      You could be entitled to compensation. Call the Pro Claimers now!

                                      1 Reply Last reply Reply Quote 0
                                      • W Offline
                                        Whaat
                                        last edited by

                                        @alan fraser said:

                                        I then resized the sphere to exactly 10' diameter...it's a tad larger than that by default.
                                        I imported the image and exploded it, then edited its height in the Material Editor to match the sphere's diameter.

                                        Resizing the image before using the plugin is an unecessary step. The plugin will always map the image the full height of the sphere and wrap it exactly once around the sphere.

                                        SketchUp Plugins for Professionals

                                        1 Reply Last reply Reply Quote 0
                                        • Alan FraserA Offline
                                          Alan Fraser
                                          last edited by

                                          Thanks Dale. I should have figured that with no adjustment controls, it would be set to fit. I've only just taken a look now at the code.

                                          3D Figures
                                          Were you required to walk 500 miles? Were you advised to walk 500 more?
                                          You could be entitled to compensation. Call the Pro Claimers now!

                                          1 Reply Last reply Reply Quote 0
                                          • W Offline
                                            watkins
                                            last edited by

                                            Dear Alan,

                                            Many thanks for the detailed explanation. As I wrote somewhere else, I tend not to texture my models, being content with the default shades, and so I haven't built up any skill in this area.

                                            Thanks again, and thanks to Dale for another useful script. The model of the globe is really very impressive. I must have a go at Mars.

                                            Kind regards,
                                            Bob

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

                                            Advertisement