Fluid Sim: Conditional inaccurate frame mapping #39583

Closed
opened 2014-04-04 01:30:59 +02:00 by Willi · 8 comments

System Information
Win7/64, AMD HD 6850

Blender Version
Broken: 2.70 official, 2.69, 2.67, 2.66.1, 2.65 (r53189)
Worked: 2.63, 2.64a (r51232)

Short description of error
If an inflow object is enabled by a key frame, the simulation may start one frame too late depending on the position of the key frame and the end time of the domain object.

Exact steps for others to reproduce the error

  • Open the appended blend file (including prepared UI): The scene contains one domain object and one inflow object. The inflow object is enabled at frame 100.
  • Bake the domain object.
  • Navigate to frame 100: The domain object is replaced by the fluid mesh. It's the frame at which the inflow object is enabled. This is expected behavior.
  • In the dope sheet window, move the key frame from 100 to 160.

Bake the domain object again and navigate to frame 160: The domain object is not replaced by the fluid mesh. Instead it's replaced at frame 161.

Problem: Depending on at which frame the inflow object is enabled, and also depending on the "end time" of the domain object, the domain object is replaced by the fluid mesh at that frame or one frame later. The result should be more consistent and reliable.

FluidSim_Offset.blend

**System Information** Win7/64, AMD HD 6850 **Blender Version** Broken: 2.70 official, 2.69, 2.67, 2.66.1, 2.65 (r53189) Worked: 2.63, 2.64a (r51232) **Short description of error** If an inflow object is enabled by a key frame, the simulation may start one frame too late depending on the position of the key frame and the end time of the domain object. **Exact steps for others to reproduce the error** - Open the appended blend file (including prepared UI): The scene contains one domain object and one inflow object. The inflow object is enabled at frame 100. - Bake the domain object. - Navigate to frame 100: The domain object is replaced by the fluid mesh. It's the frame at which the inflow object is enabled. This is expected behavior. - In the dope sheet window, move the key frame from 100 to 160. # Bake the domain object again and navigate to frame 160: The domain object is *not* replaced by the fluid mesh. Instead it's replaced at frame 161. Problem: Depending on at which frame the inflow object is enabled, and also depending on the "end time" of the domain object, the domain object is replaced by the fluid mesh at that frame or one frame later. The result should be more consistent and reliable. [FluidSim_Offset.blend](https://archive.blender.org/developer/F83885/FluidSim_Offset.blend)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @willi-2

Added subscriber: @willi-2
Author

Sorry, little correction: Instead of "end time of the domain object" I actually meant "end frame of the scene", but I think the end time could also have an influence.

Sorry, little correction: Instead of "end time of the domain object" I actually meant "end frame of the scene", but I think the end time could also have an influence.
Daniel Genrich was assigned by Thomas Dinges 2014-04-07 09:07:54 +02:00

Added subscriber: @ThomasDinges

Added subscriber: @ThomasDinges

Daniel, can you please take a look?

Daniel, can you please take a look?

Added subscriber: @Sergey

Added subscriber: @Sergey

Tried to solve this, and it's rather tricky one. Calculating doubles on blender side, passing them as floats to elbeem and casting them to doubles again is gonna to give really nasty precision loss. it's not so easy to bring back to consistency without some major API reconsiderations..

Also, assuming there's ongoing project about better fluid sim integration, not sure we need to spend time on this one. I've made sure this report is listed from the TODO http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Tools#Fluid_Simulation

Thanks for the report, but closing it now.

Tried to solve this, and it's rather tricky one. Calculating doubles on blender side, passing them as floats to elbeem and casting them to doubles again is gonna to give really nasty precision loss. it's not so easy to bring back to consistency without some major API reconsiderations.. Also, assuming there's ongoing project about better fluid sim integration, not sure we need to spend time on this one. I've made sure this report is listed from the TODO http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Tools#Fluid_Simulation Thanks for the report, but closing it now.

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
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#39583
No description provided.