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

    Is it possible to replace a Photo Match source?

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    20 Posts 12 Posters 6.6k 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.
    • N Offline
      numerobis
      last edited by

      Is it possible to replace the construction photo of a Photo Match?
      Where is the image stored?

      1 Reply Last reply Reply Quote 0
      • mitcorbM Offline
        mitcorb
        last edited by

        Hi.
        Here's a guess, assuming you are on windows. Check either on desktop or My Documents. But I think you can also check Window> Preferences> Files to see what the default filepath is for images? Maybe not. Is it png or jpg? Do a system search for filename.png for example.
        Edited to correct to "Preferences" in the text above.

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

        1 Reply Last reply Reply Quote 0
        • N Offline
          numerobis
          last edited by

          thanks for the suggestions, but there is nothing stored... ๐Ÿ˜’

          I don't get it, why such an easy but essential option is missing?!?
          when i work with photomatch i have to adjust/manipulate my image according to the new situation, so it should be possible to update the background image without having to make the whole photo match adjustments again!?!

          ...it shoudn't be that hard to implement a simple replacement dialog, or do i miss something?!?

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

            Numerobis, what do you want to replace it with? More exactly what is the reason you want to replace it for?

            Gai...

            1 Reply Last reply Reply Quote 0
            • N Offline
              numerobis
              last edited by

              i need to replace the background/construction image of the photo match with newer, photoshoped version of the same image

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

                Hm. I guess what you could do (or try at least) is to import the new/modified photo again.

                First go to your PM scene then import the photo as the previous one. If everything goes right, the camera will stay there. Then right click on the old scene and delete it. You should end up with a PM scene where your edited texture is used (hopefully).

                Gai...

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

                  When you import a 'Photo' I think it's inserted as an 'Image'.
                  You'll need to have my SKMtools installed to change it's contents - get them here http://forums.sketchucation.com/viewtopic.php?p=293677#p293677
                  There are additional Image processing tools in it...

                  Select just the photo's Image, and then type/copy+paste this in the Ruby Console
                  image=Sketchup.active_model.selection[0]
                  It should return a reference to an image.
                  To find out its current 'image-file' [as shown in Entity Info window] type/copy+paste this
                  image.imagefile
                  It should return something like 'Photo1.jpg'...
                  To reset its current 'image-file' type this
                  image.imagefile="C:\\Temp\\NewPhoto1.jpg"
                  With the full path to the new photo image file [adjust that part to suit where you replacement photo actually is!] - note the double \s in the path.
                  It should be the same w x h as the original to avoid distortion etc.

                  The image should update to the new photo... ๐Ÿ˜„
                  EDIT: Ignore this and see the next post...
                  This only works on 'Images' and a photo-match image is a 'background' image and isn't accessible to this type of editing...

                  TIG

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

                    Correction ๐Ÿ˜’ - a photo-match image is added as a background which isn't accessible to change as it would be as a 'plain image'.
                    BUTall is not lost... you cango to the current photo-matched scene-tab, change nothing, and then import another updated photo-match image [with another-name] - needs same perspective/size etc - and it should then 'overlay' the existing one, and make a new scene-tab with that photo, and keep the same perspective settings etc...

                    As Gai said already ๐Ÿ˜’

                    TIG

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

                      OK, so it seems I was a clever boy then.
                      ๐Ÿ˜‰

                      Gai...

                      1 Reply Last reply Reply Quote 0
                      • N Offline
                        numerobis
                        last edited by

                        @gaieus said:

                        Hm. I guess what you could do (or try at least) is to import the new/modified photo again.

                        First go to your PM scene then import the photo as the previous one. If everything goes right, the camera will stay there. Then right click on the old scene and delete it. You should end up with a PM scene where your edited texture is used (hopefully).

                        WOW! Thanks Gaieus! it works

                        i thought, i had tested this before and i didn't work... maybe i did something wrong - took the wrong image or something like this... ๐Ÿ˜ณ

                        so once again, Thank You! ๐Ÿ˜Ž

                        And thank you too for your efford TIG! ๐Ÿ˜„

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

                          OK, glad it works (I was too lazy to try and have never really used PM just know the "basics")
                          ๐Ÿ˜„

                          Gai...

                          1 Reply Last reply Reply Quote 0
                          • B Offline
                            bicameral2
                            last edited by

                            That doesn't work for me. the origins are different between the original matched photo and the new matched photo. moving the origin doesn't work. i think you just have to comp the final image in photoshop.

                            though, it seems really odd that you can't update a photo reference in sketchup. if the matched photo showed up in the materials, one could update the image file reference there...

                            1 Reply Last reply Reply Quote 0
                            • maxhouserocksM Offline
                              maxhouserocks
                              last edited by

                              this worked for me. You guys are alright ๐Ÿ˜‰

                              Thanks!!!
                              Bob

                              Robert A. Christman
                              http://rachristman.blogspot.com/

                              1 Reply Last reply Reply Quote 0
                              • emerald15E Offline
                                emerald15
                                last edited by

                                Hadn't even thought to do that - but will do next time.
                                I recently had to visualize an exhibit in some very decorative hotel rooms. As I wasn't about to model all the architecture I started with photo match, but as things progressed I was asked to change the room images... so I started again with the amended images & copied my models into them. This would have been a quicker option.
                                Thanks for the tip.

                                1 Reply Last reply Reply Quote 0
                                • srxS Offline
                                  srx
                                  last edited by

                                  Why change the background in SU? Better change SU in Photoshop.

                                  www.saurus.rs

                                  1 Reply Last reply Reply Quote 0
                                  • maxhouserocksM Offline
                                    maxhouserocks
                                    last edited by

                                    I have had many cases where i use a photo for photomatch, get geometry placed during the design process and realize that some of the photo needs to be changed in photoshop to look proper in SU.

                                    So, for example, photoshopping out a line of trees and making it look like new grass in that area would be a change that i would want to re-import into SU. The method above works in this case for me.

                                    Robert A. Christman
                                    http://rachristman.blogspot.com/

                                    1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      troyhome
                                      last edited by

                                      I'd really love to see an option for updating the MP image in SU! I use it a ton and, despite it sounding like some folks have successfully changed the image, I have yet to make it work for me.

                                      IOviz.com
                                      SU Pro 2024 PC

                                      1 Reply Last reply Reply Quote 0
                                      • pbacotP Offline
                                        pbacot
                                        last edited by

                                        Odd. It must "reside" somewhere. Some place where that image is saved, to see and swap out the file. If it were in the materials browser like all other imported images, you could use the image editor to that.

                                        MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

                                        1 Reply Last reply Reply Quote 0
                                        • S Offline
                                          Scruff
                                          last edited by

                                          Gaius' approach works, but the confusion is because although the image is replaced, and is correct for your model, the "match photo" setup lines (green and red vanishing lines and axes) in the new Photo Match are no longer where they should be (although the origin, vanishing points and horizon line are correct). That's unsettling, but doesn't really matter because your model should already be set up properly. Just DON'T EDIT the setup lines in the new Photo Match!

                                          1 Reply Last reply Reply Quote 0
                                          • HornOxxH Offline
                                            HornOxx
                                            last edited by

                                            Some time before I made a little video about it. Perhaps it is useful for someone...

                                            never trust a skinny cook

                                            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