Geonode + Cycles displaying of instances that uses GPU subdiv (either rendering unsubdivided, or in combination with Set Material node completely vanishing) #96729

Closed
opened 2022-03-23 14:41:40 +01:00 by Patrick · 14 comments

Operating system: Windows 10
Graphics card: GTX 750 Ti

Broken: Blender 3.1 I still have to try the same setup with other versions

Geonodes instances don't render at all when the instance is a mesh with subdiv on. See the orange outlines.
image.png

In the file I joined, the subdivided cube called "Instancer" is instanced on all points of the "Plane". To see the bug/behavior simply check/uncheck the Optimal Display on the instancer Modifier, this seems to reset the visibility, then mute/unmute the SET MATERIAL NODE in the geonode. The instances should dispear, I think the problem lies in the interaction between subdiv modifier and Set material node.

Let me know if I can give more information.

This is the node setup
image.png

Here is an example file that reproduces the bug.
instance set material + subdiv bug.blend1

Operating system: Windows 10 Graphics card: GTX 750 Ti Broken: Blender 3.1 I still have to try the same setup with other versions Geonodes instances don't render at all when the instance is a mesh with subdiv on. See the orange outlines. ![image.png](https://archive.blender.org/developer/F12941187/image.png) In the file I joined, the subdivided cube called "Instancer" is instanced on all points of the "Plane". To see the bug/behavior simply check/uncheck the Optimal Display on the instancer Modifier, this seems to reset the visibility, then mute/unmute the SET MATERIAL NODE in the geonode. The instances should dispear, I think the problem lies in the interaction between subdiv modifier and Set material node. Let me know if I can give more information. This is the node setup ![image.png](https://archive.blender.org/developer/F12941185/image.png) Here is an example file that reproduces the bug. [instance set material + subdiv bug.blend1](https://archive.blender.org/developer/F12941191/instance_set_material___subdiv_bug.blend1)
Author

Added subscriber: @Patnard

Added subscriber: @Patnard
Patrick changed title from Geonode + Cycles displaying of instances that uses subdiv to Geonode + Cycles displaying of instances that uses subdiv and set material node 2022-03-23 17:32:01 +01:00
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

I can't replicate this on either 3.1 or master. By "Optimal Display on the instancer Modifier", did you mean the Subivision modifier? If not, which modifier do you mean?
Not sure if this will matter, but I am not testing with GPU subdivision, can you disable that in the preferences and check if it works? Preferences > Viewport > Subdivision > Viewport subdivision.
And does this happen only for Cycles or also for EEVEE?

I can't replicate this on either 3.1 or master. By "Optimal Display on the instancer Modifier", did you mean the Subivision modifier? If not, which modifier do you mean? Not sure if this will matter, but I am not testing with GPU subdivision, can you disable that in the preferences and check if it works? Preferences > Viewport > Subdivision > Viewport subdivision. And does this happen only for Cycles or also for EEVEE?
Author

I did some testing following you comment and I got 2 things to note.
First, turning off GPU subdivision solves the rendering problem, which was only present on cycle btw. Eevee rendered the mesh.

Second, in eevee, WITH GPU subdivision turned on, the instanced cube render BUT without the subdivision, so as a cube, not a ball.

The issue seems to be with GPU subdivision then.

I did some testing following you comment and I got 2 things to note. First, turning off GPU subdivision solves the rendering problem, which was only present on cycle btw. Eevee rendered the mesh. Second, in eevee, WITH GPU subdivision turned on, the instanced cube render BUT without the subdivision, so as a cube, not a ball. The issue seems to be with GPU subdivision then.
Member

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'
Member

Okay. It is good that we narrowed down the issue, but GPU subdivision doesn't work for me, so I will wait for someone who can triage with it enabled.

Okay. It is good that we narrowed down the issue, but GPU subdivision doesn't work for me, so I will wait for someone who can triage with it enabled.
Member

Added subscribers: @kevindietrich, @lichtwerk

Added subscribers: @kevindietrich, @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

For me, GPU subdiv not working [meaning it renders a cube, not a ball] for geonode instances in Cycles is already true without the additional Set Material node.
But I can also confirm it completely vanishes in combinationwith the set Material node
It does work with "traditional" instancing though (if Instancer is parented to plane and instancingto vertices is turned ON).

CC @kevindietrich

For me, GPU subdiv not working [meaning it renders a cube, not a ball] for geonode instances in Cycles is already true without the additional Set Material node. But I can also confirm it completely vanishes in combinationwith the set Material node It does work with "traditional" instancing though (if Instancer is parented to plane and instancingto vertices is turned ON). CC @kevindietrich
Philipp Oeser changed title from Geonode + Cycles displaying of instances that uses subdiv and set material node to Geonode + Cycles displaying of instances that uses GPU subdiv (either rendering unsubdivided, or in combination with Set Material node completely vanishing) 2022-03-25 10:39:52 +01:00
Member

Actually, I also consider this High priority.

Actually, I also consider this High priority.
Member

Added subscriber: @HooglyBoogly

Added subscriber: @HooglyBoogly
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Hans Goudey self-assigned this 2022-04-28 19:54:38 +02:00
Member

I think this has been resolved, I can't reproduce the issue from the original file. a9b94e5f81 is my guess.

I think this has been resolved, I can't reproduce the issue from the original file. a9b94e5f81 is my guess.
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#96729
No description provided.