Particle system baking messes particle dietime (that in turn messes up particle textures) #107447
Labels
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#107447
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.15
Blender Version
Broken: version: 3.5.0, branch: blender-v3.5-release, commit date: 2023-03-29 02:56, hash:
1be25cfff18b
Worked: (newest version of Blender that worked as expected)
Short description of error
If texture with color ramp is used for animating particle size through lifetime, in ~10 last frames of simulation all particles PERMANENTLY getting smaller until totally disappear lol, and it occurs only if using BAKE.
this is not animation, this is 100% bug, looks like particle size animation is applied to WHOLE particle system respectively/relatively to all scene timeline, and is overriding every single particle age at the end of timeline.
Exact steps for others to reproduce the error
File uploaded.
Particle systems in blender are SOOOO broken, the way how it works is so facepalmable, particularly "bake" and "textures".
looks like in my case they met lol
What are the steps to make incorrect bake? I have re-baked particles and could not reproduce the issue.
select particle system in scene ("particles.120" e.g.), go to "textures" and switch ON "SIZE" influence
now in the end of scene it looks like this —
blender particle system is SO FUCKING BROKEN
this is one particle system, no constrains, baked
left is viewport, right is render window
wtf is this lmao? facepalm
@E-13 Please be calm and give an example file to reproduce issues
In provided file texture had already size influence enabled. So I can't reproduce that. Are you sure this is what is causing baking to be incorrect?
switch size influence OFF
delete particle physics bake
create bake again
delete bake
switch size influence ON
create bake
(repeat all this steps several times maybe, just to create NEW bake)
now it should be broken
i am pretty sure that bake+textures influence produces broken bake, i tryed enough times all of this
Still can't reproduce unfortunately.
I can confirm the thing and looked a bit at it abit (but wont continue doing so because after all the particle system is EOL, glad we have geometry nodes with simulation to move forward... -- and yes @E-13 , old particles can be broken at various places)
So just for reference here are some findings:
-- when we bake, particles that are outside their lifetime are skipped (see
ptcache_particle_write
)-- reading back the bake (see ptcache_particle_read) stored times are not read for some reason (not sure why that is, but
-- resetting particles (see
reset_particle
), it happens for many particles (at least in this example), thatpsys_get_dietime_from_cache
will set the dietime to our scenes endframe -- but really, that particles dietime should be later... that will then result in the texture coordinate being much more to the right, reducing the size where it shouldnt.If anyone wants to check further, here is what I have been looking at:
Marking as Known Issue, since the old particle system will likely not see fixes from core developers (community patches are still welcome of course).
Reminder to check out geometry nodes, what this file wants to achieve should already be possible there with much more flexibility
particle system texture+bake issueto Particle system baking messes particle dietime (that in turn messes up particle textures)