Layer.load_from_file() have some problems loading a Multi-layered EXR files #108980

Closed
opened 2023-06-14 16:37:53 +02:00 by Pedro A. · 4 comments
Contributor

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 535.98

Blender Version
Broken: version: 4.0.0 Alpha, branch: main, commit date: 2023-06-12 06:44, hash: 84f1c4e16cd7
Worked: (newest version of Blender that worked as expected)

Short description of error
Layer.load_from_file() have some problems loading a Multl-layered EXR files that are loaded in other viewer's like Tev or DJV

self.result.layers[0].load_from_file(img_file_path, x=0, y=0)
RuntimeError: Error: RE_layer_load_from_file: failed to load '/vespa_pbrt/Scene_RenderLayer_000.exr'

multilayer read: unknown channel token: Nsx
multilayer read: unknown channel token: Nsy
multilayer read: unknown channel token: Nsz
multilayer read: unknown channel token: dzdx
multilayer read: unknown channel token: dzdy
warning, channel with no rect set Nsx
warning, channel with no rect set Nsy
warning, channel with no rect set Nsz
warning, channel with no rect set dzdx
warning, channel with no rect set dzdy

Exact steps for others to reproduce the error
The steps required a personal render engine project that is not released yet.

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 535.98 **Blender Version** Broken: version: 4.0.0 Alpha, branch: main, commit date: 2023-06-12 06:44, hash: `84f1c4e16cd7` Worked: (newest version of Blender that worked as expected) **Short description of error** Layer.load_from_file() have some problems loading a Multl-layered EXR files that are loaded in other viewer's like Tev or DJV ``` self.result.layers[0].load_from_file(img_file_path, x=0, y=0) RuntimeError: Error: RE_layer_load_from_file: failed to load '/vespa_pbrt/Scene_RenderLayer_000.exr' multilayer read: unknown channel token: Nsx multilayer read: unknown channel token: Nsy multilayer read: unknown channel token: Nsz multilayer read: unknown channel token: dzdx multilayer read: unknown channel token: dzdy warning, channel with no rect set Nsx warning, channel with no rect set Nsy warning, channel with no rect set Nsz warning, channel with no rect set dzdx warning, channel with no rect set dzdy ``` **Exact steps for others to reproduce the error** The steps required a personal render engine project that is not released yet.
Pedro A. added the
Status
Needs Triage
Type
Report
Priority
Normal
labels 2023-06-14 16:37:54 +02:00

Please attach the EXR file.

Please attach the EXR file.
Author
Contributor

Sure.. done!

Sure.. done!

Blender could do better here, but the way channels are stored in this files is odd.

Also in other viewers you can see that it is not recognizing a Ns render pass with xyz channels, but instead individual Nsx, Nsy and Nsz render passes. It would make more sense to name the channels Ns.x, Ns.y and Ns.z.

Blender could do better here, but the way channels are stored in this files is odd. Also in other viewers you can see that it is not recognizing a Ns render pass with xyz channels, but instead individual Nsx, Nsy and Nsz render passes. It would make more sense to name the channels `Ns.x`, `Ns.y` and `Ns.z`.
Blender Bot added
Status
Resolved
and removed
Status
Needs Triage
labels 2023-06-14 17:17:06 +02:00
Author
Contributor

Blender could do better here, but the way channels are stored in this files is odd.

Also in other viewers you can see that it is not recognizing a Ns render pass with xyz channels, but instead individual Nsx, Nsy and Nsz render passes. It would make more sense to name the channels Ns.x, Ns.y and Ns.z.

Good point, Brecht. Thank you!

> Blender could do better here, but the way channels are stored in this files is odd. > > Also in other viewers you can see that it is not recognizing a Ns render pass with xyz channels, but instead individual Nsx, Nsy and Nsz render passes. It would make more sense to name the channels `Ns.x`, `Ns.y` and `Ns.z`. Good point, Brecht. Thank you!
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#108980
No description provided.