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

    Bending a textured face

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    43 Posts 8 Posters 3.3k Views 8 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.
    • Chris FullmerC Offline
      Chris Fullmer
      last edited by

      If you made the texture unique on each face of the mat, it might work then?

      Chris

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

      1 Reply Last reply Reply Quote 0
      • hellnbakH Offline
        hellnbak
        last edited by

        @chris fullmer said:

        If you made the texture unique on each face of the mat, it might work then?

        Chris

        The mat only has one face. If you're talking about dividing it into parts before bending it and making each of them unique, I thought of that, but wouldn't that increase the number of textures? I don't know enuf about this stuff to even be saying anything, but I am trying to keep my textures to a minimum to keep my file size down.

        Probably not what you meant anyhow.

        I'll shut up now and go away 😒

        "Politicians are just like diapers -- they need to be changed often, and for the same reason"

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

          That is exactly what I meant. It might be the only way to do it? I don't know. Where's Thom?

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

          1 Reply Last reply Reply Quote 0
          • Wo3DanW Offline
            Wo3Dan
            last edited by

            @chris fullmer said:

            If you made the texture unique on each face of the mat, it might work then?

            Hi Chris, that shouldn't be necessary in the way that you get multiple textures.
            Only one should do.
            If you do this manually it's an easy proces towards the result. See attached file.
            (Although I don't suppose hellnbak is looking for laborious modelling).

            I don't know enough about your plugin but when done manually the texture I used is fixed to the original flat mat geometry. Once you split up the mat and rotate mat "segments" successively, the texture stays as it should. This could be done the same way in a script can't it?


            textured floor mat without distortion in texture

            1 Reply Last reply Reply Quote 0
            • hellnbakH Offline
              hellnbak
              last edited by

              @wo3dan said:

              (Although I don't suppose hellnbak is looking for laborious modelling)

              Is anybody?

              "Politicians are just like diapers -- they need to be changed often, and for the same reason"

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

                @hellnbak said:

                Is anybody?

                Even if I am not deliberately looking for it, I do not mind doing it when I know I cannot achieve it otherwise and the result is worth the laborious way. Wrapping a texture around a curved face should not take longer (even if you go facet by facet) than writing a forum post.

                This window below is on a curved wall (a basilica apse), arched and all the edges are rounded. So there was no other way than manually doing it.

                (By the way, in this model, all the edges are rounded everywhere as you can see from the buttress, too, so when I made the textures, I even counted the pixels how they would wrap around to make a seamless tiling when they reach around pillars and such - tell me about labour! 😄 )

                http://lh5.ggpht.com/_zcvsIuYiVbo/Suw3FoVmC8I/AAAAAAAACu4/pZfgc8630Gg/Bazilika-Texture20.jpg

                Gai...

                1 Reply Last reply Reply Quote 0
                • R Offline
                  Roger
                  last edited by

                  Texture on a curved shape

                  The leather textures were applied to the curved shape with hidden geometry showing and clicking the paint texture tool at each change of plane. Rendered in Twilight Render using Metropolis Light Transport with Bidirectional Path Tracing. This is one small part of my project without end.

                  http://www.azcreative.com

                  1 Reply Last reply Reply Quote 0
                  • hellnbakH Offline
                    hellnbak
                    last edited by

                    @gaieus said:

                    If this object is bending only one direction, you should not use projected material on it but simply wrap it around the curve.

                    Could you please elaborate? I've tried so many things with this I'm not sure if this is one of them.

                    "Politicians are just like diapers -- they need to be changed often, and for the same reason"

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

                      Where's that model?

                      Gai...

                      1 Reply Last reply Reply Quote 0
                      • hellnbakH Offline
                        hellnbak
                        last edited by

                        If you mean the jpg for the mat, here it is


                        FLOOR MATS 1 a copy.jpg

                        "Politicians are just like diapers -- they need to be changed often, and for the same reason"

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

                          @hellnbak said:

                          If you mean the jpg for the mat, here it is

                          Well, not really the jpg but the model (as I do not know where and how you wanted to bend it) however here it is


                          Mat.skp


                          mat.jpg

                          Gai...

                          1 Reply Last reply Reply Quote 0
                          • hellnbakH Offline
                            hellnbak
                            last edited by

                            Great! Now, could you please explain the process of what you did?

                            "Politicians are just like diapers -- they need to be changed often, and for the same reason"

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

                              Some pictures. After sampling / painting in picture 5, repeat the steps for the rest of the facets. It takes less than a minute. The point is that now you are not projecting but wrapping the material around that curve by positioning it.

                              1.png
                              3.png
                              3a.png
                              2.png
                              4.png
                              5.png
                              (Sorry, previously I attached a wrong screenshot)

                              Gai...

                              1 Reply Last reply Reply Quote 0
                              • Dave RD Offline
                                Dave R
                                last edited by

                                Excellent Csaba. 👍

                                Etaoin Shrdlu

                                %

                                (THERE'S NO PLACE LIKE)

                                G28 X0.0 Y0.0 Z0.0

                                M30

                                %

                                1 Reply Last reply Reply Quote 0
                                • hellnbakH Offline
                                  hellnbak
                                  last edited by

                                  Finally! I won't have to track mud and snow into my nice clean Goat. Much appreciated! 😍

                                  "Politicians are just like diapers -- they need to be changed often, and for the same reason"

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

                                    Good thing in Fredo's plugin that it keeps the sizes of all the facets and the rest of the model as a whole (so the image will fit exactly as it does on the flat one). Bad thing is that it screws up UV mapping even when I position the texture before subdividing (i.e. all the texture pieces should still be positioned - or not? I will have to check).


                                    Edit; even if I "pre-position" the texture on each facet first, the plugin screws everything up. I wonder if Fredo could do something with it.

                                    Gai...

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

                                    Advertisement