rotating hdri images even very low res ones is really slow in this version #71519

Closed
opened 2019-11-12 16:47:26 +01:00 by michael campbell · 13 comments

System Information
Operating system: Windows-10-10.0.17134 64 Bits
Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 431.86

Blender Version
Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-11-12 13:28, hash: 1252577580
Worked: (optional)

Short description of error
rotating hdri images even very low res ones is really slow in this version

Exact steps for others to reproduce the error
go into the world tab and use the mapping node to rotate a 4 k hdri. There's a really long pause compared to the previous daily builds. I haven't noticed this problem before, since intermittently upgrading daily builds from 2.80 upwards. Even happens with textures limited to 128 in the simplify tab. This is using cycles in the viewport render in gpu experimental mode. same for non experimental too. I used to be able to get almost instantaneous feedback in the viewport render, now the wait is too long to be able to interactively see the difference in lighting, just have to enter a number with the keyboard and wait now.

**System Information** Operating system: Windows-10-10.0.17134 64 Bits Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 431.86 **Blender Version** Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-11-12 13:28, hash: `1252577580` Worked: (optional) **Short description of error** rotating hdri images even very low res ones is really slow in this version **Exact steps for others to reproduce the error** go into the world tab and use the mapping node to rotate a 4 k hdri. There's a really long pause compared to the previous daily builds. I haven't noticed this problem before, since intermittently upgrading daily builds from 2.80 upwards. Even happens with textures limited to 128 in the simplify tab. This is using cycles in the viewport render in gpu experimental mode. same for non experimental too. I used to be able to get almost instantaneous feedback in the viewport render, now the wait is too long to be able to interactively see the difference in lighting, just have to enter a number with the keyboard and wait now.

Added subscriber: @3di

Added subscriber: @3di

I think the coding of the background shader or environment texture must have changed somehow, because adding new ones seem to be back working as expected....although I did think that the behaviour of the slider used to update the render as you moved, now it seems to only update the render on mouse release which takes away the interactivity somewhat (which is important when tweaking lighting).

Might want to add a bit of code to upgrade the old node to the new node to avoid any more bug reports?

I think the coding of the background shader or environment texture must have changed somehow, because adding new ones seem to be back working as expected....although I did think that the behaviour of the slider used to update the render as you moved, now it seems to only update the render on mouse release which takes away the interactivity somewhat (which is important when tweaking lighting). Might want to add a bit of code to upgrade the old node to the new node to avoid any more bug reports?

Added subscriber: @dfelinto

Added subscriber: @dfelinto

Can you confirm that the official 2.80 release does not present this problem?

Can you confirm that the official 2.80 release does not present this problem?

2.8 was very fast to update modifications to the hdri rotation, strength etc (the same as 2.81 is now that I deleted and replaced the environment texture node and the background shader). I was mistaken regarding 2.81 not initiating the update until the mouse button is released though, it updates when mouse movement has stopped for a second or two whilst the mouse button is still depressed.

Just to clarify, 2.81 and 2.8 both began the update process at the same time, but 2.81 was taking around 10 seconds to restart viewport rendering, whereas 2.8 restarted the viewport render in under a second.

Not an issue now I deleted and replaced the nodes, so presumably the code for one of those two nodes has changed between versions.

2.8 was very fast to update modifications to the hdri rotation, strength etc (the same as 2.81 is now that I deleted and replaced the environment texture node and the background shader). I was mistaken regarding 2.81 not initiating the update until the mouse button is released though, it updates when mouse movement has stopped for a second or two whilst the mouse button is still depressed. Just to clarify, 2.81 and 2.8 both began the update process at the same time, but 2.81 was taking around 10 seconds to restart viewport rendering, whereas 2.8 restarted the viewport render in under a second. Not an issue now I deleted and replaced the nodes, so presumably the code for one of those two nodes has changed between versions.

Added subscriber: @brecht

Added subscriber: @brecht

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Brecht Van Lommel self-assigned this 2019-11-13 14:28:03 +01:00

It's because background multiple importance sampling is now enabled by default, which requires a rebuild when rotating.

We would like to optimize this in the future, but it's not a bug.

It's because background multiple importance sampling is now enabled by default, which requires a rebuild when rotating. We would like to optimize this in the future, but it's not a bug.

In #71519#810297, @brecht wrote:
It's because background multiple importance sampling is now enabled by default, which requires a rebuild when rotating.

We would like to optimize this in the future, but it's not a bug.

why would recreating the node resolve the issue?

> In #71519#810297, @brecht wrote: > It's because background multiple importance sampling is now enabled by default, which requires a rebuild when rotating. > > We would like to optimize this in the future, but it's not a bug. why would recreating the node resolve the issue?

I'm not sure. But the bug report is missing the actual .blend / image file and steps to reproduce the bug, since only steps to create new nodes are provided and those apparently work ok.

So, we must have that information first to confirm that it's indeed a different issue than just multiple importance sample updating.

I'm not sure. But the bug report is missing the actual .blend / image file and steps to reproduce the bug, since only steps to create new nodes are provided and those apparently work ok. So, we must have that information first to confirm that it's indeed a different issue than just multiple importance sample updating.

ah ok, I couldnt share the file as it's under NDA,. If you want to replicate, you could create a scene in 2.8 which has a hdri, and then open it the latest daily build. It's definitely not caused by multiple importance sampling now being the default, otherwise new nodes would have had the same issue. I'll leave it with you.

ah ok, I couldnt share the file as it's under NDA,. If you want to replicate, you could create a scene in 2.8 which has a hdri, and then open it the latest daily build. It's definitely not caused by multiple importance sampling now being the default, otherwise new nodes would have had the same issue. I'll leave it with you.

Have you verified that creating a mapping + environment texture node in 2.80 and then loading it in 2.81 actually reproduces the problem? It didn't for me.

We don't require the original file in bug reports, just any .blend file and exact steps to reproduce the problem. Otherwise we waste time guessing what might be the problem.

Have you verified that creating a mapping + environment texture node in 2.80 and then loading it in 2.81 actually reproduces the problem? It didn't for me. We don't require the original file in bug reports, just any .blend file and exact steps to reproduce the problem. Otherwise we waste time guessing what might be the problem.

The original file may have been created in one of the previous daily builds somewhere between 2.8 and yesterdays daily 2.81 build, I'm not sure which. When I've finished these few projects I'll have a dig around to try and find another file which has the same issue, or hopefully before then someone else will experience the same problem with a file they can share.

Awesome job to everyone over there by the way, I'd marry this program if it was legal :)

The original file may have been created in one of the previous daily builds somewhere between 2.8 and yesterdays daily 2.81 build, I'm not sure which. When I've finished these few projects I'll have a dig around to try and find another file which has the same issue, or hopefully before then someone else will experience the same problem with a file they can share. Awesome job to everyone over there by the way, I'd marry this program if it was legal :)
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#71519
No description provided.