How To Create A Surreal Outer Space Nebula

Tutorial Details
  • Core Training Value: In this tutorial I will show you how to create space nebula. We'll construct 3D alooking nebula inside After Effects with Trapcode Particular 2.0 plug-in.
  • Requirements: Trapcode Particular. You can download a trial version here.
Download Source Files

You don’t need to be an astronaut to enjoy a breathtaking celestial scene… you can create one yourself! They say beauty is in the eye of the beholder… Well I don’t know who “the beholder” is and why his eyes are so gorgeous, but I think this effect is quite lovely as well. Enjoy!

Preview

Want the AE Project Files and assets for this tutorial and all of the other tutorials on Aetuts+? Join Ae Plus for just $19/month. You can view the final effect preview video below.

Download Preview .flv

File size 5.5MB


Step 1

Before we get started I must say that the final rendered output of this comp will take a huge amount of time, but I hope the final result will be worth it. I will be using After Effect CS4 for this tutorial. Also you will need Trapcode Particular 2.0 version of this plugin, because we need its shadowlet feature. Optional plugins: Trapcode Form and Lux, please download demo versions from Trapcode site. So let’s start with After Effects by creating a few folders in the project panel. I created four folders: ‘ALL Comps’, ‘pictures’,'sound’.


Step 2

It’s easier to build the scene using guide pictures. You can use any picture of space nebulas that you want. As for me, I used beautifull work of Greg Martin (www.artofgregmartin.com) called ‘EUPHORIA’. You can download it from his site. We will just use it as guide to understand location of each element in 3D space.


Step 3

Download and import it into your picture folder in the project panel. Then select folder ‘Pictures’, and select File->Import->File. Choose your picture and click OK.


Step 4

Now let’s create a new composition. Select Composition->New Composition. Use preferences as it is shown on the screencap below.


Step 5

Select your guide picture, which we imported in the previous steps and place it to the timeline. Scale it down to 60% in my case and make it ‘Guide Layer’ with right click on it. In that case After Effects will be ignored in final render output. After all, with this layer selected, hit ‘Enter’ and rename it as ‘guide nebula’.


Step 6

Next we need to create our light array for future particle system. We need six light layers for it. First of all, create new Point Light layer by clicking Layer->New Layer->Light. Change name to ‘Emitter Top L’, type – to Point, color as on the screencap below. The reason why we used such dark color, is because Particular would be affected by light intensity, but more information about it is in the following steps.


Step 7

With the Emitter light layer selected, hit ‘P’ button on the keyboard, change position properties as shown on the screencap below.


Step 8

Now duplicate this layer 5 times by selecting Edit->Duplicate. Change it x,y positions as shown below. Finally, its renaming depends on position of each layer. I used Emitter Top, Emitter Mid L and R (left and right), Emitter Down L and R.


Step 9

Now let’s take a look at our guide picture. As you can see, nebula has some “corns” like things that go radially from the center of it in z-space and x,y space as well. In the next steps we can try to imitate this using particles of the Particular and Lights as emitters of particles. But first let’s add some keyframes for position of the lights. And then add Particular to the comp.


Step 10

Select all light layers, and hit ‘P’ on the keyboard. Then click on the stop watch, this action makes first keyframe for us.


Step 11

Now deselect all by ctrl+click on ‘Emitter Top L’ layer. Move your Current Time Indicator to 02:00 seconds, change position of the light as shown below.


Step 12

Change position value for other layers as shown below. Adjust traectories of emitters as shown below. For better results change Z position value for some layers.


Step 13

Create new solid layer by choosing Layer->New->Solid. Name it BG, make it comp size. Place it below all layers and turn off eyeball of the guide nebula layer.


Step 14

Apply 4-Color Gradient effect for ‘BG’ layer Effect->Generate->4-Color Gradient. I used next colors: color1- #203262, color2 – #2B3042, color3 – #171B29, color4 – #1C2230. Change values as shown below. Or use just simple Ramp Effect.


