Problem with keyframing fluid inflow properties #27306

Closed
opened 2011-05-06 13:44:53 +02:00 by Stuart murra · 11 comments

%%%I have a strange problem with my fluid inflow object, in that when it has no keyframes applied to any of its properties it flows perfectly fine, however as soon as I apply more than one keyframe (say for example one at frame 1 for the emitter to be "active" and one at frame 80 to be "inactive") the flow of the emitter does weird things.

  1. If I do the simple on/off toggle keyframes, it tends to emit at the correct force for a few frames, but then it dies down and doesnt emit much or anything at all. If I up the resolution, it can be seen that it seems to only be emitting from around the edges of the object.

  2. If I set up keyframes altering the velocity of the inflow from 0 to 50 over the space of 50 frames for example, the emitter doesn't emit anything for a while and then all of a sudden spurts like a fountain at a random frame within that time-frame. For this to happen I generally have to have the domain scale set high like 8m or above, gravity at -25ish and key the velocity to rise to above 20 or so.

Here are video examples of what I'm talking about in scenario 1. The first one has no keyframes on the activate channel and is how it should look, the second one is how it looks with a keyframe setting it as active on frame 1 and inactive on frame 80.

No keyframes: http://www.youtube.com/watch?v=q5HYRtogEa8
Keyframes: http://www.youtube.com/watch?v=Y4N60W5vuN4

I've attached blend files illustrating the problem.

I hope I've done this right as I've only been using Blender for two days but I can't find a solution to this anywhere!

Blender 2.57.1 r36339 64bit
Windows 7 64bit
Intel Core2 Duo E8500 3.61ghz
4GB RAM
AMD Radeon HD4860%%%

%%%I have a strange problem with my fluid inflow object, in that when it has no keyframes applied to any of its properties it flows perfectly fine, however as soon as I apply more than one keyframe (say for example one at frame 1 for the emitter to be "active" and one at frame 80 to be "inactive") the flow of the emitter does weird things. 1) If I do the simple on/off toggle keyframes, it tends to emit at the correct force for a few frames, but then it dies down and doesnt emit much or anything at all. If I up the resolution, it can be seen that it seems to only be emitting from around the edges of the object. 2) If I set up keyframes altering the velocity of the inflow from 0 to 50 over the space of 50 frames for example, the emitter doesn't emit anything for a while and then all of a sudden spurts like a fountain at a random frame within that time-frame. For this to happen I generally have to have the domain scale set high like 8m or above, gravity at -25ish and key the velocity to rise to above 20 or so. Here are video examples of what I'm talking about in scenario 1. The first one has no keyframes on the activate channel and is how it should look, the second one is how it looks with a keyframe setting it as active on frame 1 and inactive on frame 80. No keyframes: http://www.youtube.com/watch?v=q5HYRtogEa8 Keyframes: http://www.youtube.com/watch?v=Y4N60W5vuN4 I've attached blend files illustrating the problem. I hope I've done this right as I've only been using Blender for two days but I can't find a solution to this anywhere! Blender 2.57.1 r36339 64bit Windows 7 64bit Intel Core2 Duo E8500 3.61ghz 4GB RAM AMD Radeon HD4860%%%
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

%%%I should add that the same thing happens as instance 1) when I create keyframes scaling the inflow object too.%%%

%%%I should add that the same thing happens as instance 1) when I create keyframes scaling the inflow object too.%%%
Member

%%%Hi,

The fluid system has been coded with quite a static scene graph in mind, animation support was added later on in small steps.
Even though Blender allows to set keys on any property, many of these won't work. Your case has been noted on our wiki too:
http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Tools#Fluid_Simulation

it would be a good idea to simply exclude un-animatable variables from RNA. use this call in rna:
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
%%%

%%%Hi, The fluid system has been coded with quite a static scene graph in mind, animation support was added later on in small steps. Even though Blender allows to set keys on any property, many of these won't work. Your case has been noted on our wiki too: http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Tools#Fluid_Simulation it would be a good idea to simply exclude un-animatable variables from RNA. use this call in rna: RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); %%%
Author

%%%I see, thanks for the clarification!%%%

%%%I see, thanks for the clarification!%%%
Member

%%%Daniel: when you have time, can you check the properties for fluid/smoke and disable the ones that are not animatable? Thanks!%%%

%%%Daniel: when you have time, can you check the properties for fluid/smoke and disable the ones that are not animatable? Thanks!%%%
Member

%%%This bug report is valid. It's not only broken for on/off, but also for roation/scale/animation. The problem manifests for inflows (i guess other types are affected, too), where the simulation doesn't init the whole object with fluid but only some of the boundary. No idea how that functionality got broken from 2.49b to 2.5x.

I'm on it.

Thanks for reporting.%%%

%%%This bug report is valid. It's not only broken for on/off, but also for roation/scale/animation. The problem manifests for inflows (i guess other types are affected, too), where the simulation doesn't init the whole object with fluid but only some of the boundary. No idea how that functionality got broken from 2.49b to 2.5x. I'm on it. Thanks for reporting.%%%

%%%After 6 months, any updates? ;-)
%%%

%%%After 6 months, any updates? ;-) %%%

%%%Animated inflow and outflows were added to our TODO wiki a while ago. Will mark report as a TODO now.%%%

%%%Animated inflow and outflows were added to our TODO wiki a while ago. Will mark report as a TODO now.%%%

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

Added subscriber: @SmartySmart702

Added subscriber: @SmartySmart702

This comment was removed by @SmartySmart702

*This comment was removed by @SmartySmart702*
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
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#27306
No description provided.