Announcement

Collapse
No announcement yet.

Perspective match question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Perspective match question

    All of the tutorials that I see, having to do with perspective match, start with a stationary background and then the creation of an object to put in the scene at the same perspective. But in my case, I have an object that was photographed (a desk) where I would like to create an interior environment to put behind it at the same perspective. The environment would then be rendered, empty, and the desk would then be composited in Photoshop. Anyone know of a good way to do this, or some sort of ghost/onion skin overlay trick? Thanks. (Since I shot the desk, I would try to mimic a similar lighting style for the interior.)
    Last edited by Streetwise; 16-11-2017, 08:56 PM.
    David Anderson
    www.DavidAnderson.tv

    Software:
    Windows 10 Pro
    3ds Max 2024.2.1 Update
    V-Ray GPU 6 Update 2.1


    Hardware:
    Puget Systems
    TRX40 EATX
    AMD Ryzen Threadripper 3970X 32-Core 3.69GHz
    2X NVIDIA GeForce RTX 3090
    128GB RAM

  • #2
    Actually, seems like this article is a good starting point...

    http://bit.ly/2z8LEYL

    Create a plane and a front view with the reference image. Change the object properties visibility to .3 to make it transparent. Then freeze it. Any other thoughts?
    David Anderson
    www.DavidAnderson.tv

    Software:
    Windows 10 Pro
    3ds Max 2024.2.1 Update
    V-Ray GPU 6 Update 2.1


    Hardware:
    Puget Systems
    TRX40 EATX
    AMD Ryzen Threadripper 3970X 32-Core 3.69GHz
    2X NVIDIA GeForce RTX 3090
    128GB RAM

    Comment


    • #3
      My first thought was you might consider modeling that desk. It looks pretty doable. Perhaps you buy an inexpensive keyboard model from turbosquid. The rest seems like relatively straightforward geometry?

      the article you linked to is based on importing a photo like you show and mapping it on to a plane to use as reference to model the object in the photo. So it is about how to use a reference photo as a basis for modeling an object versus modeling a room and for purposes of pshop in photo of object. The article describes having front, side, maybe top reference photos. It?s more difficult when your reference photo is a perspective, like you have. But still the same process is used.

      fwiw I think your end result will be much better if you model the desk versus adding a photo of it over a rendering Via pshop.
      mark f.
      openrangeimaging.com

      Max 2025.2 | Vray 6 update 2.1 | Win 10

      Core i7 6950 | GeForce RTX 2060 | 64 G RAM

      Comment


      • #4
        Thanks for the tip! The problem is that the riser is a part that my client sells and they were unable to get the CAD files from the mfg. So I had to photograph it instead. So to model it, it would have to be exact.

        So maybe this:
        - Load my photograph as a background plate
        - Bring in a similar object model and orientate it to match the perspective of the photograph.
        - Lock camera and object
        - Orient camera and object in an empty environment
        - Delete object prior to final render
        - Comp photograph to final render

        Thoughts?
        David Anderson
        www.DavidAnderson.tv

        Software:
        Windows 10 Pro
        3ds Max 2024.2.1 Update
        V-Ray GPU 6 Update 2.1


        Hardware:
        Puget Systems
        TRX40 EATX
        AMD Ryzen Threadripper 3970X 32-Core 3.69GHz
        2X NVIDIA GeForce RTX 3090
        128GB RAM

        Comment


        • #5
          If you still have the capability to photo it you could photograph a straight on side view and a straight on front view. maybe a top view but that probably is not needed. Measure the overall HxWxD of the object. Set up a front and side reference planes with those photos mapped onto the planes and displayed at the correct, previously measured, dimensions. then model the object to match the photo references. just like described in the link you provided. you could even do it with the perspective photo you have as long as you know the dimensions of the object. You only need the overall HxWXD. CAD files would be great but often not available and this is the common procedure for modeling from reference photos. "Exact" may not be achievable but close to a reasonable tolerance like 1/2" is achievable. Pasting that photo into a rendering via photoshop will not be "exact"

          Alternate approach - Model your room. Then make a plane of the correct size and map you photo to it. You will need to have a good outline around the object and an alpha channel saved in a .tif or similar file format. Make a material using the photo as an diffuse map and an opacity map. Assign and map to the plane. Rotate the plane in top view so it faces straight at the camera. Same as adding cutout photos of people, etc into renderings.

          Modeling the object will give by far the best results. Much better then the alternate approach. the model can cast a shadow and maybe have a subtle reflection on the surface it sits on . Better Lighting match can be achieved etc.

          Hope this helps.
          mark f.
          openrangeimaging.com

          Max 2025.2 | Vray 6 update 2.1 | Win 10

          Core i7 6950 | GeForce RTX 2060 | 64 G RAM

          Comment


          • #6
            This is really no different than a more typical camera match except that your image is going in to the foreground instead of the background. I have Syntheyes and it makes short work of just about any camera match, You snap some x, y and z-axis lines with at least one length and it gives you a matched camera. I quickly did one and overlayed your image onto a office scene I already had, voila. Match up some lighting and you're good to go. I attached the camera I generated but keep in mind that I guessed at the depth of the base of the adjustable desk (18") and that the "floor" is located at the top of your white tabletop (I pulled the background scene down about 30"). It ended up with a tight 130mm lens but it looks to match up pretty well. Click image for larger version  Name:	Cam Match.jpg Views:	1 Size:	172.6 KB ID:	974809
            Attached Files
            Last edited by dlparisi; 17-11-2017, 09:23 AM.
            www.dpict3d.com - "That's a very nice rendering, Dave. I think you've improved a great deal." - HAL9000... At least I have one fan.

            Comment


            • #7
              Seems I'm too late to the party. I did it this way and used the white table top as the reference point.

              Click image for larger version

