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

    Texture: how to map it to a bending cylinder

    Scheduled Pinned Locked Moved Newbie Forum
    sketchup
    21 Posts 8 Posters 4.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.
    • R Offline
      remus
      last edited by

      Could you post the model? i cant reproduce the issue.

      http://remusrendering.wordpress.com/

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

        Hi Curry Pork,

        When you have applied the texture, turn on hidden geometry (View menu), right click on one of the facets > texture >position and without doing anything else, hit enter.

        Now turn off hidden geometry, select the Paint bucket tool and press Alt. It will turn into a sampler; sample the still selected facet and apply it to the whole surface of your tube.

        If this does not screw up the UV coordinates (in which case I second what Remus says; post your model), it should fix the texture move issue.

        Gai...

        1 Reply Last reply Reply Quote 0
        • V Offline
          Voder Vocoder
          last edited by

          To reproduce the effect I depicted above (which is a series of circumferential rings running all along the bent cylinder, and which consistently gives that appearance from all angles), paint the texture with the stripes turning through a bend onto a vertical surface (a rectangle) that is lined up with the bent cylinder itself, just as I have shown. Then right-click the rectangle and select Texture > Projected. Then use Alt-Bucket to sample the projected texture, and finally click on the bent cylinder with the Bucket tool.

          See attached.

          ~Voder


          bent-cylinder.skp

          1 Reply Last reply Reply Quote 0
          • C Offline
            CurryPork
            last edited by

            Thanks everyone and thanks Voder for posting that model. I think I got this figure out so there's no need to post my model anymore.

            Again, thank you all.

            1 Reply Last reply Reply Quote 0
            • romboutR Offline
              rombout
              last edited by

              @solo said:


              http://img122.imageshack.us/img122/3787/psimagecw7.jpg


              http://img117.imageshack.us/img117/5377/supluspspfl7.jpg

              oke solo how would i do this than. it needs to go around


              Afbeelding 21.png


              Afbeelding 22.png

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

                That's because of projecting the texture. It is "best" when seen from the front you project it on AND from the back (although it's mirrored there) but on the sides it's always "smeared" like that. This is the nature of projection and it is (well) intended to behave like this.

                You should rather wrap that texture around or use Whaat's UV Tools plugin to map it cylindrically.

                Could you attach that Kerky image itself?

                Gai...

                1 Reply Last reply Reply Quote 0
                • romboutR Offline
                  rombout
                  last edited by

                  @gaieus said:

                  That's because of projecting the texture. It is "best" when seen from the front you project it on AND from the back (although it's mirrored there) but on the sides it's always "smeared" like that. This is the nature of projection and it is (well) intended to behave like this.

                  You should rather wrap that texture around or use Whaat's UV Tools plugin to map it cylindrically.

                  Could you attach that Kerky image itself?

                  this is what i got... i moved to a different project but got a UV mapping problem again

                  the second image is where i got a problem again


                  resolved it a bit


                  the new problem


                  ther project

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

                    Well, a texture is extremely hard to position in 3D in a way that it looks seamless all, three connected faces. But this is similar to real world; an upholsterer (is that the proper word?) couldn't adjust the pattern seamless either. You can, of course, achieve much better results than in your picture (see attached).

                    PositionTexture.jpg
                    Here I made the rounded edges with Fredo's RoundEdge by Bezie plugin. Then made the following steps:

                    1. Turned on hidden geometry
                    2. painted the top face with the material
                    3. right click > Texture > Position (do nothing but...) hit Enter
                      (this will "fix" the texture coordinates to the face instead of the word coordinates)
                    4. sampled the material and applied it to the small facets of the rounded edge one by one advancing from top to bottom on both sides
                    5. sampled the material from the side and applied it to the vertical facets proceeding from outside towards the corner - where eventually you can see the inevitable seam between the two sides.
                      Of course, you can "hide" this corner seam with some "carelessly" and "untidily" placed blanket or anything here but as I said above, this seam would (most probably) be there in real world, too.

                    Gai...

                    1 Reply Last reply Reply Quote 0
                    • arail1A Offline
                      arail1
                      last edited by

                      Is there any way to do the opposite? Make the texture follow the curve rather than go perpendicular to it - as in the grain of wood following the curve in bent wood furniture? Or following the line of a railing?

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

                        Well, this question is just "right at the perfect time". There's a new plugin called UV Toolkit with which you can easily do this although you'll ne3ed "special" textures for this as it will stretch the whole texture onto the individual facets of a curved structure.

                        If you look at my post there (second in the topic) and my second, tubular arch there, first, before I rotated the texture, the stripes ran "lengthwise", nicely following the curve.

                        Of course, it is not desirable with a brick arch but is with your grain example. It's just a matter of segments in the curve to be nice.

                        Gai...

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

                        Advertisement