1
$\begingroup$

Hi i'm trying to project a image onto a plane, i lined up the UV's with the correct perspective but my image distorts on the plane, subdividing the mesh a few times solves the issue but i would like to know if there's a better fix? distorted image

$\endgroup$
  • 1
    $\begingroup$ yes when you make a project from view with a non-frontal picture you need to make sure your plane is subdivided enough, that's the fix actually $\endgroup$ – moonboots Jul 30 at 19:35
4
$\begingroup$

That error is common, if there are not enough subdivisions.

You need more subdivisions on the mesh.

In edit mode, subdivide the plane, or add a subsurf modifier and set it to simple mode (instead of Catmull-Clark).

If you look carefully, the texture is divided in two triangles, which is how 3d Engines work, by triangulating the geometry. Without any form of interpolation, the engine cannot deform a rectangular texture into a trapezoidal one. By interpolating you are still getting the triangles, but since the distortion is made in many places it will not be as noticeable.

The best solution, though, would be to use a shape that is not trapezodial at all, but rectangular like in the real world and is deformed by the perspective from the camera and the lens used.

Use Fspy, that way you can reconstruct the geometry, so that it resembles the real world.

Read all about it in the following post:

How can I recreate geometry using a photograph?


(For a longer explanation on why this happens maybe someone more versed in OpenGL and the algorithms used for texture mapping can edit or delete, or write a new answer, in the meantime do a google search for "affine" texture coordinates)

I'll leave this image here to picque your curiosity:

enter image description here

| improve this answer | |
$\endgroup$

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.