VoxelData(bpy_struct)¶
base class — bpy_struct
-
class
bpy.types.VoxelData(bpy_struct)¶ Voxel data settings
-
extension¶ How the texture is extrapolated past its original bounds
EXTENDExtend, Extend by repeating edge pixels of the image.CLIPClip, Clip to image size and set exterior pixels as transparent.REPEATRepeat, Cause the image to repeat horizontally and vertically.
Type: enum in [‘EXTEND’, ‘CLIP’, ‘REPEAT’], default ‘EXTEND’
-
file_format¶ Format of the source data set to render
BLENDER_VOXELBlender Voxel, Default binary voxel file format.RAW_8BIT8 bit RAW, 8 bit grayscale binary data.IMAGE_SEQUENCEImage Sequence, Generate voxels from a sequence of image slices.SMOKESmoke, Render voxels from a Blender smoke simulation.HAIRHair, Render voxels from a Blender hair simulation.
Type: enum in [‘BLENDER_VOXEL’, ‘RAW_8BIT’, ‘IMAGE_SEQUENCE’, ‘SMOKE’, ‘HAIR’], default ‘BLENDER_VOXEL’
-
filepath¶ The external source data file to use
Type: string, default “”, (never None)
-
hair_data_type¶ Simulation value to be used as a texture
HAIRDENSITYDensity, Use hair density as texture data.HAIRRESTDENSITYRest Density, Use hair rest density as texture data.HAIRVELOCITYVelocity, Use hair velocity as texture data.HAIRENERGYEnergy, Use potential hair energy as texture data.
Type: enum in [‘HAIRDENSITY’, ‘HAIRRESTDENSITY’, ‘HAIRVELOCITY’, ‘HAIRENERGY’], default ‘HAIRDENSITY’
-
intensity¶ Multiplier for intensity values
Type: float in [0.01, inf], default 0.0
-
interpolation¶ Method to interpolate/smooth values between voxel cells
NEREASTNEIGHBORNearest Neighbor, No interpolation, fast but blocky and low quality.TRILINEARLinear, Good smoothness and speed.QUADRATICQuadratic, Mid-range quality and speed.TRICUBIC_CATROMCubic Catmull-Rom, High quality interpolation, but slower.TRICUBIC_BSPLINECubic B-Spline, Smoothed high quality interpolation, but slower.
Type: enum in [‘NEREASTNEIGHBOR’, ‘TRILINEAR’, ‘QUADRATIC’, ‘TRICUBIC_CATROM’, ‘TRICUBIC_BSPLINE’], default ‘NEREASTNEIGHBOR’
-
resolution¶ Resolution of the voxel grid
Type: int array of 3 items in [1, 100000], default (0, 0, 0)
-
smoke_data_type¶ Simulation value to be used as a texture
SMOKEDENSITYSmoke, Use smoke density and color as texture data.SMOKEFLAMEFlame, Use flame temperature as texture data.SMOKEHEATHeat, Use smoke heat as texture data. Values from -2.0 to 2.0 are used.SMOKEVELVelocity, Use smoke velocity as texture data.
Type: enum in [‘SMOKEDENSITY’, ‘SMOKEFLAME’, ‘SMOKEHEAT’, ‘SMOKEVEL’], default ‘SMOKEDENSITY’
-
still_frame¶ The frame number to always use
Type: int in [-1048574, 1048574], default 0
-
use_still_frame¶ Always render a still frame from the voxel data sequence
Type: boolean, default False
-
classmethod
bl_rna_get_subclass(id, default=None)¶ Parameters: id (string) – The RNA type identifier. Returns: The RNA type or default when not found. Return type: bpy.types.Structsubclass
-
classmethod
bl_rna_get_subclass_py(id, default=None)¶ Parameters: id (string) – The RNA type identifier. Returns: The class or default when not found. Return type: type
-
Inherited Properties
Inherited Functions
References