Welcome, Guest

Please login or register

TUTORIALS SUBMENU ---->

PHOTOSHOP    FLASH    ILLUSTRATOR    BLENDER    CINEMA 4D    WEB-CODING

Related Links

Blender & Yafray HDRI Tutorial


Tutorial Requirements
You will need to have some basic experience with Blender and, of course, the following pieces of software:

You will also need a .hdr image. A few examples can be found here.

Introduction
In this tutorial we are going to create an image that uses HDRI technology - the aim of which is to teach you how to use HDRI sources in Blender. The acronym HDRI is short for 'High Dynamic Range Image', and is explained in more detail here - the practical examples themselves are well worth your browsing time.

Building The Scene
We will start this tutorial by building a simple scene consisting of four objects - a UV sphere, a lamp, a camera, and a floor plane. Place the objects in roughly the same positions as the diagram below.

Fiddle with the camera a little until you can render a sphere resembling the one below. Our scene is now ready. Define the shader of our sphere and adjust the world settings so that the .hdr image is mapped onto the surface.


Creating the UV Sphere Shader
Select the UV sphere. Go to the editing tab and click on the set smooth button - This will automatically smooth out our UV sphere when it is rendered. Now click on the shading tab and press the add new material button. We want to eliminate the material's specularity, so adjust the spec slider to 0.  Click on the mirror transparency button and then the ray mirror button.  Set the corresponding slider to a value around 0.50.

Our material preview should show a texture reflecting a chequered floor plane. We have now finished creating a material for our sphere. If we render our image, we can see it is reflecting a blue colour, which is our current sky colour.

Loading a .hdr image Into World Settings
Deselect all objects and click on the shading tab, and then the world settings tab. From the bottom right of the screen find the add new texture button and click it. We can now load our .hdr file. To do this, click on the texture tab, and set the property in the texture type box to Image. Navigate your way through your pc’s hard drive, until you find your hdr file and then load it up. Leave all the other settings alone.

Soft shadows
To give our scene more life-like lighting we are going to enable soft shadows. Start by selecting your lamp, then click on the shading tab. Now click on the lamp button and then on the buffer shadows button. Play with the settings to your heart's content until they suit your own individual tastes. You can also adjust the strength of the light in the shader tab.

Final touches
If you are unsatisfied with the results that you receive from your renders, just start moving the light source into a position that you find more aesthetically pleasing. I also find that if I decrease the amount of diffusion on my UV sphere, the specularity reduces accordingly as well.

Rendering
Go to the render tab. Make sure that you have YafRay enabled as the render engine, and that the envmap setting is enabled. Then just hit the render button. The result should resemble the image below.

This is, of course, only a single example of the potential uses of HDRI mapping. You could use this feature on any model that you have created, and the technique is universally exciting, capable of making all your models substantially more life-like. So play around a bit and watch your renders come to life!

- Tutorial written by Milkdrop

Automatic Translations: Translate Into French Translate Into German Translate Into Italian Translate Into Spanish Translate Into Portuguese

Last 5 User Comments

User:  guppyman (#51959)
Date: Fri Aug 01, 2008. 01:13:37

Post #6 of 6

Thanks for the Yafray-blender HDR tutorial. It is fantastic.

It helps in creating very realistic renderings.

Thanks again :)

Reply to this post


User:  jimmy_pazaron (#48343)
Date: Mon Feb 25, 2008. 03:01:20

Post #5 of 6

This is awesome.. I was able to do it!!!!!!!

JiM

Reply to this post


User:  djwoland (#42566)
Date: Thu Jun 07, 2007. 13:16:21

Post #4 of 6

Quote from Korgone;29613:
It not working for me eather it happing on the plane not the sphere :/


with 2.43 everything good

Yafray and internal renderer do results different

Reply to this post


User:  Korgone (#29613)
Date: Thu Jul 06, 2006. 18:29:42

Post #3 of 6

Quote from buzz:
Hi,

The tutorial is good - but I couldn't get it to work. I'm using 2.41 and followed your instructions (several times to make sure I was doing it ok) but I couldn't get the hdr image to reflect in the sphere.

Any ideas?


It not working for me eather it happing on the plane not the sphere :/

Reply to this post


User:  buzz (#28312)
Date: Thu Jun 01, 2006. 20:03:20

Post #2 of 6

Hi,

The tutorial is good - but I couldn't get it to work. I'm using 2.41 and followed your instructions (several times to make sure I was doing it ok) but I couldn't get the hdr image to reflect in the sphere.

Any ideas?

Reply to this post


--- View Entire Thread ---
Featured Content

Realistic Water Dr...
Realistic Water Dr...
- Adobe Photoshop -
Type Along A Path
Type Along A Path
- Adobe Photoshop -
Creating Warm Light
Creating Warm Light
- Adobe Photoshop -
Thermoptic Camoufl...
Thermoptic Camoufl...
- Adobe Photoshop -
Membership

Username:
Password:  
Remember Me

Lost Password? || Register

Special Options
Printer Friendly Version
Forum Threads

Competition Discussion - Brushes
Author: Man1c M0g
Posted: Feb 07th, 5:48pm
Activity: 0 replies, 53 views
 Competition - Brushes
Author: Man1c M0g
Posted: Feb 07th, 5:46pm
Activity: 0 replies, 54 views
 PM Spamming
Author: Tamlin
Posted: Feb 06th, 1:24pm
Activity: 7 replies, 115 views
Vector Clipart Bank
Author: Crapoun
Posted: Feb 06th, 11:29am
Activity: 2 replies, 93 views
How did ...
Author: MoodsR4Cattle
Posted: Feb 05th, 6:09pm
Activity: 6 replies, 26 views
Tips and trick for Texturing/Materials
Author: noorjan
Posted: Feb 05th, 4:59am
Activity: 2 replies, 108 views
 A Billion Styles - Please Help Me!!
Author: Angelz
Posted: Feb 03rd, 6:36pm
Activity: 2 replies, 133 views
101 Things you didnt know in 3DS Max ...in fact...
Author: noorjan
Posted: Jan 31st, 6:04pm
Activity: 0 replies, 160 views
Pee Wee get's an IPad
Author: MoodsR4Cattle
Posted: Jan 30th, 4:25pm
Activity: 2 replies, 163 views
Spam :: Online hotel reservations for Hotels in...
Author: kieulinh
Posted: Jan 28th, 6:39am
Activity: 0 replies, 204 views
New Design
Author: unleash
Posted: Jan 23rd, 12:39am
Activity: 3 replies, 17 views
New Design
Author: unleash
Posted: Jan 23rd, 12:39am
Activity: 27 replies, 727 views
Forum Threads

--- Site Resources ---
Total Tutorials:212
Total Downloads:    415