2
$\begingroup$

I'm using the UV project modifier to project an image from a projector. This projector is also a camera with the coordinates obtained using fSpy. Blender stackexchange user Cegaton taught me how to do this in this post using blender 2.8. I've had a few crashes with blender 2.8, so I am still using 2.79b.

The image on the mesh is my blender 2.79b file is warped. See the original image below. enter image description here

See the result of the UV Project modifier below. enter image description here

You can see that, near the red arrow, the image is warped/skewed. Also the texts are not straight.

I unwrapped this box using Smart UV Project with default settings. I selected the faces on the UVmap that corresponds to the 3 faces that the image is projected on. enter image description here

These are the mapping settings of the texture on the material.

enter image description here

And here the settings of the UV Project modifier.

enter image description here

How can I make the image on the box look the same as the original?

Side note: I want to use the UV Project modifier as I want to apply this same technique to a room that was scanned to a point cloud and turned into a mesh. So for that I cannot use manual UV unwrapping, as it is too time consuming.

$\endgroup$
  • 2
    $\begingroup$ Add a few subdivisions to the mesh. $\endgroup$ – cegaton May 26 '19 at 6:38
  • $\begingroup$ @cegaton that worked. I saw it improving with each iteration. I do not understand why that is so. Do you know? $\endgroup$ – Mike de Klerk May 26 '19 at 8:03
  • 2
    $\begingroup$ @MikedeKlerk suspect it's the difference between the results of interpolation 1: of [rectilinear coordinates under a perspective transform] and 2: [barycentric coordinates, based on the corners of triangulation of the mesh]. The more you subdivide, the more closely the results of those interpolations approach one anothter. $\endgroup$ – Robin Betts May 26 '19 at 11:56
  • $\begingroup$ @RobinBetts please write an answer $\endgroup$ – cegaton May 26 '19 at 16:38
  • 1
    $\begingroup$ Related: Why am I getting UV distortion on a flat surface $\endgroup$ – cegaton May 26 '19 at 16:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.