Hosek/Wilkie sky model weird coloration #50458
Labels
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#50458
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
System Information
Widnows 10, ATI HD7750
Blender Version
2.78a
Short description of error
Hosek/Wilkie sky model has wrong "greeny" sun glow coloration. It's visible with turbidity set to 2, 4 and 6. That halo should be white-blue. Ground color can be set from 0.0 to 1.0 so it should be always "grey" but when turbidity is set about 8 changing ground albedo causes ground coloration from pink to blue. Besides original model allows to set RGB ground color, in blender only monochromatic albedo can be set.
Here is original model documentation and none of this can be seen (please take a look @ page 9 for albedo setting):
http://cgg.mff.cuni.cz/projects/SkylightModelling/HosekWilkie_SkylightModel_SIGGRAPH2012_Preprint_lowres.pdf
I think that original sky model was introduced in blender in 2012 but model was updated later and not updated in blender.
Additionally some enhancements could be made:
http://cgg.mff.cuni.cz/projects/SkylightModelling/SunCloseup_005_06.jpg
http://cgg.mff.cuni.cz/projects/SkylightModelling/SunCloseup_0025_07.jpg
Exact steps for others to reproduce the error
Please open attached file. It's simplest "cube" scene with two cameras pointing sky and ground. Just render and see.
Changed status to: 'Open'
Added subscriber: @Alex-9
sky_bug.blend
Here is a video showing how it should look (not mine):
https://www.youtube.com/watch?v=DKjquLIe-d4
Added subscriber: @Blendify
Moving to the todo list for now.
Added subscribers: @Sergey, @ThomasDinges
I think it's related:
Luxrender currently has option for custom ground color, really nice feature for larger scenes where there is need to model plane to hide sky leaking from ground. It works independently to albedo.
Added subscriber: @tonemgub
sun is not available maybe but in luxrender(spectral) it is
ArHosekSkyModel.h Version: 1.4a, 2013-02feb
luxrender allows optional show only
atmosphere, atmosphere+sun, sun-noSky(innacurrate, lacks attenuation)
but allowing to specify as separate objects would that allow for multi-importance optimizations?
isn't that irrelevant?
i don't think anything below the horizon is supposed to be real data,
from the paper it seems it a model-function(faster,efficient) that is designed to fit their simulated(slow) data
(blocky ico-polysphere is ground-color)
no it essentially means reflected-color here (same as 3 separate albedo's for RGB), not fully implemented in blender
, and recently in luxr1.6
innac shd.blend
Added subscriber: @nacioss
Changed status from 'Confirmed' to: 'Archived'
Closing as it's a known limitation of the implemented model, checked the code and it doesn't seem to have issues at all, the code is equal to the official Hosek/Wilkie code.
And on top of that, the ground is not meant to be accurate at all.
Maybe @ThomasDinges can say something since he implemented it.