Step 15

Create new Solid layer. Layer->New->Solid. Name it Particular nebula, make it comp size, color doesn’t matter.


Step 16

Apply Particular plugin for it. Select Effect->Trapcode->Particular. Don’t forget that this must be 2.0 version of this plugin!


Step 17

Change settings of the plugin as shown on the screencaps below.


Step 18

For this moment our nebula is black – it’s ok, because we didn’t add lights to the composition. But before we do this let’s ‘freeze’ our nebula for some time. Move your current time indicator to the 2:00 seconds. Then go to the particular “Physics” submenu and click on the ‘Physics Time Factor’stopwatch . This will create first keyframe, then hit PageDown button on the keyboard and change value from ’1′ to ’0′.


Step 19

Now move your Curent Time Indicator back to the 2:00 seconds on the timeline. Then hit ‘B’ on the keyboard – this action sets the beginning of our composition for final render output.


Step 20

Now let’s add camera to the composition. Select Layer->New->Camera.


Step 21

Also we need Null object to control camera rotation. Add null object to the composition: Layer->New->Null Object.


Step 22

Rename it: “Cam Null’.Turn on 3D swith for Cam Null Object.


Step 23

Roll mouse cursor over pick whip, press down and hold left mouse button, release it when you will be over with ‘Cam Null’ layer. This action will parent our camera to the null object.


Step 24

Then move your timeline indicator to the 2:00 seconds. Select ‘Cam Null’ layer and with layer selected, hit ‘R’ button on the keyboard. This will release Rotation properties of the layer. Then click on the ‘Y-rotation’ stopwatch. Hit ‘End’ button and then change y-rotation value from ’0x -0,0′ to ’1x -0,0′. This action makes loop rotation for us.


Step 25

OK. Let there be light! Make new Light layer: Layer->New->Light. Name it ‘Violet point’, type – point light and I used this color #30204D.


Step 26

With ‘Violet point’ layer selected, hit ‘P’ button on the keyboard. Change the position values of the light as shown below.


Step 27

Create new Light layer: Layer->New->Light. Change type to ‘Spot’ and use position and light settings as shown below. Color I used was #3A7FFD.


Step 28

Create new Light layer: Layer->New->Light. Change type to ‘Spot’ and use position and light settings as shown below. Color that I used was #3A7FFD.


Step 29

Create new Light layer: Layer->New->Light. Name it ‘Global brown’. Use ‘Spot’ type, change intensity to 150% and use position and light settings as shown below. Color that I used was #BC7300.


Step 30

Duplicate ‘Global brown’ layer: Edit->Duplicate. Change position value as shown below. Color that I used was #FF9C00.


Step 31

Create new spot light layer: Layer->New->Light. Name it ‘Orange Spot’, use color #FDA100, change settings as shown below.


Step 32

Duplicate ‘Orange Spot’ layer: Edit->Duplicate. Change position and Point of Intrest values.


Step 33

Now adjust position of ‘Cam Null’ layer and Camera as shown below. After that move your Current Time Indicator to the 16:16.


Step 34

Add new light layer: Layer->New->Light. Name it ‘Dark blue point’, use color #0A1F3D. Change position values as shown below.


Step 35

Duplicate light layer: Edit->Duplicate. Use color #0A0C3D. Change position values as shown below.


Step 36

Add new Solid to the composition: Layer->New->Solid. Name it ‘Particular stars around’, comp size, color doesn’t matter.


Step 37

Move your Current Time Indicator to the beginning of the composition by pressing ‘Home’ button on the keyboard. After that with ‘Particular stars around’ layer selected, apply Trapcode particular to it: Effects->Trapcode->Particular.


Step 38

Select preset ‘t2_StarfieldStatic1_HD’. After that move your Current Time Indicator to 2:00.


Step 39

Modify plugin settings as shown below.


Step 40

Place “Particular stars around’ layer below ‘Particular nebula’ layer.


Step 41

