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

Projecting Textures question

Scheduled Pinned Locked Moved SketchUp Discussions
sketchup
18 Posts 5 Posters 993 Views
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.
  • H Offline
    hellnbak
    last edited by 30 Nov 2010, 07:01

    OK, I'm trying to project a texture onto a sphere. To save file size the sphere is made of a single component, extruded into a half sphere and then that half copied and pasted beneath it to make a complete sphere. Anyhow, when I attempt to project a texture onto it, it tries to copy it to each individual component, which of course gives some very strange ๐Ÿ˜ฎ (but sometimes interesting) results. So how do I project the texture onto the entire ball, instead of the individual components it's made of?

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

    1 Reply Last reply Reply Quote 0
    • R Offline
      Rich O Brien Moderator
      last edited by 30 Nov 2010, 08:03

      @unknownuser said:

      Never apply a projected texture on a component (group) as a whole but edit the component and apply the texture straight on the faces/surfaces

      From the fingers of our esteemed colleague Mr.Gaieus ๐Ÿ˜‰

      Download the free D'oh Book for SketchUp ๐Ÿ“–

      1 Reply Last reply Reply Quote 0
      • D Offline
        Dave R
        last edited by 30 Nov 2010, 11:31

        You're not thinking about the model correctly. It isn't really a sphere. It is a hemisphere and you have two of them and one of them has been roteted or flipped (depending upon what you did to invert it) to make something that looks like a sphere. When you open one for editing and apply the material, you apply it to the other instance as well but the material on the other instance will be positioned exactly the same relative to the geometry in the component.

        Trying to keep file size down by splitting complex shapes is a good thing but there are times when it isn't helpful. Evidently this is one of those situations when it isn't helpful. Explode the two hemispheres and make a single component of the resulting sphere instead.

        Etaoin Shrdlu

        %

        (THERE'S NO PLACE LIKE)

        G28 X0.0 Y0.0 Z0.0

        M30

        %

        1 Reply Last reply Reply Quote 0
        • M Offline
          mitcorb
          last edited by 30 Nov 2010, 11:57

          Sketchup 6 and 7 came with a basic library of primitive components, materials, textures, and colors that included both a "geodesic" sphere and a "UV" sphere that you could insert, scale/resize and place in your model. Might save a little effort.

          I take the slow, deliberate approach in my aimless wandering.

          1 Reply Last reply Reply Quote 0
          • H Offline
            hellnbak
            last edited by 30 Nov 2010, 12:58

            @dave r said:

            You're not thinking about the model correctly. It isn't really a sphere. It is a hemisphere and you have two of them and one of them has been roteted or flipped (depending upon what you did to invert it) to make something that looks like a sphere. When you open one for editing and apply the material, you apply it to the other instance as well but the material on the other instance will be positioned exactly the same relative to the geometry in the component.

            Actually this is not a factor in this particular instance - I only need to apply the texture to the top half (a shift pattern)

            @dave r said:

            Trying to keep file size down by splitting complex shapes is a good thing but there are times when it isn't helpful. Evidently this is one of those situations when it isn't helpful. Explode the two hemispheres and make a single component of the resulting sphere instead.

            I have tried exploding the top sphere half, but it still will only project onto individual "slices" at a time.

            Once again it's a case of "yeah, this is a smart modeling practice, but you can't use it here". Or here, or here.....

            I guess this is just one more instance in an ever increasing pile of instances where I spend more and more time trying to figure out what SU will and will not do rather than just being able to enjoy the act of modeling. The "will not" pile is growing disappointingly fast.

            Yeah, I know - it's free

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

            1 Reply Last reply Reply Quote 0
            • D Offline
              Dave R
              last edited by 30 Nov 2010, 13:26

              You know, it would be a big help if you posted images of what you are trying to accomplish and what you are getting.


              http://farm5.static.flickr.com/4104/5220913800_f39ed0db04.jpg

              A minute or two to do this. I used the first shift pattern I came across.

              since the shift pattern wouldn't be repeated on the bottom of the knob, make that component unique and apply the other material.

              Etaoin Shrdlu

              %

              (THERE'S NO PLACE LIKE)

              G28 X0.0 Y0.0 Z0.0

              M30

              %

              1 Reply Last reply Reply Quote 0
              • G Offline
                Gaieus
                last edited by 30 Nov 2010, 13:49

                @hellnbak said:

                I have tried exploding the top sphere half, but it still will only project onto individual "slices" at a time...

                Then you are either not projecting or your geometry is not smooth or anything.
                Like Dave says;

                @dave r said:

                You know, it would be a big help if you posted images of what you are trying to accomplish and what you are getting.

                Gai...

                1 Reply Last reply Reply Quote 0
                • H Offline
                  hellnbak
                  last edited by 30 Nov 2010, 14:18

                  Not quite what I had in mind. But I'm just a noob, so I probably don't know what the hell I'm doing.


                  1.jpg

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

                  1 Reply Last reply Reply Quote 0
                  • H Offline
                    hellnbak
                    last edited by 30 Nov 2010, 14:21

                    It did, for whatever reason, seem to stop projecting it onto individual slices

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

                    1 Reply Last reply Reply Quote 0
                    • G Offline
                      Gaieus
                      last edited by 30 Nov 2010, 14:22

                      Post the file, please. It is so hard to say anything from an image like that. If you are projecting that image (how are you doing it by the way?) it should NOT look like that.

                      Gai...

                      1 Reply Last reply Reply Quote 0
                      • H Offline
                        hellnbak
                        last edited by 30 Nov 2010, 14:50

                        Here it is.


                        Ball 4.skp

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

                        1 Reply Last reply Reply Quote 0
                        • R Offline
                          Rich O Brien Moderator
                          last edited by 30 Nov 2010, 14:57

                          You have a mixture of 'Hidden Lines' and 'Softened Lines' as a result of your previous efficint modelling. Even you cannot see these lines SU does and is attempting to 'Project' between each segment.

                          Start again and drawe a Sphere and project on to that Sphere. Then compare new Sphere with old Sphere with 'Hidden Geometry' on.

                          Download the free D'oh Book for SketchUp ๐Ÿ“–

                          1 Reply Last reply Reply Quote 0
                          • G Offline
                            Gaieus
                            last edited by 30 Nov 2010, 14:59

                            Rich beat me but like I said above:

                            @gaieus said:

                            your geometry is not smooth

                            unsoft.png

                            Triple click on your sphere and right click > Soften edges and in the popup dialog, pull the slider a bit. Just enough to "tough" it.

                            Then do the projection.

                            Gai...

                            1 Reply Last reply Reply Quote 0
                            • H Offline
                              hellnbak
                              last edited by 30 Nov 2010, 15:40

                              Ok, it seems to work now, although I'm not sure of the whys and wherefores of it, which bothers me. Now, how do I get rid of the "extras" as indicated in attached photo? Thanks for bearing with me.


                              2 a.jpg

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

                              1 Reply Last reply Reply Quote 0
                              • D Offline
                                Dave R
                                last edited by 30 Nov 2010, 15:46

                                To prevent the image from repeating, you need to make the area the material is to fill small enough so that it can't. If you look at my example, you can see where the gray changes. I intersected a horizontal face with the hemisphere to create that limit. After applying the image of the shift pattern to the upper region and a gray color that was close to the lower region, I hid the edges of the circle that resulted from the intersection. I also deleted the internal face that was created during the intersection since it isn't needed.

                                FWIW, I could have made the image slightly smaller and made it fit better but it was just an example, anyway.

                                Etaoin Shrdlu

                                %

                                (THERE'S NO PLACE LIKE)

                                G28 X0.0 Y0.0 Z0.0

                                M30

                                %

                                1 Reply Last reply Reply Quote 0
                                • R Offline
                                  Rich O Brien Moderator
                                  last edited by 30 Nov 2010, 15:53

                                  Or to build on Dave's excellent advice....

                                  Your texture is tiling due to the fact the Ball's surface area is larger than your textures surface area. Edit your texture to something like this...
                                  Ball.jpg

                                  This can be done in GIMP or PhotoShop or Paint.NET or whatever you use to manipulate images. Basically the canvas of your image needs more space between the gear stick textures otherwise those repeating patterns will show on the ball.

                                  As i said to you before. Keep asking questions and you'll learn some great tricks here. Like Daves approach or my longer approach ๐Ÿ˜’

                                  Sorry Dave i started typing and couldn't resist posting.

                                  Download the free D'oh Book for SketchUp ๐Ÿ“–

                                  1 Reply Last reply Reply Quote 0
                                  • H Offline
                                    hellnbak
                                    last edited by 30 Nov 2010, 16:05

                                    Actually I just showed the hidden geometry and painted the faces to get rid of the stuff I didn't want. Had to draw a couple lines where the good and the bad stuff shared a face, but it worked fine. My head hurts too much to try what you suggested ๐Ÿ˜†

                                    Thanks again for sticking with me on this. 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
                                    • H Offline
                                      hellnbak
                                      last edited by 30 Nov 2010, 16:25

                                      I know this probably wouldn't work in most situations, but it did in this simple one. Your method of enlarging the area around the image will probably be what I use in the future.

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

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

                                      Advertisement