O'Reilly logo

Blender 2.49 Scripting by Michel J. Anders

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Raindrops—animated Pynodes

Many patterns are not static but change in time. One example is the ripples formed by raindrops falling in a pond. Blender exposes render-time parameters such as start frame, frame rate, and current frame so we have plenty of hooks to make our Pynodes time dependent. We will see how to use those hooks in a script that generates a raindrop pattern. A pattern that changes realistically resembling the outward expanding ripples caused by drops falling in a pond. On the way we also pick up some useful tricks to speed up calculations by storing the results of expensive calculations in the Pynode itself for later reuse.

Render-time parameters

The most relevant render parameters when dealing with time-dependent things are the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required