Some particles do not appear in the render when the 'Vector' pass is enabled #102761
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
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#102761
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: Linux-5.19.17-2-MANJARO-x86_64-with-glibc2.36 64 Bits
Graphics card: NVIDIA GeForce RTX 2060 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 470.141.03
Blender Version
Broken: 3.2.2 - 3.3.1
Worked: 2.79
Short description of error
Particles in Render don't match particles in viewport. Some particles do not appear. When they move very fast the issue is more visible.
It happens when we enable the pass
Vector
Exact steps for others to reproduce the error
Render As
toObject
Instance Object
choose the CubeGravity
to0.0
Render Engine
toCycles
Vector
Note that the particles closest to the plane disappear
particles displaced.blend
Added subscriber: @slepy8
Added subscriber: @mano-wii
Changed status from 'Needs Triage' to: 'Needs User Info'
The particles don't have a delay, the newest ones just don't appear in the render.
I can't reproduce the problem from scratch.
This was the file I used:
particles.blend
Can you give us more clear instructions on how to reproduce it from scratch.
Create a 'Plane'
Create a 'Cube'
Assign Particle system to the plane.
In this particle system go to Render->Render As -> select 'Cube'
Move 'Cube' away to see the 'Plane'
In particle system settings go to FieldWeights->Gravity -> change to '0'
In particles settings you can change Velocity->Normal to a higher value. This will show the problem even more.
Create 'Camera'
Play animation. Render it at any frame and compare the result.
You can bake particles. No difference in outcome (baked/unbaked).
Changed status from 'Needs User Info' to: 'Needs Triage'
I followed these steps exactly, but I can't reproduce the problem.
Let's see if someone else can.
untitled.blend
Added subscriber: @iss
Same here. Can't repro from scratch.
I checked your blend file. Indeed - looks correct.
Did you look into mine? Does it work fine for you?
If in my blend file an error is visible, than it must have something to do with personal settings of Blender on my side. But which one?
I also tried to locate this setting.
The only thing I noticed is that the problem is only seen in Cycles.
For a bug report to be complete, it is important to identify what caused the bug.
I figured it out.
It happens when you have "Vector" pass enabled in View Layer Properties.
Particles delayed in render view vs viewport.to Some particles do not appear in the render when the 'Vector' pass is enabledChanged status from 'Needs Triage' to: 'Confirmed'
Added subscribers: @brecht, @LukasStockner
As far as I can tell, this is because the Vector pass needs motion data - in particular, it needs to know where the particle was in the previous and next frame. If it was just spawned, it doesn't have a previous position, so I assume that Cycles just skips it in that case.
You can reproduce this by enabling motion blur and setting the shutter time to 2 frames, it causes them to disappear as well.
@brecht, do you think this is something worth improving (e.g. assuming zero motion for particles that just spawned for the purpose of the Vector pass) or is this just a known limitation?
I've considered this a known limitation up to now. The simple alternatives seem bad too. Making the particle stay still would look bad when all other particle are moving fast, and extrapolating motion can lead to a particle appearing on the other side of a surface it is supposed to collide with.
The better solution I think is to hide the particle only on specific timesteps, but it's unclear how best to represent that in the BVH, if it's possible to do it at all in Embree and OptiX. Maybe it's possible with a NaN transform or something but obviously that could cause other issues.
To avoid it being visible, I guess a zero-scale transform might be enough? That still leaves the question of what to use for the "previous frame" motion vector, but there I guess using the next-frame vector would be okay.
I don't think it's enough? It would interpolate from zero scale to full scale, not be invisible.
The bug report I filed (#104539) led me here. I don't see an answer to the issue. I looked for the vector pass option in layer properties, but that option is not available (greyed out). Can I assume this is still an open bug?
This bug report is indeed open.