0
$\begingroup$

enter image description here

On the side of the lego block I want a picture as shown in the image below. I added the image as a plane I resized the plane and then added the shrink wrap modifier When I move the lego piece the image stays where it is.

I cannot find any instructions on how to apply a picture to the surface of a flat object.

What am I doing wrong?

$\endgroup$
6
  • $\begingroup$ have you parented it to your lego brick ? If not -> select you plane, shift+select the lego brick, hit Ctrl+P and Set the parent to object $\endgroup$
    – B.Pader
    Commented Oct 7, 2022 at 12:31
  • $\begingroup$ You can also try to go through shader to add your image as part of a material and place it in the same place (using UVs for example) without having to deal with an extra mesh and modifier $\endgroup$
    – B.Pader
    Commented Oct 7, 2022 at 12:33
  • $\begingroup$ i would recommend using a shader node for that because a parented object isn't needed for that and might cause problems with z-fighting $\endgroup$
    – Chris
    Commented Oct 7, 2022 at 12:35
  • $\begingroup$ Thank you, didnt know to set the parent. $\endgroup$ Commented Oct 7, 2022 at 12:39
  • 1
    $\begingroup$ Use the image in an Image Texture in your material? $\endgroup$
    – moonboots
    Commented Oct 7, 2022 at 12:39

2 Answers 2

0
$\begingroup$

I don't think a shrinkwrap modifier is required. You can simply position the 'sticker' (the image as plane) direct in front of the part of the lego brick that it needs to 'stick' to, and add it to lego object so the brick and the sticker become a single object.

To position the image correctly, please try the following:

  • Firstly, remove the shrinkwrap modifier
  • In object mode, select the lego brick
  • Press Tab to enter Edit mode
  • Select the face you would like to attach the image ('sticker') to
  • Press Shift+S > Cursor to selected
  • Tab into Object mode and select the image ('sticker')
  • Press Shift+S > Selected to cursor

This will position the sticker in exactly the same position as the face of the lego brick. This will result in some Z-fighting, so you will want to move the image forward by a tiny amount on the X axis:

  • In Object mode, select the plane object.
  • Press G, then X, then hold Shift and move the mouse a small amount away from the lego brick

Finally, in Object mode, select both first the image as plane, then the lego brick, and press CTRL+J to add the image to the brick object. Now when you move the brick, the sticker will follow.

$\endgroup$
0
$\begingroup$

I know, especially for beginner, Blender is overwhelming and seems to be to complicated to ever understand a thing...but if you keep on learning it you will soon learn how amazing Blender is and IT'S FREE!!!

So if you use this material setup:

enter image description here

you can choose the image in the image texture node.

Also set it to "clip".

enter image description here

After that you might see something like this:

enter image description here

which is of course not what you want.

So click on UV editing:

enter image description here

Hovering your cursor on the right window, press A to select all vertices:

enter image description here

now just use your mouse to rotate your view like this:

enter image description here

then choose: UV -> project from view

enter image description here

if you now select "rendered view" you can already see parts of the image.

All you have to do now is adapt the UV coordinates on the left window like this:

Select A to select all UV coordinates, press S and scale and move your mouse so that the picture appears as you like it.

enter image description here

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .