You're blocking ads, which pay for BlenderNation. Read about other ways to support us.

Sun, Sky/Atmosphere, and Aerial Perspective features in development


sky_panl.jpgHamed Zaghaghi has been developing these features and they're currently being reviewed by Ton. The results look very promising.


Hamed writes:

Finally it's done, sun and sky. The patch is uploaded but only for review. Ton want that I moved sun settings to Lamps, then we can add more than one sun into the scene. BTW, test the patch and if you made some nice pics you can email me to paste it here.

You can get more details, here.

Here's a link to the patch file.

Note: Downloading the patch file will not allow you to test these features. The patch must be compiled into a build of Blender. Hopefully, someone will create a build that has these features so they can be further tested. This will most likely be made available by the dedicated folks at


  1. That's the best news that I've heard in a long time. (And there has been some great stuff recently). Thumbs up to Hamed and Ton!

  2. Nice work Hamed!

    When this patch is finished, hopefully you'll have time to get back to the Game Engine to implement some of your excellent GE fixes and additions - for the the up-coming release mentioned in the Sunday meeting minutes!

    ( btw are you the GE patch manager now, for the GE branch? It might be worth having a GE based IRC meeting fairly soon, and try to get as many GE devs in as possible )

  3. Looks great.

    Warning: Do not click on the bracelet link comment on Hamed's blog. I got redirected to spyware! Hamed - please delete this comment.

  4. I want to join that OpenSource for Blender with a team
    for a try for something ...
    I do not know anything exept some "Something" Delphi programming ,
    and a really basic Blender modeling .

    Well ,i think will never do anything at this time ,but when then BANG !!!
    I start to do something ,it will be nice for have acesses to all that free stuff ,
    more than those reports .

    With a full detail Blender OpenSource and all needed to know to do anything to the
    Blender community ,like those guys who create that stuffs .

    Ok .
    What ?
    That's Right !

  5. It's be nice if it actually lit up the scene that way the real sun (or any light, for that matter) does. There's no change in the foreground surface lighting as the "sun" comes up and into the "sky". The surface just seems to have some distant lighting reference.

  6. I like what I see, but there is still lots of room for improvement. Thanks Hamed for the sun/sky system, it is about time someone step up and made it!

  7. Lucas Da Costa Dantas on

    Yeah ...
    With a detailed knowledge from the OpenSource ,
    and for what i think ,the way it sholud be .

    Then not only a few but the world by mean everyone ,
    can understand how it works for step up and make it even better and create treir own content .
    Also by join current projects .

    Obviously ,all the idea behind that free and opensource is to make it hard to start .
    So why not start a "Blender Programming lessons" at

    Blender Programming Lessons -
    The The OpenSource Book For Everyone Who Want To Create Blender And They Tools .

  8. It may be a cool feature, but that animation is *HIDEOUS*... Could they not come up with a better example?

    Following the link to the site gives some greater confidence since the other screen shots look better, and they seem to have some possibility of realistic settings.

    Lots of apps have had pseudo-realistic sky models for some time now (most of them base on the same paper), and they have all looked better. I have implemented one version of it myself in a shader language, and it certainly looked better than that as well.

    But I hope we can see some better examples soon.

  9. Yay, finally?! Is this code related to the GSOC that never got implemented?

    Moving it to the Lamps so we can have multiple suns is a great idea. I had to composite two pictures with TG1 for that, and it was harder than I expected.

    Any chance we'll be able to the save the Sun-Sky settings as group, like a Material or Texture?

  10. I would love to see some "programming blender tutorials". I'm quite OK with C/C++, maybe I could help improving Blender?
    (What I really miss is Global Ilumination and color "leaking" features).

    But where to start?

  11. Sanne, thanks for the links - I think I'm gonna start to code some Blender's parts. For some time I've been tracing svn changes (with compiling under linux) so I've got enviroment almost ready :)

  12. Go for it! I had a try recently and got some python particles (programmable boids) working-ish... Too busy to complete them now though so not useful yet! Keep an eye out for them maybe in the future though!! ;)

    I did the same with svn under linux too!

    GI would be cool but maybe a bit complicated, try something simpler for a first project! I have a book on GI and I've read quite a few papers, so if you do decide to implement it anyway, email me/leave a comment on my blog! (you'd probably be the first ever!) Bear in mind that I'm pretty unfamiliar with C/C++ atm, though I hope to learn some when I get the chance!

    Have fun tinkering with blender's code!
    ~epat. :)

Leave A Reply

To add a profile picture to your message, register your email address with To protect your email address, create an account on BlenderNation and log in when posting a message.