
















|
Name: Waterfall and Rapids
Objectives:
Learn to use loaded objects as collision detection objects
Learn to use collision shading and the Particle Shader controller
Approximate Time: 20 Minutes
Instructions:
For this tutorial, we will be loading a premade LightWave object called riverbed.lwo. So, first load this object into the LightWave layout. Position the camera slightly above and to one side, filling the screen with the object. The camera should be at a close 45 degree angle. Create a keyframe for the object and the camera. Save this scene as rapids.lws. Go to the Options panel and start Particle Storm.
Particle Storm Settings
Once inside Particle Storm, parent the Camera to the LightWave camera. Position the camera at X=0, Y=0, Z=0.
Select Particle Group from the Item Type list. Change the name to Water and Total Particles to 3000. Leave Recycle Particles on.
Select Collision Detection from the Item Type list. Click on Create and change the name to ground. Highlight water in the Affected Particles list. Select Object File in the Collision Shape Area and load the riverbed.lwo as the collision detection object. Click on the View Prefs button and set the Wireframe value to 60%. Change the Elasticity value to 5%, and the Roughness value to 10%.
Select Death Wish from the item Type list. Leave Age selected as the Method of Death. Change the Death Value to 3seconds and the PreDeath value to 1 second.
Select Fountain Emitter from the Item Type list. Set the Minimum Velocity to 2 m/s and the Maximum Velocity to 3 m/s. Change the Source Shape to Box, and position it at the top of the riverbed. Use Size and Stretch to fit it to the mouth of the riverbed. Rotate the fountain emitter to face the riverbed, using the direction arrow to assist you. Set Birth Rate to 800.
Note: Remember, multiple camera views can be used to facilitate the positioning of the fountain emitter.
Select Gravity from the Item Type list. Click on Create and highlight water in the Affected Particles list. The default settings will work fine for this tutorial.
Select Particle Shader from the Item Type list. Change the Collision Age Shading Duration value to .6 seconds. Change the Collision Age Shading Color to a bluish white by clicking on the Color button and selecting the desired color. Change the PreDeath fade to .2 seconds. Under the Living Particle Shader area, click on the Edit Color Path button. Set the color at the 0 key to dark blue. Create a new key at 5 and set it to light blue. Click Ok to return to the Particle Shader edit page.
Press the Play button on the transport controls. You can adjust settings in real time as needed.
Try experimenting with different Birth Rates, and multiple Particle Groups with different shader colors to create more realistic effects.
When the basic parameters are set to your liking, click on the Project button in the Preview area. Set your output paths, and save this project as rapids.prj. Click on Ok and record your simulation.
Note: You can also change the oversampling factor, in the Project window, to have more realistic collision detection as well as limiting your View Prefs for your collision object to keep it as real time as possible.
Back to Layout
Click on Close to go back to layout. Go to the Objects panel and load the water.lwo. Make the Polygon Size 300% and the Particle Size large.
Go to the Camera panel and set particle blur to 200%.
Finally, to finish the scene, go to the Surface panel and load a rock texture for your ground.
|