0
$\begingroup$

I have just UV unwrapped my model and I will be editing its texture in Photoshop but it's hard to tell where each things are and I have to do a lot of trial and error. I know you can generate a grid texture as well (Color Grid and UV Grid) which is more helpful but still not what I have in mind.

What I want is to generate a texture where each face is colored differently to help me figure out exactly what is what in my image editor. Does blender have a feature to do it automatically?

Thanks

$\endgroup$
  • $\begingroup$ You can always paint across where the seams are in different colors, and then you'll have a reference texture to start from in your image editor. You can later refine the seams with the clone brush. $\endgroup$ – Mentalist Mar 30 '16 at 5:23
1
$\begingroup$

There is an addon called Export UV layout that allows you to export your UV unwrap layout as vertex and edges so you can draw over them in whatever graphics editing software you use. Not sure if that is enough or what you were looking for.

If that is not enough you could assign different materials to your object's faces with different colors as desired, bake it to a texture using your existing UV layout and the export that baked texture to Photoshop so you can paint/edit over it. Alternatively you may also play around with cycles procedural materials, and create a setup that highlights your geometry details in an informative way (the geometry input node as some useful options) and then bake the resulting shader to a texture using the UV layout.

$\endgroup$
  • $\begingroup$ UV Image Editor window ..... menu UVs ..... Export UV Layout ... in the latest version of Blender this is built in. You can show the menu if that suits you. $\endgroup$ – atomicbezierslinger Mar 30 '16 at 0:57
  • $\begingroup$ does not color the faces in unique colors, only creates a outline but better than nothing, thanks $\endgroup$ – Nicolas Martel Apr 8 '16 at 21:54
  • $\begingroup$ No, it doesn't colorfaces, only exports a grid, but that is generally enough for most cases. The answer bellow by Mr Zak seems to provide the effect you want. $\endgroup$ – Duarte Farrajota Ramos Apr 9 '16 at 0:09
1
$\begingroup$

I'm not sure if this can help you, but you have possibility to create a color map where each face is colored differently using vertex colors.

  1. This method assumes using Coloring Connected Vertices addon, so you should install the addon in order the solution to work.
  2. Unwrap your mesh. Note that resulting image of colored faces will depend on this step, so you may want to unwrap with seams in order to get appropriate islands.
  3. To make addon color individual faces instead of whole object you should make each face being individual. This can be done by extruding individual faces and deleting original ones.

    Enter Edit mode of the mesh, select all and press Alt+E > Individual Faces. Cancel moving of extruded parts by pressing Esc.

    extruding individual faces

    Invert selection with Ctrl+I to select only original faces and delete them.

  4. Enter Vertex Paint mode, in Paint menu find Add random vertex colors to connected vertices operator which is what addon is. After executing it the faces will be colored randomly.

    vertex coloring

  5. With all selected choose W > Remove doubles; individual faces are no longer needed.

  6. In materials node of the object add Emission node (I chose it to see clearly what the colors are when rendered; it could be Diffuse shader as well, just when baking choose to bake Diffuse Color) and Vertex Colors > vertex color name (by default Col). Connect them appropriately.

    node setup

    Image Texture node left unconnected intentionally; see below for the bake details.

  7. Bake appropriate pass; with nodes above this will be Emit. See How do I bake a texture using Cycles bake for details about baking textures. Change Margin for desired result.

    baked colors for individual faces

$\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.