Sunday 28 December 2014

Create Sparks in 3ds Max using Particle Flow

In this tutorial you'll learn how to create a shower of sparks using 3ds Max and Particle Flow.
First, create a Particle Flowsystem. Go to Create > Particle Systems > PF Source and draw out a PF Source icon in the Perspective viewport, and position it a bit above the ground grid.


Now press 6 (or click on Particle View) to open the Particle View window.


With the Birth Operator selected, enter a value of 0 for Emit Start, and 100 for Emit Stop and set the Amount to 2000. This means the particles will start from frame 0and stop at frame 100 and the total amount of the particles/ frame will be 2000. You can edit the values as per your needs.


Now with the Speedoperator selected, set the values for Speedto 1500, Variation to 20 and Divergence to 50.



With the Display operator selected, turn the Type to Geometry. Now the particles will look like cubes based on the Shapeoperator settings.


The cubic shape of the particles looks quite big. So with the Shape operator selected, decrease the Size value to something quite low.


Now go to Space Warps > Forces > Gravity and drag a Gravityicon out in the Perspective viewport.


Back in the Particle View window, add a Forceoperator into the event by dragging it out of the Depot and dropping it between the Rotation and Shape operators. With the Forceoperator selected, click on Add and select the Gravity icon from the viewport. This will add the Gravity into the Force Space Warps list.


The spark particles should collide with the ground and bounce a bit before dying, so we need to add a deflector into the scene. So go to Space Warps > Deflectors > Deflectorand drag out a Deflector icon in the Perspective viewport.


Add a Collisionoperator into the event. With the Collisionoperator selected, click on Add and then select the Deflector icon in the viewport. This adds the Deflectorinto the Deflectors list.


You can see now that the particles collide with the deflector and bounce continuously. We don't want the particles to bounce continuously after the collision. Practically, they should bounce only twice and then adhere to the ground. So turn on Collide Multiple Times with a value of 2. We want the particles to stop after two collisions, so select Stop for the Speed.


The particles are still bouncing a lot. So with the Deflector icon selected, decrease the Bounce value to something like 0.05 and change the rest of the parameters to match what is shown in the following image. These values may vary in your case.


We can also place an object beneath the shower of sparks and the particles will collide with that object. For example, here I have added a Sphere beneath the particles.


To make the particles collide with the sphere, we need to define the sphere as a collision object. So, go to Space Warps > Deflectors > UDeflector and drag out a UDeflector icon in the Perspectiveviewport.


With the UDefeletoricon selected, click on the Modify tab, and then click on Pick Object and then pick the Sphere in the viewport. Now the sphere has become the collision/ deflector object. 


Press 6 to open the Particle View once again. Here make a new event with the Delete and Display operators only. Connect the string of the Collision operator from Event 001 to the Event 002.


With the Delete operator selected, turn on the By Particle Age option and leave it with the default values. This means all the particles which have lived for 60 frames will be deleted .


With the Displayoperator selected, turn the Type into Geometry.


Press M to open the Material Editor. Select an empty slot and click on the Diffuse channel. This opens the Material/ Map Browser window. Here select the Particle Age material and click on OK.


In the Color#1 slot, enter the following values R: 255 ,G: 215and B: 135 respectively.


In the Color#2 slot, enter values of R: 255G: 125 and B50 respectively.


In the Color#3 slot, enter these values R: 255G: 100 and B35.


Copy the same Particle Age material from the Diffuse channel to the Self Illumination channel as an Instance.


Here I just put a concrete texture on the sphere to make it look better, and also added an Omni light to the scene.


Press 6 to open the Particle View window, and Insert a Material Static operator into Event 001.


Drag and copy the Particle Age material to the Assign Materialtab of the Material Static operator.


Copy the same Material Static operator into Event 002also.


With the particle material slot selected, assign a Material ID of 1.This unique material ID will help the particles achieve their glowing effect.


Now, Right Click on the Event 002 bar and select Properties. This opens the Object Properties window. Here enable Motion Blur with Object mode.


Go to Rendering > Effects to open the Effectswindow. Here add Lens Effects.


Apply a Glow effect as well and set the values for Size to 0.01, Intensity to 145and Source Color to 90. And then change the Radial Color to be a bit orange.


Now click on the Options tab. Here set the Material ID to 1. This is the same material ID which has been assigned to the particle material.


Advertisement
Render the scene and you will see something like this.


You can also animate the particle flow emitter randomly a bit, so you get different results. Play with the particle, force and deflectors values and you will really get awesome results. Hope you guys have enjoyed this tutorial!

No comments:

Post a Comment