2
$\begingroup$

I have a mesh 'Suzanne' parented to an armature 'Armature'. Both are located inside another mesh 'Cube'. I want both 'Suzanne' and it's armature 'Armature' to be visible in the 3D view through 'Cube'. I tried setting the x-ray of 'Suzanne' and it's armature 'Armature' to True in Python, but then 'Suzanne'only appears through 'Cube'. I wonder how I can make both 'Suzanne' and it's armature 'Armature' appear through 'Cube'.

The .blend file can be found here in this Link

enter image description here

$\endgroup$
1
  • $\begingroup$ Considering this is just for display anyways, could you get rid of the xray on Suzanne and instead add transparency to the cube? $\endgroup$
    – Nathan
    Jul 6 '18 at 16:24
0
$\begingroup$

No. X-ray can't work that as as far as I know. Once you put both the armature and the monkey in x-ray, its like they are on the same "layer". The only way I can think of close to this is to invert the normals of the cube, but I don't think that meets what you're trying to do.

$\endgroup$
2
  • $\begingroup$ sorry, but inverting the normals didn't solve the problem $\endgroup$
    – Tak
    Jan 4 '17 at 8:11
  • $\begingroup$ You also only want x-ray only on the armature. $\endgroup$
    – cmomoney
    Jan 4 '17 at 15:08
0
$\begingroup$

To see your armature, check X-Ray for the armature as shown below. Then set the Maximum Draw Type of the cube to Wire or Bounds depending on how much detail you want (wire gives more).

enter image description hereenter image description here

This is the result:

enter image description here

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