JPEG 2000 Images rendering pink on macOS - Cycles #52845
Labels
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#52845
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
macOS Sierra 10.12.4
Intel HD Graphics 4600 1536 MB
NVIDIA GeForce GTX 570
Blender Version
Broken: 2.79
bb4a12914f
Worked: (optional)
Short description of error
JPEG 2000 image planes (Cycles) are rendering as pink. Project was originally created on a Ubuntu machine and worked perfectly. Packing the image seems to fix the problem, but changing the image texture node to image sequence seems to break it again (the frames aren't being flagged as missing/not can't be loaded). Attached are details from a Hackintosh machine, but I verified the problem on a 2016 iMac too.
Exact steps for others to reproduce the error
Open the blend file attached on macOS. Switch to rendered view. It should be pink, indicating a missing texture.
jp2-mac.blend
system-info.txt
Changed status to: 'Open'
Added subscriber: @stephenthomas
Added subscriber: @Sergey
Works on Linux. Wondering whether macOS version of OIIO is compiled with OpenJpeg2000 support?
As in screenshot, image that is tried to read is : 05_3c_00000.jp2.001 , if you select 05_3c_00000.jp2, you'll get the texture correctly. So problem is not OIIO OpenJpeg2000 support. Something else is going on. Image sequence trying to increment the extension? (wild guess)
OIIO doesn't do image sequence manipulation, it's operating on file paht given to it as-is. Can you verify whether
image_user_file_path()
is giving a correct file name?Yes, sounds plausable. The project was originally made on a Ubuntu machine, no problems. The image texture node was referencing an image sequence. Opening on macOS, without any changes (I was going to set it rendering), it was pink. Importing a single JP2000 image on macOS worked ok...
The BKE_image_user_file_path() gives:
For that .001 version, and it's not packed so it can't be found.
Remember that image sequences/movies can't be packed.
Apologies, I was trying lots of different things (packing/unpacking) to figure out what specifically was causing the problem, so the .001 may be a bit of a red herring...
I've just created a clean version with the following steps:
I've zipped the Blender project together with the four images in the image sequence. Should be as simple as unzipping, opening Blender on macOS and switching the viewport to rendered view to see the bug.
With a bit more testing (since zipping the attached zip), it doesn't seem to make a difference if it's an image sequence or not...... Really really odd......
test.zip
Yeah, now confirmed.
Textures are found, you can see them in textured/material viewport, but moment you hit cycles on, you can see nothing but pink panther's back.
It is OIIO thing. For now, you need now to use other format for the images, sorry for inconvenience caused.
No problem at all, I'd already converted the image sequence into a ProRes clip to finish off the shot, just wanted to report the bug ?
This issue was referenced by None@61950
Changed status from 'Open' to: 'Resolved'
This issue was referenced by None@61951