Create new Solid layer: Layer->New->Solid. Name it Form Stars.


Step 42

Apply Trapcode Form plugin to it: Effect->Trapcode->Form. Actually, you can use only Particular for this action, but I prefer combination with Form plugin.


Step 43

Change Form plugin settings as shown below.


Step 44

Let’s add some planets into the scene. First you need to import texture for your planet. Actually, I used three planets, but we can use only one for these three, just will play with shading. I used textures from my collection, you can download some of similar type from here (CGTEXTURES.com). For tutorial I used ‘ConcreteBare0035′ texture. After that import it into the project by choosing picture folder and select File->Import->File.


Step 45

Rename texture by selecting it in the project panel and hitting ‘Enter’ on the keyboard: ‘planet’. Then place it to the timeline.


Step 46

Pre-compose layer by choosing Layer->Pre-compose. Choose ‘Move all atribute into the new comp’ option. Name composition as Big planet.


Step 47

Apply CC Sphere plugin to the following layer Effect->Perspective->CC Sphere. Adjust settings of the plugin.


Step 48

Turn on 3D switch for this layer. After that with layer selected, double press ‘A’ very fast, this will reveal layer material options. Turn off ‘Accepts lights’ option.


Step 49

Adjust position and scale of the planet. Also, because our planet is fake 3D (flat actually) we need to apply some tricks to hide this when our camera will be rotating around nebula. With layer selected, go to the Layer->Transform->Auto-Orient->Orient Towards Camera. After that our planet always will be facing to the camera.


Step 50

Then go to the effect control panel with ‘Big planet’ layer selected. Reveal ‘Rotation’ menu of the CC Sphere plugin, then Alt+Click on the ‘Rotation-Y’ stopwatch and add this expression (case sensitive!): thisComp.layer(“Cam Null”).transform.yRotation . This will synchronize rotation of our planet with main scene camera rotation.


Step 51

Now if you make Ram-preview (hit 0 on the Num Pad) you’ll notice that our planet isn’t obscured properly with nebula. It’s because there are some plugin restrictions. But, you can use this cool script. Or do some additional work for it like I do. We need two different layers for our planet. One above Nebula and one below it. First place ‘Big planet’ layer right below ”Particular nebula’ layer. Then duplicate it: Edit->Duplicate, and place copy above it. Name it ‘Big planet 2′.


Step 52

With ‘Big planet 2′ layer selected, hit ‘T’ button on the keyboard. Move your current time indicator to 08:24. Click on the ‘Opacity’ property stopwatch. Then move to the 10:00 – change Opacity=0%; move to the 24:00 – simply click on the stop watch (check value=0%); move to the 25:01 – change Opacity value to the 100%. Check animation with Ram preview (I recommend to set resolution of the ram preview to Quarter and skip 5 frame to get faster, we just need check out how elements interact now). Now, everything must be working properly!


Step 53

If you want to add more planets just repeat steps above, principle is the same. I add two more planets with different size and with different Z-space values. For example, you can add planets on the back side of nebula.


Step 54

Let’s add some more elements, for example, smoke. This will add some depth to our scene. I used Form for it, but you can use also Particular for it. Create new Solid: Layer->New->Solid. Make Comp size, color doesn’t matter, name it ‘Form Smoke’. After that apply Form plugin: Effects->Trapcode->Form. Change setting as shown below.


Step 55

Put ‘Form Smoke’ layer below ‘Form Stars’ layer. Change blending mode to ‘Screen’, and reduce Opacity to 20%.


Step 56

Let’s do some color correction to our planet a little bit . Select ‘Big planet’ layer, double click on it (Alt+ double click if you not in CS4). Select our ‘planet’ layer and apply: Effect->Color Correction->Brightness&Contrast, then Effect->Color Correction->Tint and after all Effect->Color Correction->Curves. Adjust your settings.


Step 57

