CC Particle World Nebula in After Effects

Опубликовано: 02 Октябрь 2024
на канале: ShiveringCactus: VFX
1,227
23

Use AE's included particle generator to create a 3D gas cloud.

In this tutorial, I use Adobe After Effect's built-in particle simulator, CC Particle World to recreate the look of a nebula in space. Turbulent Noise is used to give the particles a texture and at the end I add the remnants of the star which went supernova to create the cloud of gas and dust.

-------------------------------------------------------------------
I use a few expressions in this tutorial, you can copy them from here:

Marker linked to Particle Birth rate:
if (marker.key(1).time [RIGHT ARROW BRACKET]= time){
effect("Birth Amount")("Slider")
} else {
0
}

CC Sphere X Rotation:
campos=thisComp.activeCamera.toWorld([0,0,0]);
planetpos=effect("CC Sphere")("Offset");
x=length([planetpos[0],planetpos[1]], [campos[0],campos[2]]);
y=campos[1]-planetpos[1];
alpha=Math.atan2(y,x)
value+radiansToDegrees(alpha) ;

CC Sphere Y Rotation:
campos=thisComp.activeCamera.toWorld([0,0,0]);
planetpos=effect("CC Sphere")("Offset");
x=campos[0]-planetpos[0];
y=planetpos[1]-campos[2];
beta=Math.atan2(y,x)
value+radiansToDegrees(beta) - 90;

-------------------------------------------------------------------
I also reference an earlier tutorial of mine, Linking CC Particle World to a 3D NULL,    • Link CC Particle World to a 3D Null  

CC Particle World link to a Null Expressions:
Position X:
x=thisComp.layer("Nebula NULL").transform.position[0]-thisComp.width/2;
x/thisComp.width;

Position Y:
y=thisComp.layer("Nebula NULL").transform.position[1]-thisComp.height/2;
y/thisComp.width;

Position Z:
z=thisComp.layer("Nebula NULL").transform.position[2];
z/thisComp.width;

-------------------------------------------------------------------
Download project file: https://www.dropbox.com/s/41ocbh4ri75...

Video Copilot's free Color Vibrance plugin:
https://www.videocopilot.net/blog/201...

-------------------------------------------------------------------------------
Twitter:   / shiveringc