particle rotation phase breaks after keyframing. #68712

Closed
opened 2019-08-16 04:23:35 +02:00 by michael campbell · 8 comments

System Information
Operating system: Windows-10-10.0.17134 64 Bits
Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 431.70

Blender Version
Broken: version: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash: f6cb5f5449
Worked: (optional)

Short description of error
particle rotation phase doesnt update after keyframing.

Exact steps for others to reproduce the error

phase animation bug.blend

open file and press play, particles rotation phase is ignored. even moving the phase slider manually doesnt work until the keyframes are removed.

**System Information** Operating system: Windows-10-10.0.17134 64 Bits Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 431.70 **Blender Version** Broken: version: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash: `f6cb5f5449` Worked: (optional) **Short description of error** particle rotation phase doesnt update after keyframing. **Exact steps for others to reproduce the error** [phase animation bug.blend](https://archive.blender.org/developer/F7666685/phase_animation_bug.blend) open file and press play, particles rotation phase is ignored. even moving the phase slider manually doesnt work until the keyframes are removed.

Added subscriber: @3di

Added subscriber: @3di

#71184 was marked as duplicate of this issue

#71184 was marked as duplicate of this issue
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Sorry this has been sitting around for some time.

First things first:

  • you can get it to work if you set Orientation Axis to Velocity / Hair
  • 2.79 didnt seem to behave better here (you also had to set the Orientation Axis to Velocity / Hair)

There is two occasions where this particle rotation phase kicks in

psys_get_dupli_path_transform [here this is only considered when the Orientation Axis is set to Velocity / Hair -- and we only seems to get an update because we are drawing the header :/ suspicious...]

1   psys_get_dupli_path_transform                    particle.c              4848 0x2eb3689      
2   make_duplis_particle_system                      object_dupli.c          934  0x2e98276      
3   make_duplis_particles                            object_dupli.c          1063 0x2e989f9      
4   object_duplilist                                 object_dupli.c          1123 0x2e98bc6      
5   (anonymous namespace)::deg_iterator_objects_step depsgraph_query_iter.cc 226  0x30ac9f5      
6   DEG_iterator_objects_next                        depsgraph_query_iter.cc 299  0x30acc88      
7   stats_update                                     info_stats.c            380  0x800cb95      
8   ED_info_stats_string                             info_stats.c            586  0x800d797      
9   rna_Scene_statistics_string_get                  rna_scene.c             898  0x32de664      
10  Scene_statistics_call                            rna_scene_gen.c         7822 0x32f2186      
11  RNA_function_call                                rna_access.c            7548 0x31a7f36      
12  pyrna_func_call                                  bpy_rna.c               6149 0x31588a5      
13  _PyObject_FastCallKeywords                                                    0x7ffff79d056c 
14  ??                                                                            0x7ffff79d1829 
15  _PyEval_EvalFrameDefault                                                      0x7ffff7a0da02 
16  _PyFunction_FastCallDict                                                      0x7ffff79c054a 
17  bpy_class_call                                   bpy_rna.c               8328 0x315b8b1      
18  header_draw                                      rna_ui.c                698  0x33336fb   

psys_get_birth_coords [for some reason animation on particle phase wont trigger this at all -- needs some further investigation...]

1   psys_get_birth_coords             particle_system.c    1040 0x2ebaf6f 
2   reset_particle             particle_system.c    1093 0x2ebb24a 
3   dynamics_step             particle_system.c    3817 0x2ec41c9 
4   system_step             particle_system.c    4407 0x2ec5ebe 
5   particle_system_update             particle_system.c    4668 0x2ec6d43 
6   deformVerts             MOD_particlesystem.c 212  0x399c215 
7   modwrap_deformVerts             modifier.c           977  0x2e5d781 
8   mesh_calc_modifiers             DerivedMesh.c        991  0x2fb78b9 
9   mesh_build_data             DerivedMesh.c        1819 0x2fba62f 
10  makeDerivedMesh             DerivedMesh.c        1943 0x2fbaad9 
11  BKE_object_handle_data_update             object_update.c      187  0x2e9b5e1 
12  BKE_object_eval_uber_data              object_update.c      358  0x2e9bec1     
Sorry this has been sitting around for some time. First things first: - you can get it to work if you set `Orientation Axis` to `Velocity / Hair` - 2.79 didnt seem to behave better here (you also had to set the `Orientation Axis` to `Velocity / Hair`) There is two occasions where this particle rotation phase kicks in **`psys_get_dupli_path_transform` [here this is only considered when the `Orientation Axis` is set to `Velocity / Hair` -- and we only seems to get an update because we are drawing the header :/ suspicious...]** ``` 1 psys_get_dupli_path_transform particle.c 4848 0x2eb3689 2 make_duplis_particle_system object_dupli.c 934 0x2e98276 3 make_duplis_particles object_dupli.c 1063 0x2e989f9 4 object_duplilist object_dupli.c 1123 0x2e98bc6 5 (anonymous namespace)::deg_iterator_objects_step depsgraph_query_iter.cc 226 0x30ac9f5 6 DEG_iterator_objects_next depsgraph_query_iter.cc 299 0x30acc88 7 stats_update info_stats.c 380 0x800cb95 8 ED_info_stats_string info_stats.c 586 0x800d797 9 rna_Scene_statistics_string_get rna_scene.c 898 0x32de664 10 Scene_statistics_call rna_scene_gen.c 7822 0x32f2186 11 RNA_function_call rna_access.c 7548 0x31a7f36 12 pyrna_func_call bpy_rna.c 6149 0x31588a5 13 _PyObject_FastCallKeywords 0x7ffff79d056c 14 ?? 0x7ffff79d1829 15 _PyEval_EvalFrameDefault 0x7ffff7a0da02 16 _PyFunction_FastCallDict 0x7ffff79c054a 17 bpy_class_call bpy_rna.c 8328 0x315b8b1 18 header_draw rna_ui.c 698 0x33336fb ``` **`psys_get_birth_coords` [for some reason animation on particle phase wont trigger this at all -- needs some further investigation...]** ``` 1 psys_get_birth_coords particle_system.c 1040 0x2ebaf6f 2 reset_particle particle_system.c 1093 0x2ebb24a 3 dynamics_step particle_system.c 3817 0x2ec41c9 4 system_step particle_system.c 4407 0x2ec5ebe 5 particle_system_update particle_system.c 4668 0x2ec6d43 6 deformVerts MOD_particlesystem.c 212 0x399c215 7 modwrap_deformVerts modifier.c 977 0x2e5d781 8 mesh_calc_modifiers DerivedMesh.c 991 0x2fb78b9 9 mesh_build_data DerivedMesh.c 1819 0x2fba62f 10 makeDerivedMesh DerivedMesh.c 1943 0x2fbaad9 11 BKE_object_handle_data_update object_update.c 187 0x2e9b5e1 12 BKE_object_eval_uber_data object_update.c 358 0x2e9bec1 ```
Member

Added subscriber: @ZivShalit

Added subscriber: @ZivShalit

Added subscriber: @dr.sybren

Added subscriber: @dr.sybren

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sybren A. Stüvel self-assigned this 2019-12-12 15:05:49 +01:00

The particle system is marked End of Life, and will be replaced with a new system. Any issues in the current particle system will not be fixed, unless they were caused by recent changes, and since this was already an issue in 2.79 (and possibly earlier) I'll archive this task.

The particle system is marked [End of Life](https://wiki.blender.org/wiki/Modules#Nodes_.26_Physics), and will be replaced with a new system. Any issues in the current particle system will not be fixed, unless they were caused by recent changes, and since this was already an issue in 2.79 (and possibly earlier) I'll archive this task.
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
4 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#68712
No description provided.