Watch a quick demo video about this script

Creates a 3D environment for your After Effects compositions at the touch of a button. The environment then responds to your camera’s position, orientation, rotation and lens properties.

"Name Your Own Price"
You can pay anything you want, the amount displayed in the cart is only a suggested amount.
View Cart

Skydome This is a new version of this script Compatible with After Effects CS3Compatible with After Effects CS4

Version: 1.01   Sign up to be notified by email when a new version of this script is posted

Skydome creates a 3D environment for your After Effects compositions at the touch of a button. The environment then responds to your camera’s position, orientation, rotation and lens properties.

Skydome

With your composition selected, simply run the script. A background composition is created with a default pattern inside. Simply drop an HDRI image or any other material into this composition and it will become the environment for your After Effects comp.

Install this script in the Scripts folder. It does not have a dockable UI.

Version History

  • 1.01 Initial Release – March 2010

Last updated March 15th, 2010
13,926 views
Tags: , , , , , , ,

About the author

Ben Rollason is a director of live action, motion graphics and visual effects work. You can find him online at www.benrollason.com

Pingbacks

31 Comments

  • Lol..I am working on a very similar plugin, but great to see it as a script.

  • TERRIFIC!!!!
    I love this AeScripts Community, you guys are all WIZARDS!

    Thank you so much Ben!!!

    Every single script here is worth every piece of dime spending on!!!
    Great stuff i love to contribute.

  • Love to see this in action. Use to light with hdri in 3D. So this feels like à great development. Thanx guys!

  • This is a phenomenal script. When doing the background offset, can you add an expression control into the script that will allow you to offset it without having to switch back and forth between the comps? I add it manually, but having it load within the script would be great!! Thanks for your very hard work on this!!!

  • Looks like a good alternative to Red Giant Horizon.

  • First off, thanks for the hard work..wonderful script. I have run into a bit if a snag however and correct me if I’m missing something. Working in CS4 on a mac… when creating a free camera by turning off auto-orient/point of interest on the camera as you’ve demonstrated, then animating ONLY the position values of the camera, I’m not getting any parallax at all between foreground objects and the skydome background.

    • then again.. I guess this is normal as a sky in a 3D app like C4D is always an infinite distance from the camera anyway and wouldn’t demonstrate any parallax either. So…Nevermind ;) thanks for the script Ben!

      • You’re quite right… it happens the same in a 3D program or in real life!

        If the camera is not looking at a point of interest, then moving its position coordinates have no effect on its orientation. Since the sky is infinitely far away, you won’t see any movement in the background.

        However, anything close to the camera will appear to move quite quickly across the screen when you move the camera. That’s the parallax.

        -Ben.

  • Hello,
    I agree it’s a great script but in the end, and believe at these prices I am not complaining, that being said, I find the fact that you can’t animation the position of the camera and NOT have the sphere reflect that is a bit of problem. As long as you spinning the camera around the illusion holds up great. But animate the position of the camera and the illusion breaks. While it is true that an infinite breakdown an infiniite distance away moves very little when a camers moves in/out left/right ..however what you see of the bacground changesdramtically. Is there a way to perhaps on the next version add an expresssion that scales, and works with the offest relative to the camera? Again, great script…thanks so much. Just giving some feedback.

    • Hi Philip,

      Thanks for the feedback.

      At the moment, Skydome reacts to the camera in the same way as a 3D program’s sky environment reacts…. or a camera in the real world, for that matter. You will find the background moves a lot if you move a camera whose point of interest is fixed (as this has an effect on rotation). If the camera has no point of interest, the background won’t move. Two people with two cameras 100 miles apart in the real world, will both see the moon in the same place if their cameras are facing in the same direction….because the moon is as good as infinitely far away. The same is true here…

      On the other hand, an environment that is not infinitely far away requires geometry. There is a script to construct a geometry sphere on AE scripts I think, but for an environment, unless you use a huge number of polygons (and massive render time), it won’t appear smooth.

      You can actually already adjust the Skydome sky’s offset relative to the camera. You can go into the Rotation X, Y and Z properties of the CC Sphere effect and change the values. However, you will probably find this unintuitive because the script requires the reversal of After Effects natural 3D gimbal order. I might address this in the future to make it more intuitive if there’s enough interest in the script, but it probably requires the transformations to be calculated as quaternions – hypothetical rotations in 4D space – and then converted back down to 3D. My head is already spinning! :)

      In terms of making the sky appear to move towards you, again it’s the same as in the real world. You can climb a ladder as tall as you like and the sky doesn’t get any closer! To make it appear bigger, you need to zoom the camera in.

      Hope that helps.

      -Ben.

  • Instead of your grid I get one black solid which is called Sky-Dome checkers?! What am I doing wrong?

    thanx in advance and best regards
    gurazius

    • Hi Guzarius,

      Without seeing a screenshot, I couldn’t really say (feel free to send me one, if you like). Usually, problems like this are caused by After Effects running in a language other than English. Is your After Effects running in English?

      -Ben.

  • I thought of that to be the reason. I´m running a german version. Since I´m familiar with javascript, perhaps you can tell me which terms have to be replaced with the german terms.

    thanx in advance

    gurazius

    • Hi Gurazius,

      Basically all standard Javascript functions and properties are the same. I think that all of the After Effects specific functions remain the same too. It’s the references to effects that need to change. For instance, Blur is Weichzeichner in german.

      Unfortunately, this is an enduring problem for all After Effects scripts and expressions – that they only run in the language they were written in.

      Ich wünsche Dir viel Glück damit!

      -Ben.

      • I just had the same problem: running AE CS5 in german. Although I am a JS newbie I translated the script. I would share if you are interessted in it.

        Best, Jake

        Oh! The script is just wonderful, as is openfootage.net ;)

  • Hi Ben,

    changed language of AE, now everything works as described. Great tool. I´m very excited,-)

    Thank you very much!

    gurazius

  • Hi Ben,

    Good script but what are the recommended (or best) specifications for running this script. My system is slowing down whilst using the script. email me @ luke4film@gmail.com

    • Hi Luke,

      If you haven’t done already, then turn off the optics compensation effect on the Skydome layer while you work on the project and turn it back on before you render. This effect distorts the background to exactly match your the lens properties of your camera, but it has a high processing overhead and since you get a good approximation without it on, that’s your most likely efficiency saving. If you already have this turned off, then I guess you are working at a very high resolution. In which case you need to preview at a lower quality setting – i.e. a half or a quarter.

      Hope that helps.

      -Ben.

  • Hey Ben,

    I was wondering how you used the HDR image from openfootage.net in After Effects. I’ve downloaded one of the files, but when I import it into After Effects or try to open it, the programs freeze. Thanks. (By the way, your script is very clever).

    Isaac Schrader

    • Hi Isaac,

      That shouldn’t happen. I can only guess that you are running out of RAM – some of the images from openfootage.net are extremely big. Perhaps you could try downsizing the image in Photoshop and reimporting to see if that helps.

      You could also try installing any updates to your version of After Effects – that’s a big hassle, but it sometimes fixes unusual problems like this.

      Glad you like the script though! :)

      Best,

      Ben.

  • Hi, the script not running… not make the background… make only a solid black layer… i tryed cheanged this with a image but not solving the problem… im using ae cs4 italian version.

  • Hi, I too am experiencing the same problem as the non-English users. However, I’m running CS4 in English. I even tried un-ticking all of the other languages to ensure it was running correctly in English but the script still has the same issue.

    Basically, when the script runs: it creates a black solid and places it in a new comp called Sky Dome Background. The solid has 4-color-Gradient and Checkerboard filters on it. That’s it, it doesn’t do anything else. It leaves the Comp I created untouched.

    Would you like me to send you an AEP?

Leave a comment

(to reply to a specific comment use the link by the comment)