Linked collection with smoke simulation cached doesn't work #76401
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
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 & 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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
Asset System
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#76401
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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?
System Information
Operating system: Windows 10
Graphics card: RTX 2070 laptop
Blender Version
Broken: 2.82
Worked: IDK
Short description of error
Linked collection with smoke doesn't seems to load the cache properly or something.
Exact steps for others to reproduce the error
The domain doesn't load the cache
Added subscriber: @casimirp
Changed status from 'Needs Triage' to: 'Confirmed'
Added subscriber: @mano-wii
@casimirp, I can confirm by linking the collection of another file but not when link the collection in another scene. So I edited the description.
It looks like the fluid sim is loading the cache correctly, but the instancing code is not drawing/rendering the data. I'm not familiar with that code though.
Had a closer look again: This appears to be a deliberate "feature" in the drawing code. The fluid sim cache is loaded correctly, but the drawing code explicitly disables drawing of volume data for instanced geometry. I do not know whether that's a design decision (less viewport clutter?), a technical limitation (duplicate smoke caches break perhaps?), or a simple oversight.
@fclem Do you know anything about this?
The
!from_dupli
here and below disables volume drawing:Simply removing the flag does not fix it, there are probably other places checking this condition and/or technical reasons that smoke overlay cannot be shown for instances.
@LukasTonne This code is only for overlays. Which I think is wanted (we don't want the instanced objects to show data overlays). As to why it doesn't render by the render engine, that is a totally different question.
@fclem Ah sorry, i got that wrong. But looks like the workbench engine (and presumably others) also has a check like this to disable fluid drawing for instances:
I've traced it back to this ancient commit. It doesn't give any reasoning, not sure if it can be called a bug or not.
7a693626d6 (diff-def1a4647cacc16a16e0a5aa8ddfc7c032b35339)
I have no idea then. Might just be legacy behavior. It might break older files badly if we change this behavior. The best way to instanciate fluid sim is through the volume object I think.
Ok, will consider it a feature then. At least it's neither a nodes nor a physics bug.