Image texture visible in cycles but not in eevee when incorrectly recognised as udim tile #103681

Closed
opened 2023-01-06 11:41:51 +01:00 by Wouter Stomp · 15 comments

System Information
Operating system: macOS-13.1-arm64-arm-64bit 64 Bits
Graphics card: Metal API Apple M1 Max 1.2

Blender Version
Broken: version: 3.5.0 Alpha, branch: master, commit date: 2023-01-06 00:40, hash: bc5337a05a
Worked: unknown

Short description of error
See attached file, when I open the file in the image texture node, it is automatically (but wrongly) set to udim tile (presumably due to the file name? which was fightclub-secrets-1600.jpg where 1600 refers to its resolution). Subsequently it is only visible in cycles and shows up as missing/pink in eevee. When I switch to single image it is visible in both.

Exact steps for others to reproduce the error
Open attached blend file
Switch between eevee and cycles in renders view

Missing texture eevee.blend

**System Information** Operating system: macOS-13.1-arm64-arm-64bit 64 Bits Graphics card: Metal API Apple M1 Max 1.2 **Blender Version** Broken: version: 3.5.0 Alpha, branch: master, commit date: 2023-01-06 00:40, hash: `bc5337a05a` Worked: unknown **Short description of error** See attached file, when I open the file in the image texture node, it is automatically (but wrongly) set to udim tile (presumably due to the file name? which was fightclub-secrets-1600.jpg where 1600 refers to its resolution). Subsequently it is only visible in cycles and shows up as missing/pink in eevee. When I switch to single image it is visible in both. **Exact steps for others to reproduce the error** Open attached blend file Switch between eevee and cycles in renders view [Missing texture eevee.blend](https://archive.blender.org/developer/F14120053/Missing_texture_eevee.blend)
Author

Added subscriber: @blenderrocket

Added subscriber: @blenderrocket
Author

This happens for any image ending in '-1002' or larger numbers. '-1001' is set to udim but then the image is visible in both cycles and eevee. Lower numbers are recognised as single image.

This happens for any image ending in '-1002' or larger numbers. '-1001' is set to udim but then the image is visible in both cycles and eevee. Lower numbers are recognised as single image.

Added subscriber: @Michael-Parkin-White-Apple

Added subscriber: @Michael-Parkin-White-Apple

Added subscriber: @Baardaap

Added subscriber: @Baardaap

While unfortunate I wouldn't really call this a bug. Blender has no real way of deciding if something is an udim tile, except for the filename. The heuristic works out wrong in this case, but the solution is easy.

I don't really know how blender could do it differently.

Do you have a proposal for how to handle it that would work?

While unfortunate I wouldn't really call this a bug. Blender has no real way of deciding if something is an udim tile, except for the filename. The heuristic works out wrong in this case, but the solution is easy. I don't really know how blender could do it differently. Do you have a proposal for how to handle it that would work?

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

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

I am not that familiar with how UDIMs work, so I am not sure. However is it normal to add them through an image texture node? It was a bit unexpected that it switches to udim automatically, maybe this should be a manual step? And the second thing is that I would expect cycles and eevee to display the same result, or is this a known limitation somehow?

I am not that familiar with how UDIMs work, so I am not sure. However is it normal to add them through an image texture node? It was a bit unexpected that it switches to udim automatically, maybe this should be a manual step? And the second thing is that I would expect cycles and eevee to display the same result, or is this a known limitation somehow?

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

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

I don't actually know that. I suppose the result should be the same.

I'll set it back to 'Needs Triage' to let someone more knowledgeable look at it.

I don't actually know that. I suppose the result should be the same. I'll set it back to 'Needs Triage' to let someone more knowledgeable look at it.
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

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

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

when incorrectly recognised as udim tile

Hi, when loading an image, disable Detect UDIMs in file browser. Does it solve the issue?
38.png

hows up as missing/pink in eevee.

This is expected since object UVs are not mapped with image.
image.png
Not sure why image texture worked for Cycles in this case

> when incorrectly recognised as udim tile Hi, when loading an image, disable `Detect UDIMs` in file browser. Does it solve the issue? ![38.png](https://archive.blender.org/developer/F14170530/38.png) > hows up as missing/pink in eevee. This is expected since object UVs are not mapped with image. ![image.png](https://archive.blender.org/developer/F14170537/image.png) Not sure why image texture worked for Cycles in this case

Removed subscriber: @Baardaap

Removed subscriber: @Baardaap
Author

In #103681#1475874, @PratikPB2123 wrote:

when incorrectly recognised as udim tile

Hi, when loading an image, disable Detect UDIMs in file browser. Does it solve the issue?

Yes thanks I didn't know of that option, I still think it is confusing to have this enabled by default (with the checkbox in a hidden side panel) but that is matter of choice of the developers.

hows up as missing/pink in eevee.

This is expected since object UVs are not mapped with image.
Not sure why image texture worked for Cycles in this case

It seems Cycles and Eevee handle the situation with a single udim image differently: as long as there is one single udim image, cycles handles it like a single image texture (although the image shows far away as in your screenshot in the uv editor, elsewhere it is still displayed as if it is at the 0,0 coordinates); also the clip/extend/repeat option work like with a single image. Once you add a second udim tile/file cycles and eevee act the same, showing a pink/missing texture outside the image coordinates that are determined by the number in the file name.

> In #103681#1475874, @PratikPB2123 wrote: >> when incorrectly recognised as udim tile > Hi, when loading an image, disable `Detect UDIMs` in file browser. Does it solve the issue? Yes thanks I didn't know of that option, I still think it is confusing to have this enabled by default (with the checkbox in a hidden side panel) but that is matter of choice of the developers. >> hows up as missing/pink in eevee. > This is expected since object UVs are not mapped with image. > Not sure why image texture worked for Cycles in this case It seems Cycles and Eevee handle the situation with a single udim image differently: as long as there is one single udim image, cycles handles it like a single image texture (although the image shows far away as in your screenshot in the uv editor, elsewhere it is still displayed as if it is at the 0,0 coordinates); also the clip/extend/repeat option work like with a single image. Once you add a second udim tile/file cycles and eevee act the same, showing a pink/missing texture outside the image coordinates that are determined by the number in the file name.
Philipp Oeser removed the
Interest
EEVEE & Viewport
label 2023-02-09 15:11:56 +01:00
Bastien Montagne added this to the Core project 2023-02-09 15:43:54 +01:00
Bastien Montagne removed this from the Core project 2023-02-09 18:20:29 +01:00
Philipp Oeser added the
Interest
Core
label 2023-02-10 11:09:21 +01:00
Philipp Oeser added
Status
Needs Triage
and removed
Status
Needs Information from User
labels 2023-02-20 12:55:14 +01:00
Member

Hi, good to know that worked for you.
Changing the default value of Detect UDIMs checkbox and how cycles/EEVEE handles udims will be a separate topic of discussion. I guess the original problem you've reported is resolved now and this ticket can be closed.
Feel free to comment if there is misunderstanding (will reopen the report).
Thanks again for the report!

Hi, good to know that worked for you. Changing the default value of `Detect UDIMs` checkbox and how cycles/EEVEE handles udims will be a separate topic of discussion. I guess the original problem you've reported is resolved now and this ticket can be closed. Feel free to comment if there is misunderstanding (will reopen the report). Thanks again for the report!
Blender Bot added
Status
Archived
and removed
Status
Needs Triage
labels 2023-03-03 12:52:36 +01: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
4 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#103681
No description provided.