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

    Creating realistic flags

    Scheduled Pinned Locked Moved Newbie Forum
    sketchup
    8 Posts 3 Posters 706 Views 3 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.
    • G Offline
      gadgetslave
      last edited by

      I have been using Sketchup for some time and find it rather addictive, but have recently got stuck on trying to create a realistic looking flag. I would like to take a flat surface with applied image as texture for the design and deform it as if wind is blowing it (static, no moon on a stick just yet!). Any ideas gratefully accepted.

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

        Hi Gadgetslave (and welcome to SCF!).

        You will need a plugin that can both freely deform geometry and also preserve UV mapping (or two plugins that can do this consecutively).

        Have a look at Tgi3D and its wrapping feature in the video below:
        http://www.tgi3d.com/index.php?Page=PhotoScanVideos&Type=Feature&VideoID=27195347

        Tgi3D full version is not free but there is a (polygon limited only) free PLE as well as a (time limited) full trial version for it.

        Gai...

        1 Reply Last reply Reply Quote 0
        • TIGT Offline
          TIG Moderator
          last edited by

          You can of course make a 'rippled cloth' surface and project a flag image onto it... but if you find my ImageAnimator Tool in the Plugins Index it has an example of some actual real-time fluttering flags [and flames, hamsters-in-wheels etc etc]. It needs an animated gif of a flag that's been split into its frames as png files [there's also a tool to do that in the zipped set that you download!]. There are thousands of animated gifs available free on the www, or if you are feeling adventurous you could try to make your own from a movie clip. You insert the first frame png file for the flag as an Image, and then use the Tool to animate that; there are various options like frame-rate etc. It will then 'flutter' until you switch it off, and the good part is that its animation runs smoothly 'in the background' whilst you do other things within the SKP file...

          TIG

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

            Yes, that's definitely another (cool) way of doing it.

            Gai...

            1 Reply Last reply Reply Quote 0
            • G Offline
              gadgetslave
              last edited by

              Wow, thanks for the rapid replies guys!

              TIG, you say "you can, of course, create a rippled cloth effect and project an image on it". I must be more of a newbie than I thought, because it is not obvious how to me, sorry. The Tgi3d plugin looks promising, but that seems to depend on a textured image existing BEFORE transformation. Is there another way?

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

                Here is a video showing how to project an image material onto a curved surface:

                As for the Tgi plugin; yes, you start from a simple shape (onto which you can easily map the image) and end up with a warped shape where image mapping is retained.

                Here is a quick example (waving and rippling could be enhanced - also with more subdivision, it could be smoother - but also watch your poly-count always). When at it, I (of course), made a flag of our own... 😉

                If this is already "enough", you can simply reload the image file in the model to apply another flag. The aspect ratio is ~ 2:1


                Flag.png


                Flag.skp

                Gai...

                1 Reply Last reply Reply Quote 0
                • G Offline
                  gadgetslave
                  last edited by

                  Ah, I see - thanks Gaieus. So easy when you know how! I notice that your flag has a reflected version of the image on the reverse. To prevent this (my flag is not symmetrical, see http://www.flyingcolours.org/product-detail.php?ID=62) I assume that I need to give the surface some thickness first?

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

                    I hoped you do not notice it (I only noticed when I was done).

                    Actually, when you are with the simple, rectangular shape first, you can right click on the face > Texture > Position and the Flip it horizontally (left/right). This can be done separately on either side but be aware that some rendering applications will not be able to render these different maps (they generally render whatever is on the front face).

                    The reason I ended up with this is that I imported the image as an image entity and exploded afterwards. In this case, SU creates a face with the image projected on it - and the mirror on the other side (it has the reasons we can go into later if you want).

                    Gai...

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

                    Advertisement