Geometry Nodes result looks a lot different in viewport vs. render #88557

Closed
opened 2021-05-25 14:29:48 +02:00 by Manu Järvinen · 15 comments

System Information
Operating system: Linux-5.4.0-58-generic-x86_64-with-glibc2.31 64 Bits or Linux Mint 20.1
Graphics card: GeForce RTX 3090/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.73.01

Blender Version
Broken: version: 2.93.0 Beta, branch: master, commit date: 2021-05-24 15:29, hash: 1a69d491e5

Short description of error
This is what I would like to have and what I get in viewport:
image.png

But this is the render:
image.png

Exact steps for others to reproduce the error

  • Open the .blend, press F12
  • I used vertex weight proximity modifiers to make the vertex groups for the path and the road
  • In the timeline by scrubbing you can see how the vertex groups form up

.Blend:
geometry_nodes_bugreport2.blend

**System Information** Operating system: Linux-5.4.0-58-generic-x86_64-with-glibc2.31 64 Bits or Linux Mint 20.1 Graphics card: GeForce RTX 3090/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.73.01 **Blender Version** Broken: version: 2.93.0 Beta, branch: master, commit date: 2021-05-24 15:29, hash: `1a69d491e5` **Short description of error** This is what I would like to have and what I get in viewport: ![image.png](https://archive.blender.org/developer/F10141170/image.png) But this is the render: ![image.png](https://archive.blender.org/developer/F10141173/image.png) **Exact steps for others to reproduce the error** - Open the .blend, press F12 - I used vertex weight proximity modifiers to make the vertex groups for the path and the road - In the timeline by scrubbing you can see how the vertex groups form up **.Blend:** [geometry_nodes_bugreport2.blend](https://archive.blender.org/developer/F10141177/geometry_nodes_bugreport2.blend)
Author

Added subscriber: @ManuJarvinen

Added subscriber: @ManuJarvinen
Member

Added subscriber: @Calra

Added subscriber: @Calra
Member

On 3.0.0 the viewport and rendered image looks consistent with respect where the grass(?) is on the ball. I am on Windows 10. It is not exactly supported by 2.83 and 2.92, I don't have 2.93 at the moment.

image.png
image.png

On 3.0.0 the viewport and rendered image looks consistent with respect where the grass(?) is on the ball. I am on Windows 10. It is not exactly supported by 2.83 and 2.92, I don't have 2.93 at the moment. ![image.png](https://archive.blender.org/developer/F10141383/image.png) ![image.png](https://archive.blender.org/developer/F10141385/image.png)
Author

Ah yes, true. When you first open the file, the situation is like so - but as soon as you scrub the timeline, the viewport result looks as it should.

Ah yes, true. When you first open the file, the situation is like so - but as soon as you scrub the timeline, the viewport result looks as it should.
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

I can not reproduce the issue for version version 2.93.0, Hash: 1a69d491e5, commit date: 2021-05-24

but as soon as you scrub the timeline, the viewport result looks as it should.

So can I assume the problem is fixed for you already?

I can not reproduce the issue for version version 2.93.0, Hash: `1a69d491e5`, commit date: `2021-05-24` > but as soon as you scrub the timeline, the viewport result looks as it should. So can I assume the problem is fixed for you already?
Author

So can I assume the problem is fixed for you already?

No, because I want the render to look the same as in viewport. Weird, we tried the exact same Blender version even. I wonder if this is a Linux-only issue hmm.

> So can I assume the problem is fixed for you already? No, because I want the render to look the same as in viewport. Weird, we tried the exact same Blender version even. I wonder if this is a Linux-only issue hmm.
Member

Added subscriber: @lone_noel

Added subscriber: @lone_noel
Member

I can reproduce the behaviour described by @ManuJarvinen on mac os.
In the viewport it looks fine and the animation plays as expected, but when rendering I only get the circular patch without grass.
point-distribution-bug.png

I can get the viewport to display the same as the render by disabling and enabling collections or modifiers on the "pathway_GEO" object, but as soon as you force some update in the scene (e.g. by scrubbing the timeline, moving objects) it gives the expected result again:

point-distribute-bug.mp4

My System Information
Operating system: macOS-10.14.6-x86_64-i386-64bit 64 Bits
Graphics card: Intel Iris OpenGL Engine Intel Inc. 4.1 INTEL-12.10.16

My Blender Version
Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-05-24 18:46, hash: 0606a37e1a

I can reproduce the behaviour described by @ManuJarvinen on mac os. In the viewport it looks fine and the animation plays as expected, but when rendering I only get the circular patch without grass. ![point-distribution-bug.png](https://archive.blender.org/developer/F10141874/point-distribution-bug.png) I can get the viewport to display the same as the render by disabling and enabling collections or modifiers on the "pathway_GEO" object, but as soon as you force some update in the scene (e.g. by scrubbing the timeline, moving objects) it gives the expected result again: [point-distribute-bug.mp4](https://archive.blender.org/developer/F10141884/point-distribute-bug.mp4) **My System Information** Operating system: macOS-10.14.6-x86_64-i386-64bit 64 Bits Graphics card: Intel Iris OpenGL Engine Intel Inc. 4.1 INTEL-12.10.16 **My Blender Version** Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-05-24 18:46, hash: `0606a37e1a`
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

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

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

There is a dependency cycle here:

Dependency cycle detected:
  OBEarth_GEO/Geometry Component/GEOMETRY_EVAL() depends on
  OBpathway_GEO/Geometry Component/GEOMETRY_EVAL() via 'WeightVGProximity Modifier'
  OBEarth_GEO/Geometry Component/GEOMETRY_EVAL() via 'Shrinkwrap Modifier'
Detected 1 dependency cycles

Of course the dependency graph could be more specific/granular to not be alarmed here, but in theory it could really be an issue (if the Earth got deformed by the vertexgroup for example)

The easiest way out of this is probably to shrinkwrap on to a copy of the Earth that is not participating in the setup in another way, like so:
geometry_nodes_bugreport2_no_depscycle.blend

Does this work for you?

There is a dependency cycle here: ``` Dependency cycle detected: OBEarth_GEO/Geometry Component/GEOMETRY_EVAL() depends on OBpathway_GEO/Geometry Component/GEOMETRY_EVAL() via 'WeightVGProximity Modifier' OBEarth_GEO/Geometry Component/GEOMETRY_EVAL() via 'Shrinkwrap Modifier' Detected 1 dependency cycles ``` Of course the dependency graph could be more specific/granular to not be alarmed here, but in theory it could really be an issue (if the Earth got deformed by the vertexgroup for example) The easiest way out of this is probably to shrinkwrap on to a **copy** of the Earth that is not participating in the setup in another way, like so: [geometry_nodes_bugreport2_no_depscycle.blend](https://archive.blender.org/developer/F10143101/geometry_nodes_bugreport2_no_depscycle.blend) Does this work for you?
Author

Does this work for you?

Works perfectly, who knew! :) Okay, so have to check next time about those dependency cycles, alright. Too bad it didn't pop up an error about that.

Thanks for the workaround!

> Does this work for you? Works perfectly, who knew! :) Okay, so have to check next time about those dependency cycles, alright. Too bad it didn't pop up an error about that. Thanks for the workaround!
Member

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

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

The error is written to the console, I remember there has been a discussion about letting this end up in the UI instead, but it was decided against (I would have liked to see this in the UI as well, it is source for countless bug reports...).

Anyways, thx getting back, will close.

The error is written to the console, I remember there has been a discussion about letting this end up in the UI instead, but it was decided against (I would have liked to see this in the UI as well, it is source for countless bug reports...). Anyways, thx getting back, will close.
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
5 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#88557
No description provided.