2
$\begingroup$

I have single object (human model), but I want legs and arms to be in different layers so I can composite it in compositor. I don't want to break it into different object.

$\endgroup$
  • 1
    $\begingroup$ You have to have the entire object on the same layer. But you can assign different materials to each part of the mesh and use a pass index as described here to separate them in the compositor. $\endgroup$ – sambler Jun 8 '14 at 9:32
  • $\begingroup$ @sambler Care to make that an answer? $\endgroup$ – gandalf3 Jun 10 '14 at 2:18
  • $\begingroup$ @gandalf3 your linked answer explains it, only difference would be to put the material index at the top. $\endgroup$ – sambler Jun 10 '14 at 4:16
  • $\begingroup$ @sambler Hm.. True.. Idk what to do. Should I add an answer which just quotes my other answer? $\endgroup$ – gandalf3 Jun 10 '14 at 4:28
  • $\begingroup$ @gandalf3 It's almost a duplicate question. You could say "set material index then composite as explained..." $\endgroup$ – sambler Jun 10 '14 at 4:39
2
$\begingroup$

You can't move part of an object to a different layer. You can split it into 2 different object by selecting the vertices you want to separate in edit mode and hitting the P key separate by selection.

Now that you have 2 objects, in object mode place them in different layers by selecting the objects you want to move and hitting the M key then a number (not from the keypad).

Use a Number to select from the upper row or ALT + Number for the lower one

enter image description here

$\endgroup$
  • $\begingroup$ I think everything apart from the first sentence is exactly what he doesn't want to do. $\endgroup$ – JulianHzg Jun 10 '14 at 13:12
1
$\begingroup$

Objects can be moved from one layer to the next. Mesh elements(vertices, edges, and faces) cannot, since they are apart of the same object.

The only option I can think of for your situation is to use vertex groups.

http://wiki.blender.org/index.php/Doc:2.6/Manual/Modeling/Meshes/Vertex_Groups/Vertex_Groups

$\endgroup$
  • $\begingroup$ Thank you, but how do I move it to other layer? $\endgroup$ – Kevin Jun 7 '14 at 16:08
  • $\begingroup$ You can't, you have to find ways to separate the parts in the compositor without layers. $\endgroup$ – JulianHzg Jun 10 '14 at 13:13
1
$\begingroup$

You cannot move different parts of the same object to separate layers.

As mentioned by sambler, what you are trying to do is possible using separate materials to generate masks.

Quoting from my answer here:

This can be done . . . using an ID Mask node:

. . .
1. Enable Material index in Render layers > Passes, and set the pass index for the material:

  • Use Materials > Settings > Pass > index to set the pass index of the material in Cycles:

    cycles material pass index

  • Or in Blender internal use Materials > Options > Pass index:

    BI material pass index

  1. Add an ID Mask node and set the Index to 1.

  2. Plug the IndexOB output from the Renderlayer node into the ID Mask node. This will provide a mask for the [material]: mask node

This will give you a black and white mask of that material, which you can use to separate, combine, etc. in the compositor using mix nodes.

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