Cycles: texture cache and mipmaps #68917

Open
opened 2019-08-20 21:27:05 +02:00 by Dalai Felinto · 5 comments

There are a few parts to this:

  • Use OIIO texture cache in SVM
  • Reduced quality lookups on indirect bounces
  • Improve ray differentials in BSDF to ensure higher MIP levels are used
  • Preserve ray differentials in SVM
  • .tx file workflow, including automated generation
  • Bundle maketx with Blender
  • Optimize texture lookups by randomly sampling one of two MIP levels instead of interpolating between them

For GPU rendering, the OptiX SDK has code that we could adapt. Potentially this could be used for both CPU and GPU rendering. Some of the work from Tangent Animation can also be used to implement this, though that implementation is CPU only.

There are a few parts to this: - [ ] Use OIIO texture cache in SVM - [ ] Reduced quality lookups on indirect bounces - [ ] Improve ray differentials in BSDF to ensure higher MIP levels are used - [ ] Preserve ray differentials in SVM - [ ] .tx file workflow, including automated generation - [ ] Bundle maketx with Blender - [ ] Optimize texture lookups by randomly sampling one of two MIP levels instead of interpolating between them For GPU rendering, the OptiX SDK has code that we could adapt. Potentially this could be used for both CPU and GPU rendering. Some of the work from [Tangent Animation](https://github.com/tangent-opensource/blender) can also be used to implement this, though that implementation is CPU only.
Brecht Van Lommel changed title from Texture cache and mipmaps to Cycles: texture cache and mipmaps 2021-10-28 15:10:44 +02:00

Please do consider add a option in
preference->file Paths
to allow setting custom path for the generated .tx files!
I used to use arnold and have .tx files in my cloud drive which are all over the place and I hate that!

Please do consider add a option in ```preference->file Paths``` to allow setting custom path for the generated .tx files! I used to use arnold and have .tx files in my cloud drive which are all over the place and I hate that!
Brecht Van Lommel added this to the Render & Cycles project 2023-02-07 19:08:06 +01:00
Philipp Oeser removed the
Interest
Render & Cycles
label 2023-02-09 13:59:50 +01:00

Hi guys, is there any new about this features ?
Is it plan to put someone on this soon ?

This could be a big change and optimisation for Blender and Cycles-X. A lot of people are waiting for this feature.
I know that in the past a guy work on it for the old cycles. Could it be possible to used a part of is job to advance more easily on this development ?
We really need .tx to give more details to our projet and drasticly lower RAM usage.

Cheers <3

Hi guys, is there any new about this features ? Is it plan to put someone on this soon ? This could be a big change and optimisation for Blender and Cycles-X. A lot of people are waiting for this feature. I know that in the past a guy work on it for the old cycles. Could it be possible to used a part of is job to advance more easily on this development ? We really need .tx to give more details to our projet and drasticly lower RAM usage. Cheers <3

This would be one of the more important features for large productions. We’re currently working on a feature film and had to implement many workarounds to handle texture memory. This would make things so much more streamlined!

This would be one of the more important features for large productions. We’re currently working on a feature film and had to implement many workarounds to handle texture memory. This would make things so much more streamlined!

The lack of .tx support is a huge time drain in complex scenes with a lot of foliage, Quixel and other photo scan assets. This is currently one of the biggest issues with Cycles I see. All render times with de-noise are fine but the amount of artist-time spent manually fixing textures to fit into GPU memory is not. Please look into this. Thank you.

The lack of .tx support is a huge time drain in complex scenes with a lot of foliage, Quixel and other photo scan assets. This is currently one of the biggest issues with Cycles I see. All render times with de-noise are fine but the amount of artist-time spent manually fixing textures to fit into GPU memory is not. Please look into this. Thank you.

.exr supports tiling/caching as well, it’d be handy if a Cycles implementation did as well.

At least a few larger VFX studios I know of store all of their textures across the pipeline as .exr for this purpose. It enables hero assets with tens if not hundreds of GB of UDIM textures, and for some render engines at least it can provide quite drastic speed ups for network rendering (though less for local rendering with modern SSD speeds)

.exr supports tiling/caching as well, it’d be handy if a Cycles implementation did as well. At least a few larger VFX studios I know of store all of their textures across the pipeline as .exr for this purpose. It enables hero assets with tens if not hundreds of GB of UDIM textures, and for some render engines at least it can provide quite drastic speed ups for network rendering (though less for local rendering with modern SSD speeds)
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 Assignees
6 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#68917
No description provided.