feat: initial commit for scene renderer addon
This commit is contained in:
43
properties.py
Normal file
43
properties.py
Normal file
@@ -0,0 +1,43 @@
|
||||
import bpy
|
||||
|
||||
|
||||
class SceneRendererSettings(bpy.types.PropertyGroup):
|
||||
test_mode: bpy.props.BoolProperty(
|
||||
name="Test Mode",
|
||||
description="Render only the first scene at 10% resolution with 1 sample",
|
||||
default=False,
|
||||
)
|
||||
skip_existing: bpy.props.BoolProperty(
|
||||
name="Skip Existing",
|
||||
description="Skip scenes whose render file already exists",
|
||||
default=True,
|
||||
)
|
||||
use_cpu: bpy.props.BoolProperty(
|
||||
name="CPU Only",
|
||||
description="Force CPU rendering instead of GPU",
|
||||
default=False,
|
||||
)
|
||||
samples: bpy.props.IntProperty(
|
||||
name="Samples",
|
||||
description="Cycles render samples",
|
||||
default=4096, min=1, max=65536,
|
||||
)
|
||||
exposure: bpy.props.FloatProperty(
|
||||
name="Exposure",
|
||||
description="Exposure boost in stops",
|
||||
default=0.0, soft_min=-3.0, soft_max=3.0,
|
||||
)
|
||||
look: bpy.props.EnumProperty(
|
||||
name="Color Look",
|
||||
items=[
|
||||
('None', "None", ""),
|
||||
('Very Low Contrast', "Very Low Contrast", ""),
|
||||
('Low Contrast', "Low Contrast", ""),
|
||||
('Medium Low Contrast', "Medium Low Contrast", ""),
|
||||
('Medium Contrast', "Medium Contrast", ""),
|
||||
('Medium High Contrast', "Medium High Contrast", ""),
|
||||
('High Contrast', "High Contrast", ""),
|
||||
('Very High Contrast', "Very High Contrast", ""),
|
||||
],
|
||||
default='None',
|
||||
)
|
||||
Reference in New Issue
Block a user