uint16 mipmap tif files are not showing in EEVEE but work in cycles #85097

Closed
opened 2021-01-27 05:47:52 +01:00 by Robert Nederhorst · 21 comments

System Information
Operating system: WIn10
Graphics card: QUadro RTX6000

Blender Version
Broken: 2.9x
Worked: n/a

Short description of error
Included is a uint16 data type mipmap tif file.
while this renders in cycles, eevee doesn't recognize it

Exact steps for others to reproduce the error
see attached blend file
blender_mip_map_issue.blend

**System Information** Operating system: WIn10 Graphics card: QUadro RTX6000 **Blender Version** Broken: 2.9x Worked: n/a **Short description of error** Included is a uint16 data type mipmap tif file. while this renders in cycles, eevee doesn't recognize it **Exact steps for others to reproduce the error** see attached blend file [blender_mip_map_issue.blend](https://archive.blender.org/developer/F9599731/blender_mip_map_issue.blend)

Added subscriber: @RobN

Added subscriber: @RobN
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Is this tif supposed to be pure black and fully transparent?

Is this tif supposed to be pure black and fully transparent?

Added subscriber: @rjg

Added subscriber: @rjg

I suspect that either the image is corrupted or Blender is reading it improperly. Is it supposed to look like this?
Screenshot from 2021-01-27 10-26-02.png