Now let’s add Lens Flare. Create new black Solid: Layer->New->Solid. Name it ‘Lens Flare’, comp size, color black. After that apply Lens Flare: Effect->Generate->Lens Flare. Use 105mm Prime type.


Step 58

Select ‘Emitter Top R’ layer and hit ‘P’ on the keyboard. Next Select ‘Flare’ layer and Alt+click on the Flare Center stopwatch. After that take pick whip and select ‘Position’ of ‘Emitter Top R’ layer, and modify generated expression as shown below. Now our flare will be moving in 3D space with all the rest elements.


Step 59

Select ‘Flare’ layer and apply ‘Unmult’ plugin: Knoll->Unmult (it’s free, download from here).


Step 60

Select ‘Flare’ layer and apply ‘Fast Blur’ plugin: Effect->Blur&Sharpen->Fast Blur. Set amount to 10. Change layer blending mode to ‘Screen’.


Step 61

Let’s add some vignette. Create new Black Solid: Layer->New->Solid. Name it ‘vignette’, comp size. After that select Pen Tool (hit ‘G’ on the keyboard) and draw mask shape as shown below. Change mask properties and layer blending mode to ‘Classic Color Burn’.


Step 62

Now we can add some additional group of stars near our emitter lights. For that create new solid: Layer->New->SOlid. Name it ‘Form stars down L’. And apply Trapcode Form to it: Effect->Trapcode Form. Place this layer below ‘Particular nebula’.


Step 63

Select ‘Emitter Mid L’ layer and with the layer selected, hit ‘P’ on the keyboard. Now when you can see its position, copy it values to the Base Form x,y,z. Adjust another settings as shown below.


Step 64

Repeat prevoius steps and add some more stars groups near nebula light emitters using the same principle.


Step 65

Add some glow effect to the ‘Big planet’ and ‘Big planet 2′ layers: Effect->Stylize->Glow. Adjust your settings. Color A #960000; Color B #FFBE61.


Step 66

Add some glow effect to the ‘Big planet’ and ‘Big planet 2′layers: Effect->Stylize->Glow. Adjust your settings. Color A #960000; Color B #FFBE61. I also increased contrast inside ‘Big planet’ composition, set Contrast to 83,0.


Step 67

Next steps drastically increase your render time! Duplicate ‘Particular nebula’ layer:select layer, then go to the Edit->Duplicate. Rename it ‘Particular nebula blur’. Change blending mode to ‘Darken’.


Step 68

Apply CC Radial Blur to ‘Particular nebula blur’ layer: Effect->Blur&Sharpen->CC Radial Blur. Adjust your settings.


Step 69

Duplicate ‘Particular nebula’ layer one more time: Edit->Duplicate. Place it above ‘Particular nebula blur’ layer and change blending mode to screen.


Step 70

Finally add adjustment layer:Layer->New->Adjustment Layer. Name it ‘Global glow’. Apply glow effect to this layer: Effect->Stylize->Glow. After that place it above ‘vignette’ layer and also put ‘Flare’ layer on the top of all layers. Adjust settings of the glow.


Step 71

With ‘Global glow’ layer selected, hit ‘T’ on the keyboard. Reduce opacity value to 25%. Now you can render out your scene! You can play with color correction of the whole scene, add some titles, spaceships, change textures etc.

