New voxel texture mode "Hair", for displaying the internal hair volume

structure as a texture.

This is mostly a debugging feature that may be removed again later.
This commit is contained in:
Lukas Tönne
2014-08-26 19:29:16 +02:00
parent 4cd6111159
commit 5f41b19463
6 changed files with 142 additions and 25 deletions

View File

@@ -771,6 +771,8 @@ class TEXTURE_PT_voxeldata(TextureButtonsPanel, Panel):
elif vd.file_format == 'SMOKE':
layout.prop(vd, "domain_object")
layout.prop(vd, "smoke_data_type")
elif vd.file_format == 'HAIR':
layout.prop(vd, "domain_object")
elif vd.file_format == 'IMAGE_SEQUENCE':
layout.template_ID(tex, "image", open="image.open")
layout.template_image(tex, "image", tex.image_user, compact=True)