Wrong Texture Color Space assigned when opening 2.79 into 2.8x #73341

Closed
opened 2020-01-23 11:53:24 +01:00 by Marco G · 5 comments

System Information
Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 436.30

Blender Version
Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-12-04 11:32, hash: f1aa4d18d4
Worked: 2.79

Short description of error
Texture Color Space is messed up when opening 2.79 file in Blender 2.8x

Exact steps for others to reproduce the error
Open the attached blend file in 2.79 or older, the wlanut material appears ok.
Instead, when opening the same file in 2.81a (or even 2.82beta), the Color Space of the texture has changed into Non Color, thus messing up my files.

  • Look at the screenshots--

Happens randomly here, I cannot work this way since it's impossible to check every shader when opening older blend files with tens of materials.280-texture-color-space.blend

279-texture-color-space.jpg

280-texture-color-space.jpg

**System Information** Operating system: Windows-10-10.0.18362 64 Bits Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 436.30 **Blender Version** Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-12-04 11:32, hash: `f1aa4d18d4` Worked: 2.79 **Short description of error** Texture Color Space is messed up when opening 2.79 file in Blender 2.8x **Exact steps for others to reproduce the error** Open the attached blend file in 2.79 or older, the wlanut material appears ok. Instead, when opening the same file in 2.81a (or even 2.82beta), the Color Space of the texture has changed into Non Color, thus messing up my files. - Look at the screenshots-- Happens randomly here, I cannot work this way since it's impossible to check every shader when opening older blend files with tens of materials.[280-texture-color-space.blend](https://archive.blender.org/developer/F8296752/280-texture-color-space.blend) ![279-texture-color-space.jpg](https://archive.blender.org/developer/F8296749/279-texture-color-space.jpg) ![280-texture-color-space.jpg](https://archive.blender.org/developer/F8296750/280-texture-color-space.jpg)
Author

Added subscriber: @marcog

Added subscriber: @marcog
Author

Investigated a bit, it appears that 2.8x cannot assign 2 different Color Space for the same texture, while 2.79 could.

For example in the blend attached i had two nodes with the same wood texture, but with different settings each one:

  • Linear for color of the material
  • Non Color for bump

Now when opening with Blender 2.8x it does assign one of the two Color Spaces to each of the texture nodes, thus messing up my base color. (it assigned Non-Color for both)

Any fix possible? It's a huge obstacle for my 2.79 files migration to 2.8x

Investigated a bit, it appears that 2.8x cannot assign 2 different Color Space for the same texture, while 2.79 could. For example in the blend attached i had two nodes with the same wood texture, but with different settings each one: - Linear for color of the material - Non Color for bump Now when opening with Blender 2.8x it does assign one of the two Color Spaces to each of the texture nodes, thus messing up my base color. (it assigned Non-Color for both) Any fix possible? It's a huge obstacle for my 2.79 files migration to 2.8x
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

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

Changed status from 'Needs Triage' to: 'Archived'
Philipp Oeser self-assigned this 2020-01-23 14:04:26 +01:00
Member

This has its roots in 7ad802cf3a

Cycles now uses the color space on the image datablock

This change breaks compatibility for cases where multiple image texture nodes
were using the same image with different color space node settings. However it
gives more predictable behavior for baking and texture painting if save, load
and image editing operations have a single color space to handle.

It has caused confusion numerous times #69244, #66985, #68047, #66979. but was not considered a bug.
So it is a know thing, all you can do I think is to have two separate image datablocks pointing to the same path on disk (just duplicate the Image Texture Node and make the image datablock single user), that way you can still set the Color Space separately.

Afraid we have to close this, thx for the report anyways!

This has its roots in 7ad802cf3a > Cycles now uses the color space on the image datablock > This change breaks compatibility for cases where multiple image texture nodes > were using the same image with different color space node settings. However it > gives more predictable behavior for baking and texture painting if save, load > and image editing operations have a single color space to handle. It has caused confusion numerous times #69244, #66985, #68047, #66979. but was not considered a bug. So it is a know thing, all you can do I think is to have two separate image datablocks pointing to the same path on disk (just duplicate the Image Texture Node and make the image datablock single user), that way you can still set the Color Space separately. Afraid we have to close this, thx for the report anyways!
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#73341
No description provided.