That’s it. Hope you’ll find this tutorial helpfull and usefull! Have a nice day and greetings from Ukraine! :)

  • Mojo

    Fantastic tut! I’m gonna try it! ThannnnnnnKssssssssssssss!

  • HK

    Great tutorial!
    Finally a YouTube preview player :p.

  • http://www.joelcutajar.com Joel Cutajar

    gr8 Tut! I will give it a try :D thanks. Btw whats the name of the music used in your preview?

  • frankyframe

    great idea!

  • Catsolo

    Nice tutorial. Even better that the preview is on youtube so you can actually preview it! At last I can view it without having to download it first.

    Great work

  • Max

    i like the effect, but I think the nebula could look a bit smoother – looks a bit choppy.

  • http://www.youtube.com.br/ianhpiratao IANH – BR

    read all of this, for do this?

    why dont do a video tut?

    • BlueStar

      “read all of this, for do this?”

      try to thank before you write silly comments for a free tutorial.

    • http://www.peewee1002.co.uk peewee1002

      As some people don’t have expensive screen capture sofeware and or a mic.

      Also sometimes people find it easier to write than talk….. video tutorials take me 50% longer due to all the preparation and post.

      • http://www.bogus.com jaredh

        I heartily appreciate a step by step text tutorial – saves me having to seek, skip and rewind to listen to instructions several times.

    • http://www.youtube.com/v4vfx ramesh

      No Pain No Gain

    • http://www.trollback.com J Holden

      Thats not the way to say thank you to a great tut.

  • Ashen

    Hi Alex!

    Thank you for the great tutorial!

    A have a problem. :)
    The adjustments of particulars is same like yours, but the colors is not good.
    The colors of particulars is miscellaneous… I’ve add the purple light, but the colors of particulars are reds, greens, etc. :)

    What is the problem?

    Thank you!

    Ashen

    • Mihai

      I have the same problem … :(

    • jared beach

      I have figured out the problem with the colors. click on your particle nebula layer. go to your effect control panel and under “aux system” there is a control called “Color From Main.” Set this to 100 and your colors should fix automatically.

      Please tell me if this helps. Thnx.

      • Freddie

        It works! Thanks man. I wish i could give you a high five

  • ulle

    There is some kind of a bug after step 17

  • http://www.visualfxtuts.com Topher Welsh

    Awesome look from the preview! Man… that Youtube player just FITS here. no lag… nothin! SWEET!

  • http://www.pleasewhisper.com/ Ed

    Nicely done. However, depending on the nature of your camera move, you might have to rethink scale and spacing of the components, to achieve a more realistic perspective.

  • Overburn

    REAL IMPRESSIVE!
    thanks for the effort!

    =]

  • Shahrez Rafiq

    Well, I really don’t want to be disrespectful but I really didn’t like the output. I mean there is nothing so awesome. Its good but not something I would like to spend my time on. I may be wrong.
    I apologize for my comment Alex, maybe soon we’ll see you post some great tuts.

  • http://www.youtube.com/wrenthereaper Wren Weichman

    haha nice smooth effect, but am i the only one who finds the fact that the planet is the size of a galaxy a little amusing??

  • Playeur

    omfg…great tuto

  • Fab

    beautiful!!!!

  • http://www.visualize.fr Christophe

    Very cool tuto..

    For the color, it’s seem that we need to change “color” :

    - “color overlife” (in particle) with black
    - “color” of “aux system” in black.

    With this configuration, i’ve got the same résult of the tuto..

    Thanks

    • jared beach

      can you please elaborate a little. I’m trying to figure this out and i don’t understand.

  • http://www.youtube.com/v4vfx ramesh

    i love ur tuts coz it covers a lot of cool techniques in a single one like the rain tut earlier. thanks a lot

  • titan

    thanx a lot bro but a video tut for this one would be better..
    perhaps u can make a video tut that would be awsome :D

  • SALIENTFILM

    sweeeet. smooth preview playback. ty youtube. nvr thought i’d say that.
    Anyways, Great tutorial! Keep up the good work!!

    peace

  • Nathan

    The best non video TUT i have seen on this site good job

  • lanbo

    hi,

    nice tut. but after step 17 i doesn’t have a nebula. i make everything said from step1 to 17 but i doesn’t get a nebula after step 17.

    any ideas?

    lanbo

    • http://www.youtube.com/v4vfx ramesh

      u should name ur light layer starting with “Emitter” with capital E. becoz particular only use light layers starting with this name.

      • Johnny

        Hi,

        First off great tut, I can’t wait to get past the point I am stuck on and create my own.

        However, I have the name of the lights as Emitter with a capital E and I am still not able to see the nebula for some reason. I have gone back through the steps from 1 – 17 to make sure that I am doing everything correctly and I have. Is there something that I am perhaps missing?

        Is there anything you can suggest?

  • jared beach

    Thank you so much for this tutorial and work but there is definitely either a bug somewhere in what the tutorial says or something you left out because Myself and others are having trouble with the light colors.

    Please reply. Thank you

  • derias

    C’est une très bonne leçon Je vous remercie pour vos efforts, je vous souhaite du succès

  • abdul roshan

    you guys are amazing,,,,,

  • Brian

    When I get to adding Particular and going through the Aux System part, once I make the size 60 the particles seem to line up squarely as if on a grid. They should be more random but I don’t know why they’re so different to the tutorial. There were some different entries from default not covered by the orange highlight so maybe I’m missing a value. That said, I’ve rechecked it four times already. You can see the difference in my picture here: http://i41.tinypic.com/2n7nwo1.jpg

    That’s me up to step 33. You can see how the dust is lined up a little too perfectly.

  • http://www.yomammashouse.com That Other Guy

    I am having the exact same problem with the Aux System as Brian. I have tried changing the Emit Probability, and also adding some turbulence position, but the particles still look too uniform and not nearly as close to a nebula cloud as the pictures shown in the tutorial. Help with this issue would be greatly appriceated.

  • jose landy

    GREAT TUTO!!!!! easy to follow easy to understand. I have the same problem with aux particles, but is fixed.
    Excellent final result

    congrats from Brazil

  • jose landy

    Ah, Where you grab those muiscs??awesome ones!!!

  • Famous

    hey guys

    someone please help me understand some things… i have a PC running 8GB of RAM and a core 2 Quad 32bit OS.. why does my afterFX run slow when i render projects like this one up above… my version of this tut didnt come out no where close as the preview video… i couldnt get up to step 32 with out it crashing from it running to slow… i can make many simple projects but nothing like the one up above… maybe if they pre comp most of it, it would run faster…. i never can do a good tut when i have to read along VID tuts are always better cuz the person may improvise as he works… anyway someone please email me back and assist me

    THANKS AE TUTS

    • jakobweiq

      32bit machines usually uses 2GB of RAM @ max

      it cld b ur video card.. upgrade to a even better one :)

      also, always purge any thing thats running in backgroud and also, always CTRL+S!!

  • Noel

    My lights are not reacting to the nebula particles, did I miss a setting? or should i be using Lux in order to do that?

  • That Other Guy

    Jose Landy, can you please explain how you fixed the problem with the aux particles?

  • http://www.skilline.com ffa

    thx
    hot and huge

  • qnvn779

    Thanks for the high quality tutorial. I used this tutorial and created a SPACE video with NEBULA, spaceships, and additional planets. See it at http://www.youtube.com/watch?v=4XTDK9Z1DAU&feature=mfu_in_order&list=UL

  • qnvn779

    The youtube link I gave was associated with disabled account so I have a new link for my video below:
    http://www.youtube.com/watch?v=cezxyHx8nDg&feature=mfu_in_order&list=UL

  • Jose Contreras

    Im having the same problem as Brian, Help pls! :C

  • http://www.vimeo.com/17298835 Dr. Unk

    Looks like the AE project file download still isn’t working – major bummer!

  • coose08

    yea same problem upto step 33..dosent look as soft as the one in the discription..looks exactly like the picture by Brian…also what song did you use in the preview???

  • Jeremy

    To fix the lighting color issue goto:

    Particular setting under AUX system tab,
    Change Color from Main [%] to 100.

  • Chris

    For anyone having trouble at step 18, (The Physics Tim Factor; Getting Particles to freeze) Here’s a helpful URL:

    http://www.trapcode-content.com/help/particular/physics_time_factor.html

  • Cosytaxi Slim

    just finish this tut,… long one. great!!
    Thank u!!!

  • Me

    How can I reduce the radius the particles are emitted into?