BookScatter
Here is a script i started writing for a project i am working on.
Its in the early stages of development, but since it works ok in the tests i did i decided to share it with you so i can get some feedback. Right now the script is encrypted but i will release it under GNU GPL license when i finish it.
Also keep in mind that the script does not contain or create any book 3d models or shelves/bookcases. It assumes you already have the book 3d models and you want to save time scattering them in shelves, bookcases etc..
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. So please save your work before trying it and report any issues so i can look into them when i have the time!
Version 0.5 out some of the changes in the image bellow.
For the download link and installation guide visit my website from the link bellow.
Edit3: New version available 0.5 with many fixes and additions.
Edit2: Chenged the integer input to float.
Edit: Added a small image tutorial, you will find it in the download page.
Comments
!
thank u
Script
hello
when i press RUN, i get this message unknown property : "max" in undefined
i m working on 3ds max 2013
Great script
Great work
is the script working for max 2012??
thanks
.
Thanks Nik, though im already aware of it ;)
The current versions uses trigonometric functions in many places already :)
i will fix the last book skew soon, thanx again for your feedback!
http://mourelask.weebly.com/index.html
fixing skew
Try to use this formulas to calculate necessary angle
Your triangle is here
.
Thanx for the feedback guys,
I think the deformation happens only when the last book is rotated.
That happens because when the last book doesnt fit i scale it on the x-axis to fit correctly in the shelf. I will try to find a way around it ;)
About the back/front depth parameter, thats a really nice idea, noted for the next version :)
http://mourelask.weebly.com/index.html
Wonderful
Thanks for the update, it's getting nicer and nicer...
Currently the depth parameter is aligned to the back of the shelves, it would be great if one could choose between back and front (i.e. "fore edge" and "spine" of the books) and only then add the depth randomization in accordance to the selected border of reference.
Plus, I can confirm NiK684 comment below: rotated books suffer from a slight deformation.
rotated book skew
Rotated book seemes to be a little skewed. I suppose it's because scale deformation applied after rotation, but it must be before it
Hey ;)
Great models and cover textures collection there NiK864, thanx for them ;)
http://mourelask.weebly.com/index.html
thanks for script
I'm proud to see that my old books are used for this script :)