Name:	persp_match.JPG
Views:	141
Size:	68.8 KB
ID:	974819

              persp_match_table_v01.zip

              https://www.behance.net/Oliver_Kossatz

              Comment


              • #8
                Awesome! I just signed up for a demo of Syntheyes. NO IDEA how it works, but I'll see if I can fiddle around with it and export something to Max. I tried opening the file you sent, but I'm missing a DLL and .ms script. I assume it's because I don't have the demo installed? I was able to get your camera placement though, relative to the grid, so I'm trying another pass with your camera placement. I shot the item with a 100mm lens, so you're really close to what I used.

                In the meantime, here's what I came up with using the hack method that I described above. Not too bad (I think).
                Last edited by Streetwise; 17-11-2017, 11:41 AM.
                David Anderson
                www.DavidAnderson.tv

                Software:
                Windows 10 Pro
                3ds Max 2024.2.1 Update
                V-Ray GPU 6 Update 2.1


                Hardware:
                Puget Systems
                TRX40 EATX
                AMD Ryzen Threadripper 3970X 32-Core 3.69GHz
                2X NVIDIA GeForce RTX 3090
                128GB RAM

                Comment


                • #9
                  Originally posted by kosso_olli View Post
                  Seems I'm too late to the party. I did it this way and used the white table top as the reference point.
                  Did you use SynthEyes as well?

                  David Anderson
                  www.DavidAnderson.tv

                  Software:
                  Windows 10 Pro
                  3ds Max 2024.2.1 Update
                  V-Ray GPU 6 Update 2.1


                  Hardware:
                  Puget Systems
                  TRX40 EATX
                  AMD Ryzen Threadripper 3970X 32-Core 3.69GHz
                  2X NVIDIA GeForce RTX 3090
                  128GB RAM

                  Comment


                  • #10
                    Originally posted by Streetwise View Post
                    Awesome! I just signed up for a demo of Syntheyes. NO IDEA how it works, but I'll see if I can fiddle around with it and export something to Max. I tried opening the file you sent, but I'm missing a DLL and .ms script. I assume it's because I don't have the demo installed? I was able to get your camera placement though, relative to the grid, so I'm trying another pass with your camera placement. I shot the item with a 100mm lens, so you're really close to what I used.
                    The missing dll should not be a problem (not sure why a .ms script would be missing though). The scene is just a camera though so you are not missing anything. Syntheyes simply creates a maxscript file that sets up the camera(s) and backplane sizes so once that's run you don't need either the maxscript file or syntheyes installed.
                    www.dpict3d.com - "That's a very nice rendering, Dave. I think you've improved a great deal." - HAL9000... At least I have one fan.

                    Comment


                    • #11
                      Originally posted by Streetwise View Post

                      Did you use SynthEyes as well?
                      No. I used the standard 3dsMax perspective match tool.
                      https://www.behance.net/Oliver_Kossatz

                      Comment


                      • #12
                        Originally posted by Streetwise View Post
                        Awesome! I just signed up for a demo of Syntheyes. NO IDEA how it works, but I'll see if I can fiddle around with it and export something to Max.
                        It's boring voice time

                        https://vimeo.com/126516983

                        Comment


                        • #13
                          So photo 1 (left) is the one I hacked together just by putting my image on a plane that is parallel to a non-targeted camera. I grouped them together and then moved the camera around until I though that my image matched up well with the set. Photo 2 (right) is the camera that dlparisi provided to me using Syntheyes and put on the same horizontal axis as my camera. It looks a lot like what I did, but the big difference is that it was able to calculate the height more accurately I think, plus the lens was a 113mm, so it's slightly tighter. I shot the desk with a 100mm FF, and chose a 100mm lens for sample I created. Also, it was rotated just a couple of degrees differently that what I had eyeballed.

                          I think technically either image may pass, but I'm leaning towards #2. (I realize I have some scenic issues to fix yet). On the whole, which one do you prefer?
                          Last edited by Streetwise; 17-11-2017, 03:28 PM.
                          David Anderson
                          www.DavidAnderson.tv

                          Software:
                          Windows 10 Pro
                          3ds Max 2024.2.1 Update
                          V-Ray GPU 6 Update 2.1


                          Hardware:
                          Puget Systems
                          TRX40 EATX
                          AMD Ryzen Threadripper 3970X 32-Core 3.69GHz
                          2X NVIDIA GeForce RTX 3090
                          128GB RAM

                          Comment


                          • #14
                            the second one is not only more dialed, but also better aligned..... in the first one, look at the top "line" of the monitor and the top line of the picture frames.... although in the second one look how close the baseboard reveal hovers above the keyboard and how the left corner of the keyboard surface meets right at the corner of baseboard and mullion.... i might move the camera down a hair so the baseboard reveal runs into the keyboard instead of hovering above it and the corner of that surface bites into the mullion, or vise versa to give a little more separation but that's just me.... great work!

                            Comment


                            • #15
                              Originally posted by joconnell View Post

                              It's boring voice time

                              https://vimeo.com/126516983
                              Ha! I had never heard of Syntheyes until this thread and got really stoked on it (affordable too). Watched a bunch of the guys tutorials and even stumbled upon yours as well! Thanks for that!

                              Comment

                              Working...
                              X