OctaneRender™ 2020.1.4

Forums: OctaneRender™ 2020.1.4
VIP Information, news and announcements regarding new Octane Render commercial products and releases.

Re: OctaneRender™ 2020.1.4 [current 2020.1]

Postby karl » Wed Sep 09, 2020 12:46 am

karl Wed Sep 09, 2020 12:46 am
linograndiotoy wrote:It's great to have several Daylight models available in Octane.
I'd love to use the newest introduced ones, but I find the visible ground in Nishita and Hosek-Wilkie models quite a showstopper.
Would it be possible to have those models behave as the Octane and Preetham variations, so to get a natural and seamless gradient without any visible ground?


The Hosek-Wilkie daylight model implementation is based on a mathematical model that only predicts the sky color in the upper hemisphere (if you are so inclined you can see all the gory details from Hosek and Wilkie themselves at https://cgg.mff.cuni.cz/projects/SkylightModelling/). The Preetham model is the same in that regard (the Hosek-Wilkie model is based on it), but Octane extrapolates below the horizon anyway. This is not too bad because the Preetham model produces a reasonably smooth gradient to a reasonable grey below the horizon. However the Hosek-Wilkie model produces a pretty abrupt transition to a greenish color when used outside its intended domain, so when implementing the Hosek-Wilkie model I "corrected" this "mistake". Logically it makes sense, as you can't see through the planet.

preetham_extrapolated.png
hosek_extrapolated.png


We could look into adding the possibility of turning off the ground, but it won't be seamless - you can basically achieve something similar by just choosing a similar greenish ground color.

I'm not intimately familiar with the Nishita model, but as it also has a much more abrupt transition at the horizon than the Preetham model, and is intended for rendering planets (rather than just the sky), I assume it would produce unusable results if attempting to use just the sky part of the model below the horizon. I haven't tested this because it isn't trivial to break the model into its individual pieces like that.

As an aside, the Hosek-Wilkie model actually uses the ground color not just for the lower hemisphere, but also to simulate sunlight that is reflected off the ground into the sky, affecting the color of the sky (apparently this is a thing).
You do not have the required permissions to view the files attached to this post.
karl
OctaneRender Team
OctaneRender Team
 
Posts: 363
Joined: Sun Oct 13, 2019 11:26 pm

Re: OctaneRender™ 2020.1.4

Postby nejck » Sat Sep 12, 2020 9:12 pm

nejck Sat Sep 12, 2020 9:12 pm
@karu
Such a good explanation, thank you for that ;)
nejck
Licensed Customer
Licensed Customer
 
Posts: 181
Joined: Fri Sep 28, 2018 5:24 am

Re: OctaneRender™ 2020.1.4

Postby funk » Sun Sep 13, 2020 3:18 am

funk Sun Sep 13, 2020 3:18 am
karu how are you rendering the sky samples as spheres?

EDIT: Nevermind. I guess its the universal camera set to fisheye
Win10 Pro/ Ryzen 5950X / 128GB / RTX 4090 / MODO
"I am the resurrection, and the life: he that believeth in me, though he were dead, yet shall he live" - Jesus Christ
User avatar
funk
Licensed Customer
Licensed Customer
 
Posts: 1204
Joined: Mon Feb 07, 2011 1:24 pm
Location: Australia
Previous

Return to Commercial Product News & Releases (Download here)


Who is online

Users browsing this forum: No registered users and 3 guests

Fri Mar 29, 2024 5:08 am [ UTC ]