Posts Tagged ‘exr’

Vraysun and HDRi sky tutorial

Occasionally its nice to be able to use a HDRi environment together with a vraysun, for when you want stronger shadows than the HDRi supplies. The trick is in aligning the sun with the HDRi so that the shadows from each match up. You can do this through trial and error, but if you want to change the rotation of the HDRi then its a pain. Rather than try to explain the steps involved, I thought it would be quicker doing a video tutorial. I’m afraid it turned out to be 13 mins long, but hopefully it will help.

Watch on vimeo for full HD.

The code for the wired rotation is:

radToDeg(Z_Rotation/360)

Daniel Hatton’s Dublin House Extension

A beautiful example of 3 of my HDRi skies at work:

The HDRi skies he used were:

1725 0743 2003

Check out Daniel’s architectural visualisation portfolio and blog.

HDRi Skies Shop

This is my complete collection of 54 HDRi skies, the ones already available to buy on 3DOcean are marked with a red logo (you can click through to 3DOcean.net). Feel free to let me know in the comments which ones you think would be useful to you. If you hover over the thumbs you should get the name of the HDRi, and if you click you’ll get a 1000px preview.

0707 0716 0743 0822 0833 0902 0925 0927 0938 0955 1001 1008 1044 1103 1123 1217 1222 1224 1247 1313 1322 1325 1342 1407 1422 1433 1614 1620 1636 1658 1725 1735 1739 1755 1808 1828 1846 1847 1853 1912 1914 1916 1928 1929 1931 1934 1941 1954 1957 2003 2009 2027 2028 2118

HDRi Sky Lighting Tutorial

preview

Thought I should do a quick tutorial on how I use these HDRi Skydomes I’m selling. Note that this is just one of many possible workflows, and there are probably lots of tricks I’m missing and even things I do completely wrong. I should also say that I work mostly with still images, not animations.

1. Here is a typical architectural scene. It is a model I made of Waro Kishi’s Fukaya house in Japan that never really went anywhere.

wire

2. I use a gamma 2.2 workflow together with reinhard color mapping, so not strictly LWF but shares some of the advantages. I don’t want this to turn into a LWF tutorial or discussion, but this post on cgpov.com pretty much sums up how I feel a gamma corrected workflow helps us as visualisation artists.

mapping

The reinhard color mapping helps to control burnt out (overexposed) areas. Screenshot of my color mapping set up: The burn value of the reinhard color mapping typically ranges from .75 for an exterior to 0.05 for an interior. You need to experiment with the value until you gain control over the burnt out areas. Here is an example with a camera pointing at the HDR sky:

burnvalue

For the final render, I use the Vray Frame Buffer, and add a slight s-curve to the output to compensate for the lack of contrast that the gamma corrected workflow introduces:

curves correction

3. Add a vray dome light and load the exr/hdr using the max bitmap loader. Set the mapping type to environment/spherical. If you are using .hdr files, you can use the vrayHDRi loader instead. It makes no difference whether you use the bitmap loader or the vrayHDRi loader, the vrayHDRi adds a bit more control in that you can control the render multiplier independently from the viewport multplier. Set the output of the .exr to 1 and the vraylight multiplier to 1. If your hdr/exr has no alpha channel it seems you can save quite a bit of memory while rendering (approx 200mb in my case) if you load the exr/hdr as realpixel float rgb rather than the rgba option.

bitmaploaderparams
[Click for original size]

4. To rotate the HDR you need to enter a U offset value from 0-1, so to rotate 180 degrees with would enter 0.5, 270 degrees 0.75 etc.

5. Add a vrayphysicalcamera, and set the aperture and shutter speed to something that would work for a typical outdoor scene, like F4, 1/200th & ISO 100. Remember that you are in effect using a completely manual camera, there is no ‘P’ or automatic mode so you need to experiment with different exposures until you get a good result.

scenesetup
[Click for original size]

6. Hit render and see what you get. If it looks too dark/bright I tend to adjust the bitmap’s output rather than the vraylight multiplier, so that I can have a couple of ready setup HDRi’s ready to drag and drop onto the dome light. In the examples below I use an output value of 1.5.

HDRi Skies

The first HDRi skydome is available on 3docean. It’s a clear blue sky with just a few clouds. I’m hoping to be able to offer packs at a discounted price as well, but that’s dependent on 3docean, so for now it’s just going to be individually. Feel free to let me know what type of skies you would like to see next, the image below is just a selection from many!

UPDATE: The slideshow below will automatically update as I add new HDRi skies.

54 skies
Click image to zoom