The Persistence of Ignorance

Menu Home
test_books

Book placer macro

POV-Ray 3.5, 2002
bookplacer.zip (3 K)

This a second version of my book-placer macro, useful to fill shelves with rows of books.

It was originaly designed for Megapov (for my IRTC entry "alchlab"), but it works withouth modification with 3.5. In this version I fine tuned the behavior for better placement. The trick consists on using the "trace()" function to let the books fall until they reach the prior book. This is combined with some random probabilities for different factors.

This site uses CMS Made Simple
© 1996-2016 Jaime Vives Piqueres
(jaime-at-ignorancia-dot-org)

Creative Commons License