sketchucation logo sketchucation
    • Login
    ⌛ Sale Ending | 30% Off Profile Builder 4 ends 30th September

    Extracting texture from curved building photo???

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    9 Posts 6 Posters 3.1k Views 6 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.
    • A Offline
      AcesHigh
      last edited by

      Hi there. I am trying to build the capital of my state for GoogleEarth.

      Ive already done 18 models. But I am having problems creating models for buildings which have CURVED FAÇADES!!!

      The match photo feature hardly works for matching a model to the photo (specially on buildings with curved façades), and building the curved façade while on Photomatch is near impossible... photomatch works only with straight façades.

      Thus, I have the building model completed. Now, I need to extract the texture from a photo and apply it to the building.

      But HOW TO DO IT, for the curved façade??? You can remove perspective using photoshop and have a straight texture to apply to flat surface, but how to remove the curvature from the photo, to apply again into the model???

      these are the photos... how to extract the texture from the curved façade??

      http://img411.imageshack.us/img411/1476/sheratonportoalegre1.jpg

      http://img204.imageshack.us/img204/733/sheraton2.jpg

      1 Reply Last reply Reply Quote 0
      • jim smithJ Offline
        jim smith
        last edited by

        I'm not sure how he did it, but look at the curved texture process on these fantastic locomotives

        http://forums.sketchucation.com/viewtopic.php?f=81&t=18169&st=0&sk=t&sd=a&start=45#p171629

        I would like to see this "pelting" process.

        Also, I think it was "Urgen" made great models of food containers along with many other items. Many were curved. I would suspect the same method used for a soup can would work for a curved building.

        Sorry I'm not much help but might be a start for you.

        "Out of clutter find simplicity,
        from discord find harmony,
        In the middle of difficulty lies opportunity"
        Albert Einstein

        1 Reply Last reply Reply Quote 0
        • urgenU Offline
          urgen
          last edited by


          http://img110.imageshack.us/img110/2908/sheraton2a.jpg

          ....Warp in photoshop + this video...


          sheraton2a.rar

          --pupil forever...------

          1 Reply Last reply Reply Quote 0
          • Alan FraserA Offline
            Alan Fraser
            last edited by

            Another possible way is to use SketchUp itself. You could construct the building using PhotoMatch, then either leave the reference shot as the texture for the curved section or, alternately, switch to parallel projection then take a render of the curved section and use that. I've done a very quick one, in which the perspective guides weren't quite right (mostly because of the lack of a visible horizon)...so the image is still slightly curved...but you can see it's a lot less curved than on the original. It's almost there.


            sheraton_thumb.jpg

            3D Figures
            Were you required to walk 500 miles? Were you advised to walk 500 more?
            You could be entitled to compensation. Call the Pro Claimers now!

            1 Reply Last reply Reply Quote 0
            • A Offline
              AcesHigh
              last edited by

              @urgen said:


              http://img110.imageshack.us/img110/2908/sheraton2a.jpg

              ....Warp in photoshop + this video...

              wow, what I wanted in fact is how you used the warp in photoshop to flat it out!!! Can you record a video showing you using Photoshop to make that retangular texture?

              1 Reply Last reply Reply Quote 0
              • Alan FraserA Offline
                Alan Fraser
                last edited by

                Place a rectangular selection over the whole of the curved part of the building.
                Set up guides to mark out the 4 sides of the intended flattened, rectangular image.
                Go to Edit > Transform > Warp and use the control handles on the grid to drag the edges of the curved area roughly into position.
                Set up as many extra guides as you need to straighten the intermediate rows of windows by dragging the appropriate square in the right direction.

                You can apply the transformation, then apply a new rectangular selection and go through the whole routine as many times as you need to fine tune the end result.


                sheraton2.jpg

                3D Figures
                Were you required to walk 500 miles? Were you advised to walk 500 more?
                You could be entitled to compensation. Call the Pro Claimers now!

                1 Reply Last reply Reply Quote 0
                • A Offline
                  AcesHigh
                  last edited by

                  @alan fraser said:

                  Place a rectangular selection over the whole of the curved part of the building.
                  Set up guides to mark out the 4 sides of the intended flattened, rectangular image.
                  Go to Edit > Transform > Warp and use the control handles on the grid to drag the edges of the curved area roughly into position.
                  Set up as many extra guides as you need to straighten the intermediate rows of windows by dragging the appropriate square in the right direction.

                  You can apply the transformation, then apply a new rectangular selection and go through the whole routine as many times as you need to fine tune the end result.

                  in other words, its a PAIN IN THE ASS 😄

                  I wonder why there isnt a tool in Photoshop that does a perspective crop already including tools for curved surfaces...

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

                    @unknownuser said:

                    A few links to programs you have used would be very helpful. 😉

                    Autodesk is a commercial widely used and Grass is open source but some complicated to learn.

                    You can find some resources here:

                    http://www.agc.army.mil/gis/
                    http://www.mapcruzin.com/free_gis.htm

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

                      There are some specific programs to do that. Probably you are on PC and I'm mac user but specially many photo-stitching softwares have the hability to correct linear and non linear perspectives automatically. The Photoshop method described above is OK too but with a little more of hand work.

                      You can take a look at some topographic GIS software too. There are a lot of open source programs to make orthographical corrections to aerial photos and perspectives that needs to play with earth curvature and camera views like you described so may be capable to transform cilindrical distortions. In fact, Google needs this kind of programs to construct most of their 3d maps. If you will need to replicate this process many times I think it could be a good solution as you can even process many buildings at the same time.

                      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