Update sun_position to Blender 2.82 #69936
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
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
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#69936
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi, I see that @BrendonMurphy updated the sun_position add-on in blender/blender-addons-contrib@7b0831a775. I have been working on updating it as well for a while, and although the map feature is still missing, the rest of the add-on is done, and is much better integrated into Blender’s UI/UX.
Here is a list of some changes:
I rebased upon blender/blender-addons-contrib@7b0831a775, so the patch should apply cleanly. I won’t push this straight away as it’s not a small change.
sun_pos_update_2.8.patch
Added subscribers: @BrendonMurphy, @pioverfour
hi, nice work. we can do this I'll check with you in blender.chat before go ahead. nBurn and I were discussing some issues a couple of days ago in irc, it will be worth a quick discuss before push.
That’s fine with me. Some points which certainly need discussion are:
The reimplementation of the HDR and world map modes, which were in my opinion overly complex in the previous version, but maybe they fit others’ use cases. The shader part can definitely be simplified using the new
gpu
andgpu_extras
modules, but I’m not sure about the UI.The presets: I made a non-standard operator to copy defaults to the user directory, but I’m not sure it’s really useful for everybody (two Boston presets, two Honolulu presets…?).
The UTC zone’s behaviour is not clear to me, despite its description in the old wiki.
I have only tested the add-on under Linux, so there might be problems with graphics on other platforms.
Should I open a Diff to further review the code?
I opened a diff at D5825, and restored mirrorball projections for HDRI sun selections.
Added subscriber: @nBurn
hi @pioverfour
We do need more thinking on that and it's not a priority atm. I think it's best to wait, I've asked newbs to look in a month when he's back from holiday. There's other bgl experts that may be able to help/provide answers yet to be contacted.
Some history with this fix:
https://github.com/kevancress/sun_position_b28_test was the base for the update.
@nBurn had a look and made some changes, then I made some changes.
Now it's in your hands so to speak. I guess at one stage there were 3 of us working on it...
Your code has had basic look over, it looks ok, much cleaner than what we initially committed. Thanks! If you can could you zip upload the whole file here in this task. I want to look at it as a whole addon and I'll compare all the files, double check some issues I was looking at.
Thanks again.
All right, I’ll give it a rest for the time being, the map can be reimplemented later. The current code for it won’t work at all since it relies on the
Display
manager class, which I removed. But it was broken for a long time anyway, I had to use Blender 2.75 to see how it behaved.Thanks for the history, I didn’t know so much work had gone into this already…
Anyway, here is the zipped add-on.
190918_sun_position.zip
Some fixes for the HDRI point selector, implemented geographic coordinates parser field using a GPL module by Maximilian Högner , to allow users to paste coordinates from an online map.
190918_sun_position.v01.zip
hi, still some work to do here. After discussions we will remove the not working world map and restore some sane presets.
Small code clean up will follow and committed to contrib.
We will then look at viability of 2.82 release.
Update sun_position to Blender 2.8to Update sun_position to Blender 2.82I proceeded with removing the world maps (blender/blender-addons-contrib@ab0c257), and replacing presets (blender/blender-addons-contrib@6eb516c).
I also did various fixes and cleanups (blender/blender-addons-contrib@b7aae31, blender/blender-addons-contrib@bd4f0a0, blender/blender-addons-contrib@c74a4e7, blender/blender-addons-contrib@b52e776) and fixes to match the online calculator upon which this add-on is based (blender/blender-addons-contrib@e79295c, blender/blender-addons-contrib@e8696b0).
hi, thanks for all the requested changes. This is now ready to land.
Please tag this task in the 2 commits. 1st remove from addons contrib, 2nd commit to add to release addons.
Changed status from 'Open' to: 'Resolved'
committed and closing. Thanks @pioverfour for the time and effort put into this.