forked from blender/blender-addons
Refactoring of Storm Hydra render addon #13
@ -29,12 +29,12 @@ class RenderSettings(bpy.types.PropertyGroup):
|
|||||||
default=False,
|
default=False,
|
||||||
)
|
)
|
||||||
volume_raymarching_step_size: bpy.props.FloatProperty(
|
volume_raymarching_step_size: bpy.props.FloatProperty(
|
||||||
name="Step Size",
|
name="Volume Raymarching Step Size",
|
||||||
description="Step size when raymarching volume",
|
description="Step size when raymarching volume",
|
||||||
default=1.0,
|
default=1.0,
|
||||||
)
|
)
|
||||||
volume_raymarching_step_size_lighting: bpy.props.FloatProperty(
|
volume_raymarching_step_size_lighting: bpy.props.FloatProperty(
|
||||||
name="Step Size Lighting",
|
name="Volume Raymarching Step Size Lighting",
|
||||||
description="Step size when raymarching volume for lighting computation",
|
description="Step size when raymarching volume for lighting computation",
|
||||||
default=10.0,
|
default=10.0,
|
||||||
)
|
)
|
||||||
|
@ -58,8 +58,8 @@ class STORM_HYDRA_RENDER_PT_volume_final(FinalPanel):
|
|||||||
settings = self.settings(context)
|
settings = self.settings(context)
|
||||||
|
|
||||||
col = layout.column(align=True)
|
col = layout.column(align=True)
|
||||||
col.prop(settings, "volume_raymarching_step_size")
|
col.prop(settings, "volume_raymarching_step_size", text="Step Size")
|
||||||
col.prop(settings, "volume_raymarching_step_size_lighting")
|
col.prop(settings, "volume_raymarching_step_size_lighting", text="Step Size Lightning")
|
||||||
col.prop(settings, "volume_max_texture_memory_per_field")
|
col.prop(settings, "volume_max_texture_memory_per_field")
|
||||||
|
|
||||||
|
|
||||||
@ -102,8 +102,8 @@ class STORM_HYDRA_RENDER_PT_volume_viewport(ViewportPanel):
|
|||||||
settings = self.settings(context)
|
settings = self.settings(context)
|
||||||
|
|
||||||
col = layout.column(align=True)
|
col = layout.column(align=True)
|
||||||
col.prop(settings, "volume_raymarching_step_size")
|
col.prop(settings, "volume_raymarching_step_size", text="Step Size")
|
||||||
col.prop(settings, "volume_raymarching_step_size_lighting")
|
col.prop(settings, "volume_raymarching_step_size_lighting", text="Step Size Lightning")
|
||||||
col.prop(settings, "volume_max_texture_memory_per_field")
|
col.prop(settings, "volume_max_texture_memory_per_field")
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user