• Tutorials Section Bar

  • Outdoor Lighting with Poser 8 IDL


    Indirect lighting is a great new feature in Poser 8. It allows us to directly do some things we had to fake before, like global illumination and ambient occlusion.

    Keep in mind that AO in Poser is a way to fake occlusion in a render. IDL (Indirect Lighting) does the real thing.



    So TAKE AWAY ALL THE AO NODES in your materials before you use IDL, or the render will take a huge amount of time to complete. AO nodes are not compatible with IDL, except the rare occurrences where the AO node is used to drive a function to give a special effect. AO in light is deactivated when using IDL.

    Here I will explain how I set up a scene to have outdoor lighting using IDL with only one infinite light in Poser8. Outdoor lighting is one of the hardest thing to do in Poser in a realistic way. This is not the case anymore thanks to IDL.

    Before Poser8 we had to use IBL to fake the illumination. We also had to make great use of AO nodes to give the effect of occluded surfaces. It gave unrealistic results as the AO effect was present even when the surface was directly lit by a light source. IDL will give you a more natural result, correct illumination and realistic AO. Of course better results lead to higher render times. Everything has a price. But the results are well worth the extra render time. And as P8 renders faster than previous Poser versions due to the newly distributed buckets, the render time is just a little higher than with older versions.

    I will use UrbanFuture2 by Stonemason as this set has a lot of details that will demonstrate the effect of IDL.

    I will also use Bagginsbill's Environment Sphere available here to illuminate the scene. IDL will 'project' the image map of the EnvSphere on your scene. If something is between the EnvSphere and an object in your scene, the object will not be illuminated, except if you set up enough IDL bounces for the light to reach it.

    I will use only one light to simulate the sun. One infinite light with raytraced shadows (you can use depth mapped shadows if you prefer, it will render faster).

    First of all, I loaded the Environment Sphere and loaded a map of a sky on it. You must use an equirectangular map in a high size enough to avoid pixelisation. The one I will use is in jpg format, but you can use HDRI as it will give you better results. The color and brightness of the map will dictate the color and brightness of the illumination. The shader Bagginsbill built on this prop already makes it self lit, so it will participate in the IDL calculation.

    Then I added one infinite light with raytraced shadows blur radious set to 2. I lowered the intensity of the light to 85%. Leaving the light at 100% intensity in addition to the IDL will give you an over saturated render. Always lower the intensity of your lights when using IDL.

    After having loaded the Stonemason set, I go to the material room to delete all the AO nodes. It can take some time to be sure to get rid of all of them, but it's really important. Leaving them will give you higher render times and an extra AO effect that we do not want here.

    I've also added some ships to populate the scene. Remember to delete any AO nodes in their materials too.

    Now set up the camera. For this render I will use a 24mm focal lens on my camera to have a great perspective and better depth. Never hesitate to change the default 55mm focal, it can make a lot of difference.


    For your test renders you can disable IDL.

    Now comes all the fun, the IDL settings.

    These settings are found in the render settings dialog. It consists of a check box to enable Indirect Lighting and a slider for the IDL quality.
    I have to recommend you use the script by Dimension3D included with P8 that gives much more control over IDL. This script allows you to set up the IDL bounces independently from the raytraced bounces, set up the IDL irradiance cache, IDL intensity and more.

    You'll find it in the top menu in Scripts/Partners/Dimension3D/Render FireFly. You'll have the classic render settings plus the advanced ones in the same panel.


    Keep in mind that the settings I will use are not the perfect ones as I am still experimenting with them. On top of that, you will not have ideal IDL settings that will work with all scenes. Each scene will need its own settings according to the effect you want, the geometries present in the scene etc. I just used some that worked and gave me the result I was after.

    To better understand the difference IDL makes in a scene, here is a render without IDL, only the infinite light.

    And now, i turn the IDL on and here comes the magic.


    The settings used here are the default ones. Of course we can do A LOT better, it was just to demonstrate the difference only one check box can make.

    To understand the different settings found on the D3D panel, I will explain to you the explanation of 'WhichWay' found in a Renderosity forum. I will summarize here:

    "First (raytrace) Bounces: Same as Bounces used to be - limits the number of Reflective/Refractive/Transparent surfaces hit. Needs to be at least 1 for IDL. Higher numbers give more accurate optics, but at increased render time. I haven't needed more than 1 so far.

    First (AO) Irradiance Cache: Used for AO and disabled for IDL. If you're doing IDL, leave this at 0.

    Irradiance Sample Size: Globally reduces the maximum distance allowed between IDL evaluation points. (I'd guess it does something similar for AO when IDL is off.) Lower numbers mean more evaluation points, smoother IDL effects and substanially more render time. I've always kept it as the top end of 20 so far. My reccomendation would be to lower this from 20 only as a last resort.

    Intensity: Set the global balance between IDL and direct/specular lighting. I've always used 1 so far.

    Now we hit the most important ones for IDL.

    Bounces: Sets the number of bounces off surfaces used to sample where IDL is coming from. Depends on how complex the scene is. Higher numbers allow light to sneak under tables and things. Luckily, because of the magic of the Irradiance Caching algorithm, the render time does not depend exponentially on this number. Starting with a value of 5 seems plausible to me and don't be too afraid of even higher numbers.

    Samples: This sets the number of random rays sent out after the last bounce to figure out how much light is arriving at the last bounce point. It has to be pretty high for two reasons - one, it is a statistical sample, so the error in the result goes down rather slowly with the number of samples, and two, the rays have to sample a complete hemisphere at the last bounce point. If there are too few rays sent out, they might miss important nearby geometry. Expect this number to be several hundred, if not a thousand.

    Second (IDL) Irradiance Cache: This is the most critical number. It effectively sets the accuracy in IDL that you're willing to accept and will cause the render to churn until it gets there. On the other hand it is the source of much magic as it forces more IDL evaluation points precisely in those places where the geometry is changing quickly and fewer where not much is happening. The actual maximum error in percent = 100 - Irradiance Cache. This means several things. First, high accuracy is to high numbers, or to the right. The usable numbers must be less that 100; 100 leads to no caching and unbearable render times. For high accuracy, the slider range is very compressed at the top end. E.g., to go from 5% maximum error to 2.5%, the number goes from 99.5 to 99.75. This is hard to manipulate with the slider and you probably need to type it in. Also, for each cut in the error by half, the render time could as much as quadruple.
    These last two settings are the heart of IDL and they are somewhat coupled. For example, setting (IDL) Irradiance Cache high for high accuracy will fail if Samples is not also high enough to get reliable IDL estimates at the IDL evaluation points and vice versa. Fortunately, the test renders I was doing seem to be very demanding since they have such flat, untextured surfaces. For most renders, quite a bit sloppier calculation of IDL is fine. For starters, try (IDL) Irradiance Cache at 50 and work your way up carefully."

    So finding the right settings to have a balance between quality and acceptable rendering time is a matter of experimentation.
    For this scene, I had good results with the following settings:


    And you can see in the final render how the occlusion is naturally distributed, only in the shadowed areas and not in the directly lit ones. It's especially obvious in the shadowed parts under the decks.


    To enhance the realistic feeling that IDL gave to the render, I did a Z depth pass using Semidieu's Advanced Render Settings script (available at Runtime DNA), and I add it in Photoshop using DOFPro with a slight grain. Et voila!


    Remember that you do NOT NEED IDL in every render. But for outdoor scenes it's a wonderful addition!

    Here is as an example another render using IDL that would be really hard if not impossible to do without it.


    I used the famous Sponza model by Marko Dabrovic.

    The only way for light to reach the interior of the model is by the opening on the above. Here I set 12 IDL bounces for the light to be distributed all along the sides arches.

    As for the first scene, only one infinite light for the sun, Bagginsbill's Environment Sphere and IDL on.

    RESOURCE LINKS:
    Bagginsbill free Environment Sphere
    Environment Sphere links
    Semidieu Advanced Render Settings
    HDRShop to convert pictures in equirectangular format (Download v1 on top menu)
    Sponza model by Marko Dabrovic (click 'Download in the upright corner, use the 3ds version to use in Poser)
    This article was originally published in forum thread: Outdoor Lighting with Poser 8 IDL started by vincebagna View original post
    Comments 16 Comments
    1. alkhall's Avatar
      alkhall -
      Awesome tutorial many thnx.. :0)
    1. drawsattention's Avatar
      drawsattention -
      Wow! Really cool pictures you created and thanks for this tutorial,
    1. esha's Avatar
      esha -
      Quote Originally Posted by timdaily View Post
      This new trend of Outdoor Spotlights make great feature, illumination or marker lights for outdoor spaces & gardens. All our Outdoor Spotlights are incredibly durable and come in a range of styles.
      *LOL*
      I wonder in what file format these come and if they are compatible with Poser
    1. batronyx's Avatar
      batronyx -
      Spam.
    1. markdavis709's Avatar
      markdavis709 -
      Hi,
      Thanks for all the useful information. I really needed it. I was searching on the internet for this information for so long and I must tell you that I was unable to find such precise information till I read this post of yours.
      Thank you very much an keep it up.
    1. princealucard's Avatar
      princealucard -
      BagginsBill Environment Sphere link no longer works...
    1. bagginsbill's Avatar
      bagginsbill -
      Quote Originally Posted by princealucard View Post
      BagginsBill Environment Sphere link no longer works...
      I don't see that. Can you confirm? My browser home page comes from the same site, and I load it several thousands times a day. The site is up.
    1. princealucard's Avatar
      princealucard -
      I'll check again... but I wasn't able to download the sphere earlier today... Thanks.
    1. princealucard's Avatar
      princealucard -
      Leave it to me to try and click the wrong area. Hopefully this will help with the L E Os. Thanks again...
    1. garymg's Avatar
      garymg -
      Thanks for the tut. I can't see any of the images of the tutorial - they are all shown as a square with an X in the square!? When on right click/show image, I get a new screen with the message: "Error 404 - Not found".
      Any suggestions on how to make the images show?
      Gary
    1. gishzida's Avatar
      gishzida -
      I just posted yet another AO node deletion script [beta test - so it is just the script! ] over in the Renderosity Python forum... It has the same limitation as the P7 script posted above in that it deletes the node and that may effect things that might be attached to it. It was only tested in PP2012... see http://www.renderosity.com/mod/forum...ead_id=2862527 I'd love to get feedback...

      UPDATE:

      This script is available in the Renderosity "Free Stuff" pages:

      http://www.renderosity.com/mod/frees...?item_id=70488

      It has only been tested in Poser Pro 2012 but I have received no complaints about its functionality.

      regards

      joel
    1. sandman_max's Avatar
      sandman_max -
      The images all seem to be missing. Does anybody know if there's an alternate location?
    1. vincebagna's Avatar
      vincebagna -
      Oops, will look to have the images fixed
      You can go here to see the tut:
      http://www.vincebagna.com/index.php/...irect-lighting
    1. lindans's Avatar
      lindans -
      Just come across this but all the pictures have little white crosses, would like to see it properly I am using IE 11 wondering if that has any effect on it ?
    1. lindans's Avatar
      lindans -
      oops!! missed the post above just going to check out the link
    1. jura's Avatar
      jura -
      Thanks for this tutorial

      Very helpful there

      Thanks,Jura

Get Social with RuntimeDNA

Superior Customer Service:
Toll Free Phone: 1-877-789-8849
(Monday Through Friday 9 AM to 5 PM EST USA)
Powered by X-Cart shopping cart software
Powered by vBulletin® Version 4.2.2
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
vBulletin Metro Theme by PixelGoose Studio
Copyright 2001-2014 Runtime DNA Inc.