Dec
01

Area light fix (light, not shadow!)

Posted in Development by Ton

While sipping from an excellent cup of coffee I’ve worked on the area lamp render fix, as promised to work on in exchange for the incredible espresso engine!

area_1_2.jpgarea_1_21.jpg

The above images show the old situation, with and without shadow. Note that the light doesn’t really make the sides of the sphere become lit, and for shadow this even becomes totally terminated.

area_2_2.jpgarea_2_21.jpg

This is the situation as now in svn. Now, for every possible shadow sample, an area light calculation is done from that position. This clearly gives much nicer light on the sphere (but note that the floor is identical). With a shadow render, the self-shadowing effect of faces are visible. I’ve not included terminator code for resolving phong imperfections… that fights with the whole idea of soft shadow. Better to use as small faces as possible now.

(More work on this will be done of course, this is the first commit, need to do more tests for quality)

Grazie mille!

-Ton-

10 Responses

  1. jazzroy Writes:

    thanks ton, it seems it’s working better now, but maybe a bigger area light would show better the difference.
    don’t drink all the coffee in one week!

  2. rogper Writes:

    Already fixed!!! That’s what I call fast!
    Looks allot better now!
    Thanks espresso machine! …Oh!! And Ton ;)

  3. pKrime Writes:

    What? You fixed the light already? You are definitely “the man”!

  4. bloke Writes:

    Just wondering what it would take to bribe you into coding a system similar to the Maya ncloth nucleous?

    Just kidding, great work every little bit really makes blender that much stronger. Thanks Ton. and thanks to the Italian community for the gift for the crew.

  5. renderdemon Writes:

    Thanks Ton,this means no more banding artifacts in my renders,finally!

  6. Bart Robinson Writes:

    I don’t see a difference. Is my gamma set to low? The sphere’s look identical.

  7. pKrime Writes:

    With such a small area light, the effect may be very subtle on some screens, but if you open the images at full size, you will see that in the first image the ball is not lit below the horizon, while in the third one it is.

  8. pKrime Writes:

    @Bart Robinson
    With such a small area, the effect may be very subtle on some screens, but if you open the images at full size, you will see that in the first image the ball is not lit below the horizon, while in the third one it is.

  9. gillan Writes:

    i’ve tested the new area light here

    http://www.kino3d.com/forum/viewtopic.php?t=6224

  10. venki Writes:

    this site is wonder full ultimate sir very nice kepit up