Skip to content

Commit

Permalink
Merge pull request #49 from OmooLab/feature/dev
Browse files Browse the repository at this point in the history
feat: improve eevee render
  • Loading branch information
icrdr authored Oct 29, 2024
2 parents 32138c1 + 3ca7c2a commit 29b3025
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 9 deletions.
4 changes: 2 additions & 2 deletions bioxelnodes/assets/Nodes/BioxelNodes_latest.blend
Git LFS file not shown
2 changes: 1 addition & 1 deletion bioxelnodes/blender_manifest.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
schema_version = "1.0.0"

id = "bioxelnodes"
version = "1.0.4"
version = "1.0.5"
name = "Bioxel Nodes"
tagline = "For scientific volumetric data visualization in Blender"
maintainer = "Ma Nan <[email protected]>"
Expand Down
2 changes: 1 addition & 1 deletion bioxelnodes/constants.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
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.2.x", "node_version": (0, 2, 9)}]

Expand Down
1 change: 1 addition & 0 deletions bioxelnodes/operators/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -854,6 +854,7 @@ def modal(self, context, event):
bpy.ops.bioxelnodes.render_setting_preset('EXEC_DEFAULT',
preset="balance")
bpy.context.scene.render.engine = 'CYCLES'
bpy.ops.bioxelnodes.slice_viewer('EXEC_DEFAULT')

self.report({"INFO"}, "Successfully Imported")
return {'FINISHED'}
Expand Down
8 changes: 4 additions & 4 deletions bioxelnodes/operators/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ class RenderSettingPreset(bpy.types.Operator):
def execute(self, context):
if self.preset == "performance":
# 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_shadow_samples = 32
bpy.context.scene.eevee.volumetric_samples = 64
Expand All @@ -162,7 +162,7 @@ def execute(self, context):

elif self.preset == "balance":
# 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_shadow_samples = 64
bpy.context.scene.eevee.volumetric_samples = 128
Expand All @@ -178,7 +178,7 @@ def execute(self, context):

elif self.preset == "quality":
# 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_shadow_samples = 128
bpy.context.scene.eevee.volumetric_samples = 256
Expand All @@ -202,7 +202,7 @@ class SliceViewer(bpy.types.Operator):
bl_icon = "FILE_VOLUME"

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_shadow_samples = 128
bpy.context.scene.eevee.volumetric_samples = 128
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "bioxelnodes"
version = "1.0.4"
version = "1.0.5"
description = ""
authors = ["Ma Nan <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 29b3025

Please sign in to comment.