Membuat Hujan
Membuat Hujan
Search
Go to content | Go to menu
feeblemind
Higher with Open Source Blender 3D suite Text size: small :: medium (default) :: big
Fichier(s) attach(s) :
q
Makerain.blend.zip
We will make use of particles, in order to carry out this simulation. At first, we will need a particles emitter object, placed at the top of the scene, hovering like a cloud. For example, a plane slightly banked (or not) will be fine, as it is not necessary to see it subdivided.
The other objects in our example scene: a ground (just a plan) and the main focus of the scene (a simple cube), would be obstacles for the particles (at least), and reactors for the particles (ideally), because they would
interact with the rain drops. You can also make sure that you will have at hand a very last object as the rain drop of your simulation.
Normals of the objects: the normals of the cloud should be orientated toward the ground, those of the ground orientated toward the cloud, and those of the cube should radiate outside of it. This will ease the management of the direction the particles will be emitted. Location of the objects on the layers: to insure correct interaction, make sure that the emitters and reactors (or any object which would collide with the particles) belong to the same layers. Name of the objects: they will be of importance, later, so please name your object a decent way.
Buttons, click on the Add New button from the Particle System panel. A new particle system named
then attached to the emitter. Make sure this a Emitter system type. The other parameters of the panel could be set like this:
Amount:
Emit from, Random (to make sure that the water falls are not too regular nor artificial) Emit from, Faces Emit from, Even (for a proportional distribution of the drops, if the emitter is built from many faces with uneven dimensions) Emit from, Jittered (for a random distribution of the drops emitted by a single face)
In the Physics panel, we should mainly set the influence of the emitter's normal (especially if it is banking, in order to simulate rain drops submitted to wind), and to set the direction of the gravity.
10.000 (or any high value that leads to good visual effects)
Object, and in the OB: field, type the name of the water drop
object. In the Extras panel, activate the Effectors, Die on hit button.
F7 menu, in the Physics Buttons and the Collision tab, activate the Collision and Kill buttons.
As an option, specify some value for the Damping and Friction parameters, but this is not really necessary there.
In the Particle Buttons, add a new system using the Add New button from the Particle System tab. Select Reactor as the system type, and set the other parameters as follow:
Amount: 5000 (in order to generate enough particles to react to the rain drops) Life:
5.0 (the droplets will have a very short span life...) 0.5 (... that could vary a lot from time to time)
Rand:
Emit from, Particle (so that the system will react to particles...) Target, Target, them)
OB: Cloud (...emitted by the target emitter Cloud) Psys 1 (and we specify the number id of the particle system in case the emitter has many of
In the Physics panel, specify a Global effects, AccZ positive value, for example
to see the reactor object showing on the render, do not forget to activate the Render, Emitter button in the Visualization panel.
http://feeblemind.tuxfamily.org/dotclear/index.php/2004/12/24/4-blender-faire-pleuvoir---making-rain (6 of 16)1/15/2009 11:13:48 PM
As a final step, in the Children tab, we will enable the spawning, at each collision, of a cluster of particles instead of just one. Please set the panels parameters like this:
3 (in order to spawn 3 child droplets by parent droplet emitted during the collision)
Ctrl+A or use the Bake button from the Bake tab in the Particle Buttons.
Obviously, before rendering your animation, remember to set materials for your rain drops, especially the droplets emitted by the reactors. Those ones should stay discreet in order to remain realist.
Article written on December the 24th, 2004. Updated on November the 16th, 2008 for Blender 2.48a. Comments re-initialized
Trackbacks
No trackback. Make a trackback for this post : http://feeblemind.tuxfamily.org/dotclear/tb.php?id=4
Comments
1. On dimanche 28 dcembre 2008 20:04, by Denny
hey i tried this but i dont see any drops, also, when i click BAKE, it says 'no image found to bake to'. please
http://feeblemind.tuxfamily.org/dotclear/index.php/2004/12/24/4-blender-faire-pleuvoir---making-rain (9 of 16)1/15/2009 11:13:48 PM
help?
You don't use the good Bake button: you actually are refering to the one in the Scene F10 buttons... Please try the one hidden in the Bake tab of the Particle Buttons...
What the heck, the rain is going upwards :S, do you know what could be wrong??
I was tryin to make it till I got to the part where you're in the 'particle system' tab making the reactor. I typed in the target as 'Cloud' and I checked the name of the object too, but it wouldn't accept the value (just erased it)
Hi, all. Nice site...I really like your site ! Good job man.2
The site\'\'s very professional! Keep up the good work! Oh yes, one extra comment - maybe you could add more pictures too! So, good luck to your team!
Add a comment
Name or Nickname :
Email (optional) :
Homepage (optional) :
http://
Comment :
Any HTML code within the comment will be displayed as plain text, any URL will be automatically converted. Remember me
preview
send
Languages
q
en fr
Setting a prey-predator relationship using Boids particles How to solve Blender's smoothing problems Vector Blur usage with Blender Tutorial: Simple animations Tutorial: using texture stencils Tutorial: Ambient Occlusion Soft shadows and Area lights Tutorial: transparency Tutorial: reflections Tutorial: Making a rain effect Tutorial: Material indice
Categories
q
Blender news Blender tutorials Compiling Softwares Python scripting tutorials Blender gallery Sunflow gallery About feeblemind About the author Nouvelles lies Blender Didacticiels Blender Compilation de programmes Galerie Blender Galerie Sunflow
Book in french
By the author of this website, at the ditions Eyrolles :
Downloads
Accueil
q
Tutorial: Simple animations (242 comments) Tutorial: using texture stencils (29 comments) Vector Blur usage with Blender (18 comments) How to solve Blender's smoothing problems (17 comments) Around 600 mocap data sets freely available on mocapdata.com (16 comments)
Links
Logiciels - Softwares
q
Communauts - Communities
q
Forums
q
Blogs
q
BlenderNation Blender Factory Footprints in a Digital World Geneome - Just a guy, into 3D Free.Factory
Ressources - Resources
q
ZazouBlenderSearch
Blender Tutorial Links List Blenderart Magazine Little French's Blender Tutorials Blender Plugin Repository Blender for Architecture Blendernewbies Blender Guide
3D Models
q
Blender For Architecture - Models Blender Model Repository Toucan Virtual Museum Scopia's Resources Kator Legaz Creative-3D
BlenderHeads - Blenderiens
q
BlenderHeads around the Globe Atlas Blenderien Francophone Blender Users Group - Toulouse (31, France)
Textures
q
Subscribe
q q
q q
Legal notices
q
Unless otherwise stated, the content of this website is available under a Creative Commons license Flags icons come from the excellent Famfamfam Flags collection
Website specifics
Contact
Powered by DotClear :: Hosted by Tuxfamily :: Based on the original design nGrey par Nico