feat: improve eevee render
This commit is contained in:
Binary file not shown.
@@ -1,7 +1,7 @@
|
|||||||
schema_version = "1.0.0"
|
schema_version = "1.0.0"
|
||||||
|
|
||||||
id = "bioxelnodes"
|
id = "bioxelnodes"
|
||||||
version = "1.0.4"
|
version = "1.0.5"
|
||||||
name = "Bioxel Nodes"
|
name = "Bioxel Nodes"
|
||||||
tagline = "For scientific volumetric data visualization in Blender"
|
tagline = "For scientific volumetric data visualization in Blender"
|
||||||
maintainer = "Ma Nan <icrdr2010@outlook.com>"
|
maintainer = "Ma Nan <icrdr2010@outlook.com>"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
VERSIONS = [{"label": "Latest", "node_version": (1, 0, 4)},
|
VERSIONS = [{"label": "Latest", "node_version": (1, 0, 5)},
|
||||||
{"label": "v0.3.x", "node_version": (0, 3, 3)},
|
{"label": "v0.3.x", "node_version": (0, 3, 3)},
|
||||||
{"label": "v0.2.x", "node_version": (0, 2, 9)}]
|
{"label": "v0.2.x", "node_version": (0, 2, 9)}]
|
||||||
|
|
||||||
|
|||||||
@@ -854,6 +854,7 @@ class ImportVolumetricDataDialog(bpy.types.Operator):
|
|||||||
bpy.ops.bioxelnodes.render_setting_preset('EXEC_DEFAULT',
|
bpy.ops.bioxelnodes.render_setting_preset('EXEC_DEFAULT',
|
||||||
preset="balance")
|
preset="balance")
|
||||||
bpy.context.scene.render.engine = 'CYCLES'
|
bpy.context.scene.render.engine = 'CYCLES'
|
||||||
|
bpy.ops.bioxelnodes.slice_viewer('EXEC_DEFAULT')
|
||||||
|
|
||||||
self.report({"INFO"}, "Successfully Imported")
|
self.report({"INFO"}, "Successfully Imported")
|
||||||
return {'FINISHED'}
|
return {'FINISHED'}
|
||||||
|
|||||||
@@ -146,7 +146,7 @@ class RenderSettingPreset(bpy.types.Operator):
|
|||||||
def execute(self, context):
|
def execute(self, context):
|
||||||
if self.preset == "performance":
|
if self.preset == "performance":
|
||||||
# EEVEE
|
# EEVEE
|
||||||
bpy.context.scene.eevee.use_taa_reprojection = False
|
# bpy.context.scene.eevee.use_taa_reprojection = False
|
||||||
bpy.context.scene.eevee.volumetric_tile_size = '2'
|
bpy.context.scene.eevee.volumetric_tile_size = '2'
|
||||||
bpy.context.scene.eevee.volumetric_shadow_samples = 32
|
bpy.context.scene.eevee.volumetric_shadow_samples = 32
|
||||||
bpy.context.scene.eevee.volumetric_samples = 64
|
bpy.context.scene.eevee.volumetric_samples = 64
|
||||||
@@ -162,7 +162,7 @@ class RenderSettingPreset(bpy.types.Operator):
|
|||||||
|
|
||||||
elif self.preset == "balance":
|
elif self.preset == "balance":
|
||||||
# EEVEE
|
# EEVEE
|
||||||
bpy.context.scene.eevee.use_taa_reprojection = False
|
# bpy.context.scene.eevee.use_taa_reprojection = False
|
||||||
bpy.context.scene.eevee.volumetric_tile_size = '2'
|
bpy.context.scene.eevee.volumetric_tile_size = '2'
|
||||||
bpy.context.scene.eevee.volumetric_shadow_samples = 64
|
bpy.context.scene.eevee.volumetric_shadow_samples = 64
|
||||||
bpy.context.scene.eevee.volumetric_samples = 128
|
bpy.context.scene.eevee.volumetric_samples = 128
|
||||||
@@ -178,7 +178,7 @@ class RenderSettingPreset(bpy.types.Operator):
|
|||||||
|
|
||||||
elif self.preset == "quality":
|
elif self.preset == "quality":
|
||||||
# EEVEE
|
# EEVEE
|
||||||
bpy.context.scene.eevee.use_taa_reprojection = False
|
# bpy.context.scene.eevee.use_taa_reprojection = False
|
||||||
bpy.context.scene.eevee.volumetric_tile_size = '2'
|
bpy.context.scene.eevee.volumetric_tile_size = '2'
|
||||||
bpy.context.scene.eevee.volumetric_shadow_samples = 128
|
bpy.context.scene.eevee.volumetric_shadow_samples = 128
|
||||||
bpy.context.scene.eevee.volumetric_samples = 256
|
bpy.context.scene.eevee.volumetric_samples = 256
|
||||||
@@ -202,7 +202,7 @@ class SliceViewer(bpy.types.Operator):
|
|||||||
bl_icon = "FILE_VOLUME"
|
bl_icon = "FILE_VOLUME"
|
||||||
|
|
||||||
def execute(self, context):
|
def execute(self, context):
|
||||||
bpy.context.scene.eevee.use_taa_reprojection = False
|
# bpy.context.scene.eevee.use_taa_reprojection = False
|
||||||
bpy.context.scene.eevee.volumetric_tile_size = '2'
|
bpy.context.scene.eevee.volumetric_tile_size = '2'
|
||||||
bpy.context.scene.eevee.volumetric_shadow_samples = 128
|
bpy.context.scene.eevee.volumetric_shadow_samples = 128
|
||||||
bpy.context.scene.eevee.volumetric_samples = 128
|
bpy.context.scene.eevee.volumetric_samples = 128
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "bioxelnodes"
|
name = "bioxelnodes"
|
||||||
version = "1.0.4"
|
version = "1.0.5"
|
||||||
description = ""
|
description = ""
|
||||||
authors = ["Ma Nan <icrdr2010@outlook.com>"]
|
authors = ["Ma Nan <icrdr2010@outlook.com>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|||||||
Reference in New Issue
Block a user