Wind's Dream (2002)

Author's sample script, wroks, hints.
Post Reply
User avatar
3DfromNULL
Site Admin
Posts: 45
Joined: 2018-Jul-13 9:35

Wind's Dream (2002)

Post by 3DfromNULL »

Image

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.

Image

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

Image

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.

Image Image
Image Image Image Image Image
Attachments
awind1_12.py
script file for curtain
(5.68 KiB) Downloaded 2485 times
book1_22.py
script file for book
(18.25 KiB) Downloaded 2458 times
book1_sample_img1a.zip
Sample book page images. Unzip and put "imgs" folder in the same directory with the script file.
(2.62 MiB) Downloaded 2498 times
Post Reply