## Wind's Dream (2002)

Author's sample script, wroks, hints.
3DfromNULL
Posts: 43
Joined: 2018-Jul-13 9:35

### Wind's Dream (2002)

One of the scripts demonstrates some lattice and deformation functions. The curtain flutters in the breeze (but It is not a decent cloth simulation nor physical simulation). Another script makes a flip book where each page has different picture and they appear to animate.

Added the furniture, floor, walls, window, lights, distant view, and textures by hand.

The sheep animation was handmade, rendered as numbered static images using trueSpace, and used in this script.

Attached .zip file includes rougher images than the ones used in the movie for your test. To use your image files, open the script file for the flip book, find the following line:

Code: Select all

wks1 = imgdir + "sheep_a" + "%04d" % ( imgnum ) + ".jpg"
For exanple, when imgnum is 0, wks1 is assigned as:
"directoryofthescript\imgs\sheep_a0000.jpg"
The directoryofthescript is the directory where the script file you running is. You may also change the name "imgs" if necessary. It is specified in the script file.

edited on Mar 11 2019:
Updated the attached two script file, awind1_09->10 and book1_18->19 so that it can be run with ptsxpy 0.0.6.
edited on Mar 12 2019:
Updated the attached two script file, awind1_10->11 and book1_19->20 so that it can be run with ptsxpy 0.0.7.
edited on Mar 18 2019:
Updated the attached two script file, awind1_11->12 and book1_20->22 so that it can be run with ptsxpy 0.0.7. Corrected the sign of the z-axis of page pull-direction for tS4.3.

Attachments
awind1_12.py
script file for curtain