I suspect that either the image is corrupted or Blender is reading it improperly. Is it supposed to look like this? ![Screenshot from 2021-01-27 10-26-02.png](https://archive.blender.org/developer/F9600174/Screenshot_from_2021-01-27_10-26-02.png)

The packing of the file somehow caused it to do that.

Once I unpacked it, then changed the color space (forcing a reload), it behaved as the bug report shows.

Here is the file attached
1200px-Breathe-face-smile.svg.tif

The packing of the file somehow caused it to do that. Once I unpacked it, then changed the color space (forcing a reload), it behaved as the bug report shows. Here is the file attached ![1200px-Breathe-face-smile.svg.tif](https://archive.blender.org/developer/F9600516/1200px-Breathe-face-smile.svg.tif)

This is what I see in Cycles:
image.png

This is what EEVEE sees:
image.png

Image editor :
image.png

This is what I see in Cycles: ![image.png](https://archive.blender.org/developer/F9600580/image.png) This is what EEVEE sees: ![image.png](https://archive.blender.org/developer/F9600582/image.png) Image editor : ![image.png](https://archive.blender.org/developer/F9600584/image.png)

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

For me, this doesnt render in Cycles nor Eevee, nor can it be opened correctly in any other application I have.

@RobN : can you explain how this file was written? was it done using this https://openimageio.readthedocs.io/en/release-2.2.8.0/maketx.html?

For me, this doesnt render in Cycles nor Eevee, nor can it be opened correctly in any other application I have. @RobN : can you explain how this file was written? was it done using this https://openimageio.readthedocs.io/en/release-2.2.8.0/maketx.html?

Yes that’s right. However I’m in windows and I used the one that comes with maya. It should be the same but I didn’t compile oiio to get the executable.

Yes that’s right. However I’m in windows and I used the one that comes with maya. It should be the same but I didn’t compile oiio to get the executable.
Member

Just to make sure we are all on the same page:

  • could you provide the "original" image (before this was converted with maketx/oiiotool)?
  • could you provide the exact syntax/arguments/options to the maketx/oiiotool binary, so we can reproduce ourselves?
Just to make sure we are all on the same page: - could you provide the "original" image (before this was converted with maketx/oiiotool)? - could you provide the exact syntax/arguments/options to the maketx/oiiotool binary, so we can reproduce ourselves?
Member

Added subscriber: @EAW

Added subscriber: @EAW
Member

iinfo outputs:

MIP-map levels: 1200x1200 600x600 300x300 150x150 75x75 37x37 18x18 9x9 4x4 2x2 1x1
channel list: R, G, B, A
tile size: 64 x 64
compression: "zip"
DateTime: "2021:01:26 23:43:13"
fovcot: 1
Orientation: 1 (normal)
planarconfig: "contig"
Software: "OpenImageIO-Arnold 2.1.4dev : maketx .\1200px-Breathe-face-smile.svg.png --opaque-detect --constant-color-detect --fixnan box3 --oiio -d uint16"
textureformat: "Plain Texture"
wrapmodes: "black,black"
oiio:AverageColor: "0.648493,0.593603,0.14458,0.720973"
oiio:BitsPerSample: 16
oiio:SHA-1: "96CF22D625E906ADA18AB9F35D7DA4A4E2797F74"
tiff:Compression: 8
tiff:PhotometricInterpretation: 2
tiff:PlanarConfiguration: 1```


> In #85097#1115326, @lichtwerk wrote:
> Just to make sure we are all on the same page:
> - could you provide the exact syntax/arguments/options to the maketx/oiiotool binary, so we can reproduce ourselves?


Probably (but can't be sure) would be:
`"OpenImageIO-Arnold 2.1.4dev : maketx .\\1200px-Breathe-face-smile.svg.png --opaque-detect --constant-color-detect --fixnan box3 --oiio -d uint16"`

It appears as expected on Windows 10 for me. Here is the Windows Explorer preview, Ifranview, and Gimp.  ![Windows_looks_fine.png](https://archive.blender.org/developer/F9818984/Windows_looks_fine.png)

In Cycles I see the smiley face once It is unpacked.  In Eevee, Workbench, and the Image viewer I see lines like @rjg does, but the lines' colors change every time I restart Blender.

![Cycles.png](https://archive.blender.org/developer/F9819036/Cycles.png)
Cycles Packed.

![T85097_Cycles_Unpacked.png](https://archive.blender.org/developer/F9819039/T85097_Cycles_Unpacked.png)
Cycles Unpacked.

![T85097_EEVEE.png](https://archive.blender.org/developer/F9819042/T85097_EEVEE.png)
EEVEE packed.

![T85097_EEVEE_unpacked.png](https://archive.blender.org/developer/F9819044/T85097_EEVEE_unpacked.png)
EEVEE unpacked.


iinfo outputs: ```1200px-Breathe-face-smile.svg.tif : 1200 x 1200, 4 channel, uint16 tiff ``` MIP-map levels: 1200x1200 600x600 300x300 150x150 75x75 37x37 18x18 9x9 4x4 2x2 1x1 channel list: R, G, B, A tile size: 64 x 64 compression: "zip" DateTime: "2021:01:26 23:43:13" fovcot: 1 Orientation: 1 (normal) planarconfig: "contig" Software: "OpenImageIO-Arnold 2.1.4dev : maketx .\\1200px-Breathe-face-smile.svg.png --opaque-detect --constant-color-detect --fixnan box3 --oiio -d uint16" textureformat: "Plain Texture" wrapmodes: "black,black" oiio:AverageColor: "0.648493,0.593603,0.14458,0.720973" oiio:BitsPerSample: 16 oiio:SHA-1: "96CF22D625E906ADA18AB9F35D7DA4A4E2797F74" tiff:Compression: 8 tiff:PhotometricInterpretation: 2 tiff:PlanarConfiguration: 1``` ``` > In #85097#1115326, @lichtwerk wrote: > Just to make sure we are all on the same page: > - could you provide the exact syntax/arguments/options to the maketx/oiiotool binary, so we can reproduce ourselves? Probably (but can't be sure) would be: `"OpenImageIO-Arnold 2.1.4dev : maketx .\\1200px-Breathe-face-smile.svg.png --opaque-detect --constant-color-detect --fixnan box3 --oiio -d uint16"` It appears as expected on Windows 10 for me. Here is the Windows Explorer preview, Ifranview, and Gimp. ![Windows_looks_fine.png](https://archive.blender.org/developer/F9818984/Windows_looks_fine.png) In Cycles I see the smiley face once It is unpacked. In Eevee, Workbench, and the Image viewer I see lines like @rjg does, but the lines' colors change every time I restart Blender. ![Cycles.png](https://archive.blender.org/developer/F9819036/Cycles.png) Cycles Packed. ![T85097_Cycles_Unpacked.png](https://archive.blender.org/developer/F9819039/T85097_Cycles_Unpacked.png) Cycles Unpacked. ![T85097_EEVEE.png](https://archive.blender.org/developer/F9819042/T85097_EEVEE.png) EEVEE packed. ![T85097_EEVEE_unpacked.png](https://archive.blender.org/developer/F9819044/T85097_EEVEE_unpacked.png) EEVEE unpacked.
Member

Triaging Note: Reminds me of #80925 (DDS Image files are not displayed correctly outside of Cycles/Thumbnails).
From the fix commit

Due to recent refactoring the compressed texture formats missed the conversion to its GL counterpart.

Triaging Note: Reminds me of #80925 (DDS Image files are not displayed correctly outside of Cycles/Thumbnails). From the [fix commit](https://developer.blender.org/rB0badb7f82dd4944301983a72ea540f959a393a34) >Due to recent refactoring the compressed texture formats missed the conversion to its GL counterpart.
Member

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'
Philipp Oeser self-assigned this 2021-03-25 09:56:23 +01:00
Member

Can confirm now

Can confirm now
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Philipp Oeser removed their assignment 2021-05-12 14:42:43 +02:00
Member

Forgot to set this to confirmed (will step down though, wont have time for this atm)

Forgot to set this to confirmed (will step down though, wont have time for this atm)
Philipp Oeser removed the
Interest
EEVEE & Viewport
label 2023-02-09 15:14:01 +01:00

This issue should now be fixed in 3.6 LTS and onwards. Was fixed by aa3bdfd76a (just going through some older bugs today)

This issue should now be fixed in 3.6 LTS and onwards. Was fixed by aa3bdfd76a3 (just going through some older bugs today)
Jesse Yurkovich added
Status
Resolved
and removed
Status
Confirmed
labels 2023-07-20 00:29:36 +02:00
Blender Bot added
Status
Archived
and removed
Status
Resolved
labels 2023-07-20 00:30:12 +02:00
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
5 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#85097
No description provided.