Geometry nodes: Instances Incorrectly Rendered with Motion Blur when deleting Instances. #101152

Closed
opened 2022-09-17 17:53:53 +02:00 by Riccardo Bancone · 8 comments

System Information
Operating system: Windows-10-10.0.22000-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3080 Ti Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.96

Blender Version
Broken: version: 3.3.0, branch: master, commit date: 2022-09-06 15:39, hash: 0759f671ce
Worked: None that I'm aware of. 3.4 alpha shows the same behavior

Short description of error
Motion Blur artifacts appear when deleting instances in both EEVEE and cycles

image.png

image.png

I suspect that deleting the instances causes indices shifts that tricks motion blur code to "think" that a particular instance moved. Motion blur from the old position to the new is rendered. But actually the instance didn't move, It's only the index that has changed.
This is pure speculation based on my intuition, I don't know how motion blur is actually implemented, so I may be wrong about the cause.
Realizing instances seems to "fix" the problem.

I Experienced the same glitch in a production file using the "scale elements" node, scaling some elements from zero to one and others viceversa, but currently I can't replicate the error. Real geometry, no instances this time. I had to scale from a very small scale instead of zero to work around it.

Exact steps for others to reproduce the error

Render frame 10 of the attached file and the motion blur glitch will appear on the instanced geometry, but not on the realized instances. It's also present in other frames, but not all.

geometry_nodes_motion_blur_bug_v01.blend

**System Information** Operating system: Windows-10-10.0.22000-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3080 Ti Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.96 **Blender Version** Broken: version: 3.3.0, branch: master, commit date: 2022-09-06 15:39, hash: `0759f671ce` Worked: None that I'm aware of. 3.4 alpha shows the same behavior **Short description of error** Motion Blur artifacts appear when deleting instances in both EEVEE and cycles ![image.png](https://archive.blender.org/developer/F13504270/image.png) ![image.png](https://archive.blender.org/developer/F13504319/image.png) I suspect that deleting the instances causes indices shifts that tricks motion blur code to "think" that a particular instance moved. Motion blur from the old position to the new is rendered. But actually the instance didn't move, It's only the index that has changed. This is pure speculation based on my intuition, I don't know how motion blur is actually implemented, so I may be wrong about the cause. Realizing instances seems to "fix" the problem. I Experienced the same glitch in a production file using the "scale elements" node, scaling some elements from zero to one and others viceversa, but currently I can't replicate the error. Real geometry, no instances this time. I had to scale from a very small scale instead of zero to work around it. **Exact steps for others to reproduce the error** Render frame 10 of the attached file and the motion blur glitch will appear on the instanced geometry, but not on the realized instances. It's also present in other frames, but not all. [geometry_nodes_motion_blur_bug_v01.blend](https://archive.blender.org/developer/F13504297/geometry_nodes_motion_blur_bug_v01.blend)

Added subscriber: @RiccardoBancone

Added subscriber: @RiccardoBancone
Riccardo Bancone changed title from Cycles Incorrectly Rendered in Geometry Nodes when deleting Instances. to Cycles Incorrectly Rendered Motion Blur in Geometry Nodes when deleting Instances. 2022-09-17 17:54:20 +02:00

Added subscriber: @mod_moder

Added subscriber: @mod_moder

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

It clearly doesn't look like it should. But there is a small chance that it was intended, just in case, I'll ask
image.png
geometry_nodes_motion_blur_bug_v01.blend
@HooglyBoogly

It clearly doesn't look like it should. But there is a small chance that it was intended, just in case, I'll ask ![image.png](https://archive.blender.org/developer/F13504697/image.png) [geometry_nodes_motion_blur_bug_v01.blend](https://archive.blender.org/developer/F13504699/geometry_nodes_motion_blur_bug_v01.blend) @HooglyBoogly

Added subscriber: @HooglyBoogly

Added subscriber: @HooglyBoogly
Pratik Borhade changed title from Cycles Incorrectly Rendered Motion Blur in Geometry Nodes when deleting Instances. to Geometry nodes: Instances Incorrectly Rendered with Motion Blur when deleting Instances. 2022-10-13 06:44:28 +02:00
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Member

Changed status from 'Needs Developer To Reproduce' to: 'Archived'

Changed status from 'Needs Developer To Reproduce' to: 'Archived'
Member

The id attribute is used to map instances between different frames for motion blur. If the attribute does not exist, the index will be used instead. The solution here is to set the ids before starting to delete instances. Just adding a Set ID node before Delete Geometry fixes it.

The `id` attribute is used to map instances between different frames for motion blur. If the attribute does not exist, the index will be used instead. The solution here is to set the ids before starting to delete instances. Just adding a `Set ID` node before `Delete Geometry` fixes it.
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#101152
No description provided.