DDS image format improvements #101405
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
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#101405
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?
DDS Issues
Currently (Blender 3.3/3.4), .DDS file format support in Blender has a handful of issues:
System console output for various DDS issues often lacks context, e.g. often it just says
Unable to find a suitable DXT compression
with no further details.Proposed Solution
Eevee/Viewport and Cycles use completely different image loading code paths, so the solutions for them are different:
Eevee uses "ImBuf" code inside Blender itself, which is partially taken from an old nvidia-texture-tools project for DDS handling.
bcdec.h
library (https://github.com/iOrange/bcdec) for DXT/BCn decoding (MIT or Unlicense).Cycles uses OpenImageIO. Currently Blender uses OIIO 2.3.x. Upcoming OIIO 2.4 contains support for BC4..BC7 (#3462) as well as performance improvements (#3463).
Test Project
Attached a test project that has a scene with 30+ different format DDS files, and screenshots how it renders in both Eevee and Cycles in Blender 3.3.
dds_tests_project.zip
Changed status from 'Needs Triage' to: 'Confirmed'
Added subscriber: @aras_p
Added subscriber: @EAW
Adding the
BF Blender
tag, as tracking gets messed up without it. :-)This issue was referenced by
cb2fb570f1
This issue was referenced by
6dd2e193e1
Changed status from 'Confirmed' to: 'Resolved'
Added subscriber: @mont29
Changed status from 'Resolved' to: 'Confirmed'
Wrong task number in commit, sorry...
Changed status from 'Confirmed' to: 'Resolved'
Changed status from 'Resolved' to: 'Confirmed'
Wrongly closed due to mistyped task number in a commit, reopening.
Added subscriber: @codeloadgame
This was addressed by @deadpin with switch to OpenImageIO for DDS loading, in Blender 3.6 and up. Now all of EEVEE/Cycles/Workbench interpret various DDS formats consistently, and has wider support compared to before. The test above looks like this: