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

    [Plugin] UVTools v0.1

    已排程 已置頂 已鎖定 已移動 Plugins
    180 貼文 71 Posters 122.4k 瀏覽 71 Watching
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • plot-parisP 離線
      plot-paris
      最後由 編輯

      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 條回覆 最後回覆 回覆 引用 0
      • D 離線
        dtrarch
        最後由 編輯

        Stinkie is right.

        Lightning BugSplat!!! on non-textured surfaces.

        Otherwise works like a charm.

        Thanks for such a fun tool too.

        dtr

        1 條回覆 最後回覆 回覆 引用 0
        • PixeroP 離線
          Pixero
          最後由 編輯

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

          1 條回覆 最後回覆 回覆 引用 0
          • J 離線
            Jon
            最後由 編輯

            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 條回覆 最後回覆 回覆 引用 0
            • W 離線
              Whaat
              最後由 編輯

              @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 條回覆 最後回覆 回覆 引用 0
              • J 離線
                Jon
                最後由 編輯

                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 條回覆 最後回覆 回覆 引用 0
                • W 離線
                  Whaat
                  最後由 編輯

                  @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 條回覆 最後回覆 回覆 引用 0
                  • J 離線
                    Jon
                    最後由 編輯

                    Thank for the info, Whaat. 😄

                    Jon
                    KT Team member

                    1 條回覆 最後回覆 回覆 引用 0
                    • plot-parisP 離線
                      plot-paris
                      最後由 編輯

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

                      triangulated faces. thanks whaat, that really did the trick 😄

                      1 條回覆 最後回覆 回覆 引用 0
                      • S 離線
                        sepo
                        最後由 編輯

                        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 條回覆 最後回覆 回覆 引用 0
                        • Alan FraserA 離線
                          Alan Fraser
                          最後由 編輯

                          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 條回覆 最後回覆 回覆 引用 0
                          • K 離線
                            kwistenbiebel
                            最後由 編輯

                            Nice results Alan!

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

                            1 條回覆 最後回覆 回覆 引用 0
                            • W 離線
                              watkins
                              最後由 編輯

                              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 條回覆 最後回覆 回覆 引用 0
                              • Alan FraserA 離線
                                Alan Fraser
                                最後由 編輯

                                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 條回覆 最後回覆 回覆 引用 0
                                • W 離線
                                  Whaat
                                  最後由 編輯

                                  @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 條回覆 最後回覆 回覆 引用 0
                                  • Alan FraserA 離線
                                    Alan Fraser
                                    最後由 編輯

                                    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 條回覆 最後回覆 回覆 引用 0
                                    • W 離線
                                      watkins
                                      最後由 編輯

                                      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 條回覆 最後回覆 回覆 引用 0
                                      • Alan FraserA 離線
                                        Alan Fraser
                                        最後由 編輯

                                        Bob,
                                        You'll find some decent planet maps here.
                                        http://planetpixelemporium.com/planets.html
                                        The individual planets are linked at the bottom of the page.

                                        The maps are distorted because in order to fit a sphere the entire top and bottom edges need to come to a single point at either pole, so you'll appreciate that things get progressively stretched as you move away from the equator.

                                        You don't need to start from scratch. You can merely open the Earth globe skp, go to the Material browser...In Model, select the Earth texture then in edit mode replace the earth.jpg with one of the planetary ones you download from the above site. It will map automatically.

                                        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 條回覆 最後回覆 回覆 引用 0
                                        • FrederikF 離線
                                          Frederik
                                          最後由 編輯

                                          Thanks for both the tut' and the link to the planet texture maps, Alan..!! 😄
                                          Much appreciated..!! 👍

                                          Cheers
                                          Kim Frederik

                                          1 條回覆 最後回覆 回覆 引用 0
                                          • W 離線
                                            watkins
                                            最後由 編輯

                                            Dear Alan,

                                            Many thanks for taking the time to post the link. I will have a go at that when I have a moment. I would also to create a background/sky dome simulation of Mars too. The reason for that is we have a couple of projects which involve instruments for Martian atmosphere monitoring, and it would be rather nice to see the lander in a Martian setting. Alternatively, I could get on with some real work.

                                            Kind regards,
                                            Bob

                                            1 條回覆 最後回覆 回覆 引用 0
                                            • 1
                                            • 2
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 7 / 9
                                            • 第一個貼文
                                              最後的貼文
                                            Buy SketchPlus
                                            Buy SUbD
                                            Buy WrapR
                                            Buy eBook
                                            Buy Modelur
                                            Buy Vertex Tools
                                            Buy SketchCuisine
                                            Buy FormFonts

                                            Advertisement