• Login
sketchucation logo sketchucation
  • Login
โ„น๏ธ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

Dynamic Texture.

Scheduled Pinned Locked Moved Woodworking
10 Posts 4 Posters 1.4k 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.
  • S Offline
    sancho77
    last edited by sancho77 31 Mar 2015, 13:21

    Hello all!
    Any idea how dynamic texture can be created?
    I came across this video. Look around 6th min. And I like it how it is done!
    I understood that for each Panel component there is a "core" subcomponent and some sort off "bounding box" subcomponent.
    But where is a trick that makes texture scale to stay as it is while using scale tool to change O/A dim?

    Thanks all!

    1 Reply Last reply Reply Quote 0
    • R Offline
      Rich O Brien Moderator
      last edited by 31 Mar 2015, 13:33

      Like this?

      dynamic materials.gif

      Just grab one of SU startup peeps and look at the code...

      Download the free D'oh Book for SketchUp

      1 Reply Last reply Reply Quote 0
      • S Offline
        sancho77
        last edited by 31 Mar 2015, 13:44

        Hey Rich!
        No!
        In that video around 6th minute. black and white texture.
        Scale tool is used to resize component, but as we know if component dimensions are changed using scale tool then texture dimensions also are changed.
        My question is - what needs to be done keep texture size as it is if component is scaled.
        He has done it!
        Is there additional component that controls it or some attribute!
        Thank you!

        1 Reply Last reply Reply Quote 0
        • B Offline
          Box
          last edited by 31 Mar 2015, 14:24

          So we have to guess that what happens 6 minutes in is what you are asking!?

          1 Reply Last reply Reply Quote 0
          • S Offline
            sancho77
            last edited by 31 Mar 2015, 14:40

            How to keep textures size if you change components overall dimensions using scale tool?!

            1 Reply Last reply Reply Quote 0
            • J Offline
              jeff hammond
              last edited by 31 Mar 2015, 16:24

              @sancho77 said:

              Hey Rich!
              No!
              In that video around 6th minute. black and white texture.
              Scale tool is used to resize component, but as we know if component dimensions are changed using scale tool then texture dimensions also are changed.
              My question is - what needs to be done keep texture size as it is if component is scaled.
              He has done it!
              Is there additional component that controls it or some attribute!
              Thank you!

              not sure what's going on there but one thing that's odd is when he's applying the b&w texture at 6 minutes, the lower left of the window is saying 'select objects to match paint from'.. this is the message that come up when pressing the cmmd key while using the paint brush tool and the cursor will change to an eyedropper.. his cursor is still the paint bucket while the message is present..
              possibly something with ruby is happening there??

              Screen Shot 2015-03-31 at 12.32.40 PM.png

              dotdotdot

              1 Reply Last reply Reply Quote 0
              • S Offline
                sancho77
                last edited by 31 Mar 2015, 16:45

                No matter what he (or she) has done - i thinks it is cool!
                No need readjust each components texture.
                I'm a cabinetmaker and this approach is good for me.
                I just need figure it out how it is done!
                It more for visual need - coz the same component could be 100x100 mm or 2000x1000mm.
                And if texture corrects it self - perfect!
                I'll try to contact video's author - I could get more info out of him (or her ๐Ÿ˜„)!
                Thanks all for your input!

                1 Reply Last reply Reply Quote 0
                • J Offline
                  jeff hammond
                  last edited by 31 Mar 2015, 17:29

                  @sancho77 said:

                  No matter what he (or she) has done - i thinks it is cool!
                  No need readjust each components texture.
                  I'm a cabinetmaker and this approach is good for me.
                  I just need figure it out how it is done!
                  It more for visual need - coz the same component could be 100x100 mm or 2000x1000mm.
                  And if texture corrects it self - perfect!
                  I'll try to contact video's author - I could get more info out of him (or her ๐Ÿ˜„)!
                  Thanks all for your input!

                  he's a him.. all of his stuff is in russian though and i can't understand it at all.

                  idk, probably not ruby.. just some little trick that i personally haven't discovered yet.. i'll mess around with it a little later

                  dotdotdot

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    sancho77
                    last edited by 31 Mar 2015, 18:03

                    He got back to me!
                    It's very simple- I don't know how it works but it works!
                    Just have to create another subcomponent.
                    And that subcomponent "Scaler" somehow controls texture.!!!


                    Screen Shot 2015-03-31 at 19.03.15.png

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      jeff hammond
                      last edited by 31 Mar 2015, 22:40

                      nice ๐Ÿ‘

                      dotdotdot

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

                      Advertisement