Mantaflow liquid sim mesh won't have speed vectors with OpenVDB as cache method #81202

Closed
opened 2020-09-26 11:45:45 +02:00 by Juan Gea · 7 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 456.38

Blender Version
Broken: version: 2.91.0 Alpha, branch: boneMaster291, commit date: 2020-09-22 14:52, hash: 081850b220

It's our own build, but it's basically the same as master as we have not touched a single thing related to all this.

Short description of error
That's the description, if we use OpenVDB as cache method for liquids the mesh won't have any speed vectors as a result, if we use UniCache it will have vectors information.

Exact steps for others to reproduce the error
1.- Open the example file
2.- Go to the Liquid Domain object, and there to the mantaflow settings tab
3.- Go to the cache section and ensure you have OpenVDB as cache format, and All as cache type, just for the shake of simplicity.
4.- Press bake
5.- in frame 18 press F12 to render
6.- the result won't have motion blur
7.- Repeat step 3, but now configure UniCache as cache format
8.- press bake
9.- in frame 18 press F12 to render
10.- you will see motion blur in the render

Here is also a video showing the problem:
manta_openvdb_vectors_bug.mp4

And here is the sample file:
test_speed_vectors.blend

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 456.38 **Blender Version** Broken: version: 2.91.0 Alpha, branch: boneMaster291, commit date: 2020-09-22 14:52, hash: `081850b220` It's our own build, but it's basically the same as master as we have not touched a single thing related to all this. **Short description of error** That's the description, if we use OpenVDB as cache method for liquids the mesh won't have any speed vectors as a result, if we use UniCache it will have vectors information. **Exact steps for others to reproduce the error** 1.- Open the example file 2.- Go to the Liquid Domain object, and there to the mantaflow settings tab 3.- Go to the cache section and ensure you have OpenVDB as cache format, and All as cache type, just for the shake of simplicity. 4.- Press bake 5.- in frame 18 press F12 to render 6.- the result won't have motion blur 7.- Repeat step 3, but now configure UniCache as cache format 8.- press bake 9.- in frame 18 press F12 to render 10.- you will see motion blur in the render Here is also a video showing the problem: [manta_openvdb_vectors_bug.mp4](https://archive.blender.org/developer/F8924114/manta_openvdb_vectors_bug.mp4) And here is the sample file: [test_speed_vectors.blend](https://archive.blender.org/developer/F8924123/test_speed_vectors.blend)
Author

Added subscriber: @juang3d

Added subscriber: @juang3d

Added subscribers: @sebbas, @Lazza

Added subscribers: @sebbas, @Lazza

In #78442#982856, @sebbas wrote:
Small update: Since 6b6e2e742f motion blur works again when using "Uni" as the format for volumes. Motion blur support with OpenVDB remains to do.

EDIT: Motion blur with "Uni" caching seemed to work before too - in that case this was more of a clean up, e.g. the mesh file were written twice per frame under different names before.

Motion blur with OpenVDB isn't working because it is not implemented.

> In #78442#982856, @sebbas wrote: > Small update: Since 6b6e2e742ff4 motion blur works again when using "Uni" as the format for volumes. Motion blur support with OpenVDB remains to do. > > EDIT: Motion blur with "Uni" caching seemed to work before too - in that case this was more of a clean up, e.g. the mesh file were written twice per frame under different names before. Motion blur with OpenVDB isn't working because it is not implemented.
Author

I thought that was for smoke, not for liquid.

However if that's the case, a warning should appear below the "calculate speed vectors" checkbox when openVDB is the cache method, because right now it's not obvious :)

I thought that was for smoke, not for liquid. However if that's the case, a warning should appear below the "calculate speed vectors" checkbox when openVDB is the cache method, because right now it's not obvious :)

Added subscriber: @iss

Added subscriber: @iss

I will merge this into #78442 because it is technically same issue.

I will merge this into #78442 because it is technically same issue.

Closed as duplicate of #78442

Closed as duplicate of #78442
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
3 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#81202
No description provided.