Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/blender/addon/properties.py
| Show First 20 Lines • Show All 611 Lines • ▼ Show 20 Lines | def register(cls): | ||||
| ) | ) | ||||
| cls.longitude_max = FloatProperty( | cls.longitude_max = FloatProperty( | ||||
| name="Max Longitude", | name="Max Longitude", | ||||
| description="Maximum longitude (horizontal angle) for the equirectangular lens", | description="Maximum longitude (horizontal angle) for the equirectangular lens", | ||||
| min=-math.pi, max=math.pi, | min=-math.pi, max=math.pi, | ||||
| subtype='ANGLE', | subtype='ANGLE', | ||||
| default=math.pi, | default=math.pi, | ||||
| ) | ) | ||||
| cls.use_spherical_stereo = BoolProperty( | |||||
| name="Spherical Stereo", | |||||
| description="Render every pixel rotating the camera around the " | |||||
| "middle of the interocular distance", | |||||
| default=True, | |||||
| ) | |||||
| @classmethod | @classmethod | ||||
| def unregister(cls): | def unregister(cls): | ||||
| del bpy.types.Camera.cycles | del bpy.types.Camera.cycles | ||||
| class CyclesMaterialSettings(bpy.types.PropertyGroup): | class CyclesMaterialSettings(bpy.types.PropertyGroup): | ||||
| @classmethod | @classmethod | ||||
| ▲ Show 20 Lines • Show All 395 Lines • Show Last 20 Lines | |||||