BookScatter

Version: 
0.5
Date Updated: 
06/10/2012

Bookscatter v0.5

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.

version 0.5 additions

 

Additional Info: 

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.

 

Version Requirement: 
Tested on 3dsMax 2012 but i guess it should work in all the latest 3dsMax versions

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Attray84's picture

!

thank u

halah's picture

Script

hello

when i press RUN, i get this message unknown property : "max" in undefined
i m working on 3ds max 2013

rgayan21's picture

Great script

Great work

is the script working for max 2012??

thanks

moure's picture

.

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!

NiK684's picture

fixing skew

Try to use this formulas to calculate necessary angle

Your triangle is here 

moure's picture

.

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 :)

Nul's picture

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.

NiK684's picture

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

moure's picture

Hey ;)

Great models and cover textures collection there NiK864, thanx for them ;)

NiK684's picture

thanks for script

I'm proud to see that my old books are used for this script :)

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.