How to animate Car inside After Effect using Element 3D II After Effect tutorial

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] hello friends welcome back this is amit from magnet and today we are going to recreate this scene so first take a look what we are going to create before i start i have to say thanks to all of you guys for supporting me and if you are new to this channel please go check my other videos too and if you like those videos please subscribe this channel okay so let's do this so and also one thing i have to say that almost two years ago i made a full cgi fill that i made only using element 3d so as you see in and this scene also belongs from that film so as you see this car scene that i made by using element 3d and you can see there is a pilot inside the car and after two year i am able to create a vehicle that can run without the pilot so if you see that the car runs without the pilot that is the reason for this okay so let's do this so first we create a new composition so go to the composition new composition and the settings looks nice the frame rate also look nice and hit okay so now we create a new solid for element 3d so go over the effects and presets panel and uh inside the video copilot folder you will find element so just double click on that and now go to the scene setup so here we are in element 3d so first we create our 360 degree environment so for in order to create the 360 degree environment you will need a hdri pack so i also made a free hdri map pack for element 3d and if you already have this then it's good and if you don't have this yet i recommend you to go and download this pack and i will give the link in the description so you will get this pack for element element 3d and there is the over the 40 image hdri images that i in include in this pack and it also available in the two resolution that is the 2k and the 4k and also available in two format that is the hdri hdr formats and the jpeg format okay so you will definitely download this because without this we can't do the rest of the tutorial so now we create our 360 degree environment so go to the create and go to the spare so now we have our spare and in this pair we're going to apply our 360 degree environment so go to its material setup and now go to its diffuse layer and just click on that and go to the materials and there we will find the environment so just double click on that and after you install the pack you will find this magnet hdri pack so just click on that and now you will find all the assets inside the uh in my environment pack so we're going to use maybe this one that is the 2k resolution and that is the 4k resolution so we definitely use the 4k version for better result so just select that and hit open and also hit ok so there is the spare and this hdri map texture applied on that okay so now go to this basic settings here and we will find the diffuse just decrease to zero and also decrease the glossiness and also decrease the specular multiplier and also disable the environment multiplier here and now go to the illumination channel and just check this box that is the use diffuse color and change the intensity to 100 percent okay so now go to the very end of the settings here and all we also enable and disable this that is uncheck just uncheck those boxes that is the reflection cast shadow receive shadow and ao mode to ignore and also that is the important just check this box that is the draw back face okay and now select the spare model here and change the scale to 100 to maybe 10 000 okay so now you will see this hdri environment to apply your spare and but we all but we still have this environment but we have to change this for better result so go to its environment panel here and just select the same image that we use for the texture so there is this image and you can also use the hdr version so just click on that and if you make a room here and go to its environment and you will find this environment pack is also applied to the element 3d environment and you can also change the setting here okay so now hit ok so now we create the ground so go to the create and there is the plane just create this by say click on that and now select this model and go to its scale and we increase the scale to maybe 10 000 okay so now we apply some material on that so just expand this model and go to its diffuse layer and we're going to apply a ground texture here and i made a preset for that mod that texture also so here is the presets but i also give this texture uh in the description link so you will get this texture for this plane and i only just click on that and just drag it to this plane and it will apply but when you download this you don't have these presets here and all you have to do that you just go to its diffuse layer and you will find this file for the texture and you just apply this uh texture for its respectable slots and you will get this kind of material here and now we also change some settings here so just go over the occlusion layer we just decrease that and also we go over the normal bump we also decrease that okay and we also select the model and go to its ub mapping option here and we change the repeat value to maybe 20 by 20 okay so now we will get our land also and also select the ground and we find that our ground is little bit more glossy so we don't want that much of glossiness so just decrease the glossiness here and also the specular multiplier okay and maybe we can increase the normal bump for the ground okay so that is our ground so we have our sky and the ground and now we need a road for this and i am using as art model for the road and you also get this model from their site just go their side and download this so there is the street sign pack from sr and go to its bonus then you will find a street model just click on that and it will appear in the viewport and but we can see this because we have to change the position so if we just drag the y-axis value and you will able to see this model here and maybe we select the street model and maybe we change the position manually from here okay and we also increase the z-axis size okay so just press shift and just click and drag the z axis okay like this so we will get our street here but we also change some settings here so go to its material setup material setup and maybe not the material setup go to this street plane here and go to its uv mapping and just increase this value that is maybe 40. so now we change some material for the street so first we go to its diffuser after selecting the material go to the diffuse channel here and there is the material that those materials are provided by the ash art as well where that will comes with this street model pack so those are the materials so we don't have to do anything here just we copy that and paste into the normal bump channel here okay and now we select this normal bump and just select that and maybe we choose this one and we have to check this box that is the convert to pump okay and we also repeat this values to maybe 20 by 20 and now hit okay okay and you can also change the amount that how much you want the this ground cracks here okay and also we go to its glossiness panel here and maybe we use this reflection map for the glossiness and maybe we increase the glossiness value okay and we also copy that and paste it to the reflection slot as well and maybe we increase the reflection little bit and again we go to the reflection slot here and we change this um repeat value to maybe 20 by 20 and hit okay and do the same for the glossiness as well so change to 1 to 20 by 20 and hit ok ok so now we get our street so now we need some railings so those railings also comes with the same pack so just go over this bonus box and and select this railings okay so here is the railings but we have to change the material so just first we place this railings some somewhere in the left [Music] there also and now we change its material so we want some metallic material so we will find this kind of material inside the pro shaders to collection pack that is from video copilot and go to the metals and now select something like rusty kind of material here maybe this one okay maybe not that one maybe use that one and for the pillars we use maybe this one just apply directly can apply to the desire models here okay so now we duplicate this to multiple time so go to cover our road so just press alt and select the z-axis and just change the position do the same okay so we have the one side railing and but we want those railings from the from this side also so just we select all those railings that we just duplicate from the single model and just click and drag it to a new folder here okay so we have this railing folders and now we just duplicate this okay so just duplicate it and drag it to this side as well okay so now we have the railings in both of the sides okay so now put some environment material that is the maybe we put some plants here maybe trees here so for these you also need or maybe we need to uh rotate this so just select there and go to the rotation and maybe we just rotate this so press shift and just rotate it okay and now we place it again okay so this is for the road and now we need some uh trees here so for this you also have a tree model pack that i made for elementary that is the magnetry model pack and i also give the link in the description so you will get this and it is and i believe that you already have this and if you not please go and download this because it contained 20 different trees and there is the different types that is the without leaves and with leaves and if you have the low computing system you can also use the without the leave version that is the light version for the trees and with leaves you can also use this if your pc handle this okay so now we put some trees over here so maybe we select this tree so our tree applies in the viewport and now we change the position to something here okay and we're going to use another trees maybe maybe that one so our tree looks little bit large in size so we have to decrease the size as well like this so maybe we have placed this tree over there okay and also select that tree and you also duplicate this by press alt and just duplicate and press somewhere here so it is all depends on you how you have to design your scene so [Music] just put some where you want and maybe rotate it so it will look different so this is look nice for now so now put some [Music] buildings here so for this i am going to use the video copilot metropolitan pack so just go to the metropolitan pack and select that and maybe we're going to use this building [Music] and maybe we place it here and because this buildings is this building material is set to standard shader so we have to change this to physical so select the materials and just change this type to physical shader instead of standard shader okay and now place it anywhere you want so for now we can place it here okay so something like this and this and you can also put anything you want to fulfill your seam here so for now this look nice and now we put a car in the road so for this i am going to use the dreamworld car model pack and that those are awesome car models that is available for element 3d and you can download this by searching dreamworld in youtube so i'm going to use a car from that model pack and i'm also change some texture for the car and i save it in the different folders so here is the car so the car is applied in the scene but we want this car from the outside this group so just click and drag to outside from that group and now we place this car to maybe group number two okay so our car is applied in the group number so here is the car so now we press ok so this is the scene inside after effect so first we create a new camera so go to the layer new camera and just hit ok so first we create a null object that can control the camera so go to the layer create a new null object and make it 3d and that will be our camera controls so name it as cam control and now parent link this camera with that null object and now press after selecting the null object press p and just change the position okay and now we have to rotate this to something 180 degree okay and also press p and change the position like this and go to the element 3d layer and go to the group number 2 that the car is placed in the group number 2 so we have to create a null object to control the car so just go to the create null and create a null object and we name it as car okay so now selecting the kernel object and press s in the keyboard and just decrease the size okay [Music] to maybe 20 or maybe 30 it's look nice and also change the position like this okay so that is the car and this is the whole scene and so now we have to animate our car so for this we have to change the entire scene render mode to maybe draft so we can you our pc can handle it so first we go to its camera control here and place the camera somewhere in here and now we [Music] so that much we can go in the front side okay so now we also change the car position so there is our car and now we link this camera control with the kernel object so if we move the kernel object our camera also move okay so now we make a keyframe here and go to the very end and we change the position like this okay so let's see maybe not that one that much okay so let's see okay so that look nice for now but we have to animate our camera as well so maybe we maybe we go to the camera control here and make a keyframe here and go to the very end and we animate this camera position like this okay and also we change the x axis position as well so just select the camera control position here and make a keyframe here and select all the three keyframes here and just we change this x-axis value here okay and now we delete this temporary keyframe okay and this looks something like this or maybe we place the camera here and when the camera passed the car and now we go to the camera option here and press r to bring the camera rotation values and make a keyframe in the y-axis here and go to the some frame forward and we rotate the camera okay and also go to the few other few frames we also get the camera like this okay or maybe we okay so now we change those keyframe to easy is by pressing f9 so let's see what we have now so maybe that looks not good so we have to change the settings as well [Music] maybe we place those keyframe here okay [Music] okay so that is the click for camera movement so let's see what we have now [Music] okay so maybe we change the camera position in that point of time so go to the camera control here and make a keyframe here and we just make this and let's see [Music] okay so that look nice so now we need some camera movement shake that is the google expression but not we simply put in google expression here because we don't want the camera shake in every axis but we only need the camera set to y axis so for selecting the camera and press a to bring its point of interest value here and just first we press alt and click on the stopwatch here and we type an expression here but i already copied the expression so we just paste it here and i will give this expression in the description link so you will get this expression here so in that way we only have the y-axis camera shake so we have to change the values here so maybe we put something like 20 by 10 maybe so let's see so that's the shake is bit much so we have to change to maybe five pixels so let's see okay or maybe we decrease the frequency as well so maybe 10 so the camera shake look nice for now and we also need some secondary camera shakes to its z-axis rotation so first we select the camera and press r to bring its rotation values and go to the z-axis rotation and press alt and click on the stopwatch here and now we write the weekly expression here that is the wiggle fast bracket and we put a very little amount here so maybe 0.5 comma 10 so let's see okay so this look nice for now okay so now we need to animate the car wheels as well so go to the element 3d layer again and go to the scene setup and now go to the car folder here and first we change this view to this and and now we select the wheels here so first we press ctrl and click on the wheel here and first we make sure that you selecting this right object here and and right click here and go to the auxiliary animation and i already set this to channel number one so you have to just click on channel number one and it will assign to auxiliary channel number one and so you also do the same for the other objects that you have to select the tire as well by pressing ctrl and select the tire okay and you also place it to auxiliary channel number one like this and also do for the rest of the wheels as well so now he okay so first we go to the auxiliary channels and there is the auxiliary channel number one and go to its rotation and now you will find the rotation options here and just place a simple simple expression here that is by pressing alt and click on the stopwatch here and type time and type time times maybe minus 500 [Music] okay so you will see the will also rotate okay [Music] so our animation is done our wheel animation also done so now we can do some lighting here okay so for this we need a light so before we apply light we have to reset this rendering mode to full render and now go to the layer new light and we make a parallel light for this and change the color to white and intensity to something like this and make sure that you select the cast shadow switch here and now hit ok so in order to place the light in the right position in the sky we need to know where is the actual sun is so for this we create a new temporary camera so name it as temp and hit ok and place it over the main camera so we can access this camera and maybe we change the view to half resolution so let's see where is our sun [Music] so the sun may be here so we first we create a null object to represent this position so go to the elementary layer and go to its utilities and select this option here and just select that and create generate so you will get this null object and this null object represents the position for the sun so go to press p on the keyboard to bring its position value and just copy this by pressing ctrl c and go to the parallel light here and press b to bring this position values and just paste the values so now our light place in the exact same position where the hdri sun is so now we don't need this null object so just delete that and also disable this temporary camera for now and now our sun is here and it look nice so go to the full resolution again okay so now if you apply shadow you will get a nice shadow for our scene so go to the element 3d layer and go to the render settings here and go to the shadow and if you just select this and it's a very huge amount a huge environment here so this shadow mapping is not work here so we have to change this to red race but before you change the shadow mode to red race you have to save your project because maybe it will crash your system so first we save our project and now we change this shadow to redress okay so it will take little time to generate the shadow okay so you can see our shadow is generated so here is the shadow so that is good that our elements did not crashed that look nice for now and and we also apply the ambient occlusion as well so just select that and to get a better result we have to change this to redress as well but it also heavy for our render so it can also crash our system but it works pretty well here for now okay so that look nice for now and if you can also change the sun position by rotating your environment so maybe for now we disable our ambient occlusion as well as the shadow so maybe if we want our sun will be somewhere in the left side so that will look nice for this scene so maybe we go to the environment layer and but not go to the environment layer we first we go to the scene setup and we go to the group number one here and first we select our environment spare and we place it in different auxiliary animation channel that is channel number one and this auxiliary channel is inside the group number one so now hit ok and go to the group number one go to the auxiliary channel go to the actual channel number one go to the rotation and now you can rotate the entire environment like this okay so now we have our sun in the left side so now we go to make the same for to place our sun so go to the utility and select in this position here and generate and now we go to this temporary null object and press p to copy its position values and delete that and go to its parallel light and again go to the position and just paste it okay so now if you [Music] turn on the shadow like this just click on that and you will get the shadow okay so you can see it is so handy to place your lighting according to your environment so that is looks nice for now and you can also turn on the ambient occlusion switch okay so that look nice for now so we got this so far so now he we have to bake this animation by rendering some different passes because if you because it is so heavy for element 3d to render this kind of scene uh when applying the red red shadow and the um you know i mean occlusion is also redressed so if you have a very good pc you can render the all effect in the same scene but if you have this low kind of computing system like me so you can do one thing to optimize your render that is you first we go to the output settings here and if we just uh first we just select the shadows and now you if you render this shadow pass only for your scene so it will take little less time to render and then you can also uh render its ambient occlusion pass only so it will also take little uh time to render then the composite one and then you can also render the composite scene without its shadow without this ambient occlusion and the shadow so just render this for the simple only the scene without the shadow and then you can apply these three passes in a single shot so you can get the uh complete scene for your render and this kind of rendering helps to optimize the render time and also helps when you have a little less amount of computing in your system so this is a trick and now we can we have to make the smoke that is comes from the tire so in order to create the smoke i use trapcode particular so for this we have to create a new solid so go to the layer new solid and hit ok and in this solid we're going to apply the trapcode particular so go to the red giant trap code and select the particular okay so our particle system is applied so if we solo these you can see the particle system here but we have to change the setting so for this first we select our temporary camera okay so maybe we maybe we again change the render mode to draft to speed it up okay so first we find our car so maybe we change the timeline here so we can find the car here okay so maybe we want the smoke emit from the front wheel okay so for this we need this position to make the immediate emitter that comes from the front wheel here so at this timeline go to element 3d layer go to utilities and select that tire position here and make the hit generate and also go to the another wheel here change the camera position for this okay and again we create another knowledge and null object for this position and it generate and now we create a light for the emitter so for this we're going to use a point light and we name it as emitter that is but make sure that the e is capital letter emitter and now hit and maybe we change the intensity to 10 because we don't want any lighting from that position so just intensity to zero and we don't want cast shadow and hit okay and now we go to the emitter uh light here and press p to bring its position values and select this null object that we just create for represent the position and press p to bring the position and just copy and paste it to the emitter light here okay and now you can delete this because you don't want this so again we go do the same for the this side will here so select that and we have to duplicate the light as well so just duplicate this and press p for the being the position and also press p and just copy and paste it here okay so now we have our lights to place there so we have the light in the desired position and now we have to link this emitter lights to the car so it can move with the car so select these emitters and link with the car null object here okay so in that way those lights are stick with the front wheel so now we go to the uh a particular layer here and we change the emitter type to lights okay so the particle is not emitting from the light because our light intensity is zero so go over here there is the particle per second modifier and change it to none okay so in that way you will see the will generate the particles okay but we still do have to do some settings here so go to the velocity we change it to maybe 20 and velocity randomness look nice and very reasonable that look nice and go to the xyz emitter values and change it to maybe 20 okay so let's if we disable our temporary camera here so we can see okay so that look nice or maybe we can change the camera position so we can see the wheels properly so go to the camera control here and make a temporary keyframe again and select all the keyframes and maybe we [Music] place our camera a little higher and now if we see we can see the smoke properly okay so you can delete this keyframe okay so now we have to change some setting for the smoke to look more nice so if we just solo the smoke here and instead of using the default particles we can use a custom particles for this so i am using a an image for that is [Music] that is the image that i use that is from the one project file from video copilot so i will give this image in the description link so you will download this image so just bring that image to into a new composition here and go to the layer new and solid and make a white solid and place it underneath the smoke layer and toggle this mode switch here and set the track mat to luma matte okay so in that way we will get the transparency okay so we go to the uh go to our composition here that is the composition two and that is the large smoke uh composition we just create and just click and drag to our composition here and we disable this for now and go to the particle layer and now we go to the particles and particle type spare to sprite colorize and now go to the texture and select this large smoke layer okay and ignore this warning so that look nice for now so now we go to its size maybe we first go to the live and change it to maybe 12 seconds because our entire scene is 12 seconds long and now go to the size and go to the size randomness we increase little bit and go to the opposite you decrease the opacities and increase the opacity randomness okay so that look nice for now or we can also increase the velocity little bit maybe something like this or maybe 60 look nice okay or velocity promotion it will look also nice now maybe 20 is good for now okay so if you just turn on the motion blur for this it look nice okay so turn off the motion blur for now and unsolo these so you will get the smoke as well okay so now we have to make some track matte for the shadow so in order to do this we just bring the particle layer here so in order to create the mat for the smoke layer we have to duplicate our elementary layer just press ctrl d and place it above our smoke layer again here and now we go to its output channel here and instead of using the composite we choose the world position okay so now we have to set our wall position in a desired position so go to its x rotation mat to change it to 90 degree okay and if we just solo this and maybe we let's see what we have we can decrease the matte feather here and if we change this maybe or maybe we set the render mode to full okay so now we can see our wall position and maybe we also also change the matte feather here and we can okay so that look nice for now so now we use this as a track mat for our smoke layer so select the smoke layer here and unsolo this and now we select the track mac 2 luma matte okay so in that way you can see the smokes okay so that look nice for now so now if we if we go to the our main elementary layer and change it to full render so that look nice and if we also turn on the ambient occlusion and the shadow that look nice and if we increase the light intensity so go to the parallel light and press t and increase the intensity that look nice so now we missing our fog okay so that is so important so go to the elementary layer again and go to its render setting and go to fog and now maybe we pick this color and enable this and enable this and we make the settings little bit okay so that look nice and if we turn on the motion blur switch so maybe go to its motion blur and turn on the motion blur switch [Music] wow that looks really amazing and also for the smoke layer so that look nice so this is the trick behind this scene so and i also said that if you are low in your computer so you can render the every passes in different different differently so you will get the all different passes so this is done if your computer can handle this scene you can render all the effect inside a single uh video and if you are low in cpu so you can separately render all the you know all the passes that is the shadow pass and the ambient occlusion pass and as also if you just solo the smoke layer here that is that particular you can also separately render this to also save your some times and then you can use this for your actual video but in order to make this render transparent you can instead of render it as a video you can render it as a png sequence so you will get the transparency as well so now i can show you how to composite all the passes that is the yo pass and the shadow pass and the smoke passes so for this i am going to render the all different passes by changing the outputs here but i already rendered the different passes for the our actual scene so i will show you because i am not going to render this scene again because it will take little time to render so i will just give you the idea how you uh render the different passes and how you composite the all passes in a single shot so so this is look nice for now and you can also render it so let's see how you can composite all the different passes so once you render all your passes but before rendering make sure that you turn on the motion blur for the for the render settings and so this is the ambient occlusion pass for the uh original video that i create and this is the ambient auction occlusion pass and this is the shadow pass so just turn up this one now so this is the shadow pass and those are the smoke pass okay so let's see how you put this all together so go to the first we go first we turn on our normal render this is the final scene but without the ambient occlusion and the shadow okay so now we first we turn on the shadow okay so shadow look like this and then we can see the normal pass here so go to the shadow and change this blending mode to linear burn okay but our shadow look too intense so we have to change the opacity to maybe 33 percent because this number i found right and it is also different in your scene maybe so just tweak around and let's find what suits well so for now we can set it to 33 and one great thing is that when you use retro shadow the shadow is so hard in edges so in that way you can also also apply any kind of blur here that is i'm using the fast box blur and if you increase the blur radius you can you can blur your shadow a little bit so that look nice okay so that is how you can uh include the shadow and now go to the ambient occlusion layer also and if we enable this this look like this and we can change it to multiply and you can also decrease the opacity according to your need so maybe it look nice for now so that looked nice but the great thing is it is so handy to render the ambient occlusion and shadow when it is set to retrace okay so and now you can also turn on the smokes as well and the smoke you don't need to change anything because this is the png file that is the png sequence you can use it without any transparency mode change okay so that is how you can do this kind of car animation inside element 3d and also i am showing you how to optimize your render and how to create those kind of smokes here and in final result i am using some lens texture here that i am using from video copalot and also i am using optical flare for the sun here so you can also do this for your sun just put optical flare uh optical flare in your scene and follow the light or the flare so you can do this so this is for today and i think you will get the idea how you can do this kind of scene here and if you don't have the environment pack so i will recommend you to go and download this environment pack and also you can download the tree model pack for element 3d that is absolutely free and you can also check for those car model from youtube that is the dream world this guy made this kind of models for element 3d and you can also download this street model from ash art and and you can also use those railings to make this kind of scene so i hope you like this video and if you like this video please do subscribe this channel and if you like this kind of video you can check my other videos too so that is for today and i hope you like this so we'll see in the next video so till then take care and bye bye you
Info
Channel: Magnet VFX
Views: 26,512
Rating: undefined out of 5
Keywords: Amit Das, Magnet a self production house, after effect, element 3d, CGI short film, element 3D tutorial, how to download free 3D models, free 3D models for element 3D, Free 3D models, after effect free model, free 3d models, 3d map design, Advanced 360 degree environment compositing inside Element 3D, VR video, VRspace, how to download free HDRI map, free HDRI map for element 3D, free HDRI map, HDRI map, environment map, car animation, Car animation tutorial
Id: no3c7xnfhr0
Channel Id: undefined
Length: 58min 39sec (3519 seconds)
Published: Thu Feb 04 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.