66
$\begingroup$

I am creating a model of a glass and I would like to put a drawing on it (a png picture).

I know how to do it using Blender Render, but not with Cycles Render. Help :)

$\endgroup$

3 Answers 3

93
$\begingroup$

Applying an Image Texture in Cycles

  1. Select the object you want to put the image on

  2. Give it a new material with an Image Texture Shader:
    Object Properties window -> Materials tab -> click the New button
    For the Color, click on the grey dot icon on the right side ( enter image description here ) then select "Image Texture":

    enter image description here

  3. Select the image you want to use:

    enter image description here

  4. UV Unwrap your object and position the image as you'd like it:

    • Select your object and enter Edit mode (TAB)

    • Unwrap mesh (U) -> here, I use Smart UV project

    enter image description here

    NOTE: UV Unwrapping a mesh and positioning the image properly can be a very complex and involved process. So, I highly recommend you study some UV Mapping tutorials to get all the details; YouTube has quite a lot of excellent video tutorials for beginners on this subject.

$\endgroup$
7
  • $\begingroup$ Hey, thanks for the great answer. However - I am lost on the last 4th picture - how are you getting into UV Unwrap menu? Sorry - beginner here :). $\endgroup$
    – bluszcz
    Commented Apr 18, 2014 at 15:27
  • $\begingroup$ No problem, I'll update my answer. :) $\endgroup$ Commented Apr 18, 2014 at 15:31
  • 2
    $\begingroup$ Also, when you are watching video tutorials, notice how often the "Screencast" display down near the bottom of the 3D Viewport window -- it looks like a mouse outline in a grey window and it shows which mouse buttons and keys are being pressed so you can follow along what's happening better. $\endgroup$ Commented Apr 18, 2014 at 15:42
  • 2
    $\begingroup$ Sorry but where is the "Surface" Tab in my material Panel? I use Blender 2.77, there is no "Surface" Tab. Has it been removed? $\endgroup$
    – UncleTeo
    Commented Jan 31, 2017 at 9:06
  • $\begingroup$ Here is the answer: "Blender comes with multiple built in render engines. Each render engine has their own material system which are only compatible with that render engine. The default render engine is called 'Blender Render', there is also the 'Cycles Render' engine which is probably the one you want to use for the tutorial. You select the render engine at the top of the blender interface." $\endgroup$
    – UncleTeo
    Commented Jan 31, 2017 at 9:09
10
$\begingroup$

You can add a texture to a mesh by plugging in the texture node into the corresponding material attribute. You can do this in the node editor as well as the material's panel.

  1. Make sure the mesh you are trying to apply the texture to has a shader applied to it

    • You can easily add a new shader by selecting the mesh and in the materials tab clicking New
  2. UV unwrap your mesh. By default all textures in blender use UV maps. These must be generated by the user.

    • For some quick UVs select the mesh and go into edit, select the entire mesh, U -> Smart UV project.
  3. In the appropriate material attribute select as the input Image Texture and navigate to your image

  4. To see the effect in the viewport you can set the display type to Texutred or Material

enter image description here


If you do not want to use UV you can use other primitive UV projection types.

  1. In the vector input of the image map add a input -> Texture Coordinate

    • From the Texture Coordinate choose an input, e.g Generated
  2. (optional) To further modify the generated UV you can add a Vector -> Mapping input between the texture and the Texture Coordinate nodes

enter image description here

$\endgroup$
0
4
$\begingroup$

How to apply and scale image textures to objects in Cycles Render

  1. Split the view panel so that you can see both the 3d view and the UV map.
  2. Assuming you have already marked the seem of your object, upload your texture image by clicking MATERIAL

  3. In the surface section, go to Color and click on the little circle on the far right (in the dark gray area).

  4. Select Image Texture, at this point a new item with an image icon will appear. Click on open and upload your image file.

  5. In the UV map view pane, you have the same image icon, click on it and select your image that by now should be listed there.

Your image should be visible like in the example below:

loading an image texture

  1. Make sure your mouse is over the 3d view pane. Select the object or the part of the object you want to apply the texture to, then make sure you are in Edit mode.

  2. With the mouse still on the 3d view, press U to unwrap your object; and select unwrap.You have two possibilities, UNWRAP and SMART UNWRAP, when you have marked the seam and for more complicated objects, UNWRAP is the best though you can use SMART UNWRAP for simple objects with little geometry.

  3. Now, you can see your UV map appearing on the top of the image texture. To see immediately how the texture would look like in render mode, Go to the 3d view and change the method to display from EDIT to TEXTURE.

SCALING AND ROTATING IMAGE

  1. Click on the Texture button located on the right of the Material button. Your image texture should already be there in the Node section.

  2. Go down to the Mapping area, Point should be selected by default. Look at Location, Rotation and Scale. In our case, we are only interested in Scaling, however it is often necessary to rotate the image as well so in that case use Rotation.

  3. Scale the image by playing with the X and Y axes. You can see the result of your manipulation immediately in 3d view. In my case, I set the image to X-7 and Y-7.

enter image description here

When you are satisfied with the quality of your image, remember to go back to Material and click Assign. Save your work and have fun!

$\endgroup$
1
  • $\begingroup$ I actually had more photos to load but here there is a limit so if you are interested in viewing the full article you can go here: link $\endgroup$ Commented Sep 12, 2016 at 7:29

You must log in to answer this question.

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