Maniphest T96654

Sun Position Addon not working with HDRI maps
Closed, Duplicate

Assigned To
None
Authored By
Mohd Rashid Khan (mohdrashidk)
Mar 20 2022, 6:06 PM
Tags
  • Add-ons (Community)
Subscribers
Manuel Valle (Manolino)
Mohd Rashid Khan (mohdrashidk)
Pratik Borhade (PratikPB2123)
Zhen Dai (zhendai)
Tokens
"Love" token, awarded by zhendai.

Description

System Information
Operating system: Windows-10-10.0.19043-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1650/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 497.29

Blender Version
Broken: version: 3.1.0, branch: master, commit date: 2022-03-08 18:16, hash: rBc77597cd0e15
Worked: (newest version of Blender that worked as expected)

Addon Information
Name: Sun Position (3, 1, 2)
Author: Michael Martin

Short description of error
The Sun Addon is not working in 3.1 Version of Blender for HDRI map rotation of error

Exact steps for others to reproduce the error

Related Objects

Mentioned Here
rB87a0770bb969: Fix T96361: missing update when changing texture mapping properties

Event Timeline

Mohd Rashid Khan (mohdrashidk) created this task.Mar 20 2022, 6:06 PM
Manuel Valle (Manolino) added a subscriber: Manuel Valle (Manolino).Mar 22 2022, 3:29 AM
Manuel Valle (Manolino) changed the task status from Needs Triage to Confirmed.EditedMar 22 2022, 3:41 AM

Addon works as expected in 3.0.1
In 3.1, once you sync the sun to texture or bind the texture to the sun, rotating the sun rotates only the sun (shadows) )and not the HDRI.

GPU:

renderer: 'NVIDIA GeForce GT 710/PCIe/SSE2'
vendor: 'NVIDIA Corporation'
version: '4.5.0 NVIDIA 472.12'
GPU device capabilities: SSE2 SSE3 SSE41

Zhen Dai (zhendai) awarded a token.Apr 7 2022, 9:42 AM
Zhen Dai (zhendai) added a subscriber: Zhen Dai (zhendai).Apr 7 2022, 9:47 AM

I would love to see it fixed, this is a minor problem but impact HDRI workflow experience quite profoundly.

The workaround I have found under 3.1.0:

  • in Sun + HDR Texture mode;
  • once you aligned and bind the sun position;
  • rotation as usual (the sun will rotate but the environment texture won't)
  • click somewhere like outliner or viewport so you trigger a history change
  • save the scene
  • then Ctrl + Z to undo, now both sun and environment texture is aligned.
  • save the scene again.
Germano Cavalcante (mano-wii) updated the task description.Apr 7 2022, 3:31 PM
Zhen Dai (zhendai) added a comment.Apr 11 2022, 8:24 AM

Quick Note: tested Blender 3.1.2, this appear to be fixed, even though Sun Position add-on hasn't changed, probably due to some internal API fixes.

Pratik Borhade (PratikPB2123) added a subscriber: Pratik Borhade (PratikPB2123).Apr 11 2022, 8:34 AM

Thanks for the update.
Bug wasn't related to add-on. There was missing viewport update which is already fixed by rB87a0770bb969: Fix T96361: missing update when changing texture mapping properties
Will close this report.