fix: slice viewer change all 3d viewports

fix: eevee env light effect cycles render
feat: add gamma prop to correct color from non-linear image
feat: add "copy transform" node
This commit is contained in:
2024-11-01 11:57:29 +08:00
parent 2c844c01ec
commit dc7d9382d6
7 changed files with 59 additions and 34 deletions

View File

@@ -664,6 +664,9 @@ class ImportVolumetricDataDialog(bpy.types.Operator):
else:
data = data.astype(np.float32)
# Gamma Correct
# data = data ** 2.2
name = self.layer_name or "Color"
if data.shape[4] == 1:
data = np.repeat(data, repeats=3, axis=4)