experimental pointclouds object bug with random value #114408

Open
opened 2023-11-02 15:03:17 +01:00 by Aery · 3 comments

System Information
Operating system:win10
Graphics card:rx 6500 xt

Blender Version
Broken: blender 4.1 alpha
Worked: -

Short description of error
using experimental pointclouds object, in geometry nodes when inserting random value to set position, the cycles viewport view3d rendering becomes devastatingly slow(some sec for 1 sample).
Switching to solid mode then back to cycles did make the viewport rendering fast again.
This does not happen when using mesh object.
Unconnecting the random value from set position makes blender unresponsive for awhile


Exact steps for others to reproduce the error

  1. open the attached blend file
    1.5 enable New Point Cloud Type in Experimental developer extras
  2. switch to rendered cycles viewport
  3. examine the rendering speed (samples per sec)
  4. connect random value to position in set position node
  5. examine the viewport rendering speed (some sec per sample)
  6. switch to solid mode then back to cycles viewport
  7. viewport rendering becomes fast again
  8. unconnect random value from set position
  9. blender becomes unresponsive
**System Information** Operating system:win10 Graphics card:rx 6500 xt **Blender Version** Broken: blender 4.1 alpha Worked: - **Short description of error** using experimental pointclouds object, in geometry nodes when inserting random value to set position, the cycles viewport view3d rendering becomes devastatingly slow(some sec for 1 sample). Switching to solid mode then back to cycles did make the viewport rendering fast again. This does not happen when using mesh object. Unconnecting the random value from set position makes blender unresponsive for awhile <video src="/attachments/049b4131-68a6-4f37-91ca-c7c80f3a47bf" controls></video> <video src="/attachments/512d2e7b-8f7e-470f-84db-2ff56e967566" controls></video> **Exact steps for others to reproduce the error** 1. open the attached blend file 1.5 enable New Point Cloud Type in Experimental developer extras 2. switch to rendered cycles viewport 3. examine the rendering speed (samples per sec) 4. connect random value to position in set position node 5. examine the viewport rendering speed (some sec per sample) 6. switch to solid mode then back to cycles viewport 7. viewport rendering becomes fast again 8. unconnect random value from set position 9. blender becomes unresponsive
Aery added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-11-02 15:03:18 +01:00

Thanks for the report, @FieryAery. I can confirm the issue.

In fact, performance is greatly impacted when connecting the output of the Random Value node to the Position input during viewport rendering.

Cc. @brecht

Refs.
#92573: Cycles: point cloud geometry improvements
#75717: New pointcloud object type

Thanks for the report, @FieryAery. I can confirm the issue. In fact, performance is greatly impacted when connecting the output of the `Random Value` node to the `Position` input during viewport rendering. Cc. @brecht Refs. #92573: Cycles: point cloud geometry improvements #75717: New pointcloud object type
Brecht Van Lommel added
Type
Bug
and removed
Type
Report
labels 2023-11-02 16:15:53 +01:00

The problem is probably our BVH refitting. We don't rebuild the full BVH when the mesh topology stays the same, which helps making animation playback faster. But when completely changing positions like this, the resulting BVH quality becomes very poor.

The problem is probably our BVH refitting. We don't rebuild the full BVH when the mesh topology stays the same, which helps making animation playback faster. But when completely changing positions like this, the resulting BVH quality becomes very poor.
Author

I tried changing positions with fluid sim data and it doesn't cause the problem

I tried changing positions with fluid sim data and it doesn't cause the problem <video src="/attachments/ddcb2867-6a58-4e32-b22f-9e9e3309dfaa" title="pointcloudfluid.mp4" controls></video>
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#114408
No description provided.