Glue the sun to HDRI

A forum where development builds are posted for testing by the community.
Forum rules
NOTE: The software in this forum is not %100 reliable, they are development builds and are meant for testing by experienced octane users. If you are a new octane user, we recommend to use the current stable release from the 'Commercial Product News & Releases' forum.
Post Reply
User avatar
smicha
Licensed Customer
Posts: 3151
Joined: Wed Sep 21, 2011 4:13 pm
Location: Warsaw, Poland

Is there a way to glue/fix the sun to a certain position on a HDRI map so that when I use X and Y transforms to move the sky map - the sun also would move? On my simple scene I moved the sun to the spot where the real sun is located. Every time I move the sky I must precisely move the fake sun. This is so time consuming.

If this is not possible (or extremely hard to code) another nice update would be to be able to drag the sun (its position) directly on the sky.
Attachments
sunhdri.jpg
3090, Titan, Quadro, Xeon Scalable Supermicro, 768GB RAM; Sketchup Pro, Classical Architecture.
Custom alloy powder coated laser cut cases, Autodesk metal-sheet 3D modelling.
build-log http://render.otoy.com/forum/viewtopic.php?f=9&t=42540
User avatar
Seekerfinder
Licensed Customer
Posts: 1600
Joined: Tue Jan 04, 2011 11:34 am

Ooo. Good idea Smicha!!

Onto the wishlist!

Seeker
Win 8(64) | P9X79-E WS | i7-3930K | 32GB | GTX Titan & GTX 780Ti | SketchUP | Revit | Beta tester for Revit & Sketchup plugins for Octane
Rikk The Gaijin
Licensed Customer
Posts: 1528
Joined: Tue Sep 20, 2011 2:28 pm
Location: Japan

Why do you need to add the sun with an HDRI? :?
Draydin_r
Licensed Customer
Posts: 154
Joined: Fri May 13, 2011 2:34 am

Hdris tend to lack the hard shadows that a dynamic light source provides (ie. Sun, lamps, headlights, candles etc.). The recent addition of the Sun-HDR blend addresses this by providing a Sun to match with the environment (with sufficient tweeking).

I think this is a fantastic addition as it makes the already robust SunSky system of 1.5 even more controllable! The the only (note the only ;)) grip I might have is exactly what Rikk brings up. I would like to point toward the HDR Labs product (http://www.hdrlabs.com/sibl/)SIBL. This system is a plugin for most of the major renders (though Lightwave is more up to date) that creates scenes that combine the qualities of hard lighting and HDRI environments. They even give the artist control of where to place the sun in the scene, save them as presets, and link them together so when you move one you move the other.

If Octane could adopt even a couple of these features it would make the system near perfect! Imagine HDRSun Presets on LiveDB :P

But that is my two cents (barring exchange rate :mrgreen:), take this for what you will.
Intel Core i7 CPU 6850K @ 3.60GHz 128.0 GB Ram / Win 10 64 bit / 1x GeForce RTX 3080
User avatar
roeland
OctaneRender Team
Posts: 1822
Joined: Wed Mar 09, 2011 10:09 pm

Maybe the norhtoffset parameter should also rotate the texture environment. We can have a look at this later.

The sIBL files are plain text files which can be read with a script, I have created a script which loads a file and sets up what is currently supported in Octane (a lat-lon-mapped environment + a sun direction). Get the script here.

--
Roeland
riggles
Licensed Customer
Posts: 493
Joined: Mon Feb 17, 2014 3:34 pm
Location: CT, USA

I think of sIBL as a sort of temporary solution or workaround that isn't really needed any more. With modern GPUs and Importance Sampling especially, we can get very sharp shadows and accurate lighting from quality HDRIs and don't need the blurred GI HDRI/sharp reflection map/linked direct sunlight method of old with sIBL.
Rikk The Gaijin
Licensed Customer
Posts: 1528
Joined: Tue Sep 20, 2011 2:28 pm
Location: Japan

If you don't get a sharp shadow from your HDR, it means that HDR was not properly created. Even in that case, you can always fix it in Photoshop, by paint an intense value over the sun.
In my experience, I found the Aversis HDR maps among the best HDR on the market.
http://www.aversis.be/hdri/hdri-collections.htm
User avatar
smicha
Licensed Customer
Posts: 3151
Joined: Wed Sep 21, 2011 4:13 pm
Location: Warsaw, Poland

Rikk,

Thank you for valuable info. I just played with the sun and HDRI and noticed that placing the sun on the brightest spot on HDRI gives extra control on shadows via the sun size, turbidity and power. And it's quick and easy.
3090, Titan, Quadro, Xeon Scalable Supermicro, 768GB RAM; Sketchup Pro, Classical Architecture.
Custom alloy powder coated laser cut cases, Autodesk metal-sheet 3D modelling.
build-log http://render.otoy.com/forum/viewtopic.php?f=9&t=42540
User avatar
ROUBAL
Licensed Customer
Posts: 2199
Joined: Mon Jan 25, 2010 5:25 pm
Location: FRANCE
Contact:

You can make very efficient HDR images within Octane :

Using a panoramic camera and the sunlight system, capture your scene (without the central element : for example without the car if you want to render a car) with the camera placed at the center of your scene.

Save as exr file, and reuse this file as a HDR environment.

Obviously, the image is more interesting if you have some physical models in your scene (landscape, buildings...)

you can edit the HDR afterward in an image editor supporting HDR formats.
French Blender user - CPU : intel Quad QX9650 at 3GHz - 8GB of RAM - Windows 7 Pro 64 bits. Display GPU : GeForce GTX 480 (2 Samsung 2443BW-1920x1600 monitors). External GPUs : two EVGA GTX 580 3GB in a Cubix GPU-Xpander Pro 2. NVidia Driver : 368.22.
hdrmaps
Licensed Customer
Posts: 30
Joined: Tue Aug 28, 2012 1:31 pm
Location: Poland
Contact:

If you have un-clamped hdri you don't need paint on hdri or use extra direct light placed at sun.
I recorded short video about how to paint on clamped hdri - https://www.youtube.com/watch?v=_olHJZ3BV_A

If you want you can use reflection hdri from this sIBL pack http://goo.gl/iT1JtD
Test it - it produces really nice, sharp shadows (my setup is Power 4.0, IBL Gamma 1.15, Importance Sampling ON)

Image
Post Reply

Return to “Development Build Releases”