3
$\begingroup$

I'm trying to put an image onto a plane. I've used the Import Image as Plane add-on, but I'd like to know how to do it myself. I tried setting my image as the texture for the plane, but it appeared stretched. I think that I need to adjust some mapping setting. Thanks!

$\endgroup$
  • $\begingroup$ You have to unwrap you mesh and make sure its size matches the image proportions. Might be hard to do precisely by hand alone $\endgroup$ – Duarte Farrajota Ramos Jun 8 '17 at 16:20
  • $\begingroup$ One thing might do to get the dimensions of the plane right is to look at the resolution of the image and use that to set the x and y dimensions of the plane. You can scale the plane down (it will probably be pretty huge) from there. $\endgroup$ – Lukas Valine Jun 8 '17 at 16:27
  • $\begingroup$ @DuarteFarrajotaRamos All you need to do is type the numbers for the dimensions in the proper edit field. What do you mean "might be hard"? $\endgroup$ – Rodrigo May 3 '18 at 15:17
7
$\begingroup$

Open your image in the UV/Image editor, Press N to open the side panel. In the image section you can see the image's dimensions in pixels.

enter image description here

Add a plane and scale it so that it has the same proportions of your image.

Int this example the image is 1728 x 2592 pixels, so I scaled the plane to

1.728 x 2.592enter image description here

At this point press Ctrl+A to apply the scale. (for more on this read: Why is it important to apply transformation to an objects data?)

Then go to top view. Enter edit mode, press U to unwrap the UVs and select "Project From View (bounds)".

enter image description here

That will create a UV map that matches with the image used.

enter image description here

Then, just create a material that uses an image texture, and select the image you are using as a source, using UV as the mapping coordinates.

For Cycles:

enter image description here

For Blender Internal: enter image description here

After doing all of this, you might want to save all of the trouble and just use the "add images as planes" addon, that does all of this for you atomatically, but at least you know what happens behind the scenes...

$\endgroup$
  • $\begingroup$ Minor typo: select "unwrap from view (bounds)" should be select "Project from View (Bounds)". :) $\endgroup$ – Sabuncu Feb 27 '18 at 16:44

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.