ScriptSpot

Script

BookScatter

By moure · 2012-05-28

Version
0.5
Version requirement
Tested on 3dsMax 2012 but i guess it should work in all the latest 3dsMax versions
Date updated
2012-06-10
Votes
9
Download
Download
Description

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.

 

Tags: scatter, Book, shelve, bookscatter

Comments (25)

!

Attray84 · 2014-10-01

thank u

Script

halah · 2013-06-28

hello

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

Great script

rgayan21 · 2013-02-08

Great work

is the script working for max 2012??

thanks

fixing skew

NiK684 · 2012-06-12

Try to use this formulas to calculate necessary angle

Your triangle is here 

.

moure · 2012-06-12

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!

Wonderful

Nul · 2012-06-11

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.

.

moure · 2012-06-11

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

rotated book skew

NiK684 · 2012-06-11

скриншот

Rotated book seemes to be a little skewed. I suppose it's because scale deformation applied after rotation, but it must be before it

thanks for script

NiK684 · 2012-06-11

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

 

Hey ;)

moure · 2012-06-11

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

Update 0.5

moure · 2012-06-10

New update available, waiting for your ideas and feedback ;)

Nice...

Nul · 2012-06-05

Great script, thanks!

An option to add some random depth variation would be lovely.

Keep it up!

moure · 2012-06-07

Noted, ill add it in the next version ;)

thanks...

mikey008 · 2012-06-02

this look´s damn promising! can´t wait for it, as i´m working on a library project...:)

New version coming soon

moure · 2012-06-01

Since many people found the script usefull i havent stoped working on it. New version with more features will be available soon. Work in progress image...

Bookscatter v0.4 preview

Thank you, I really need this

niksoftarg · 2012-05-30

Thank you for sharing these!!!!

units

dash2502 · 2012-05-29

Good one, but :
Seems that your script only works in cm...
It would be more user friendly to have scene unit synchro or allow to type decimal values (impossible to enter 0.1 m)

.

moure · 2012-05-29

Oops sorry for that, fixed it, just redownload ;)
Now you can enter float numbers.

moure · 2012-05-29

.
Yeah i saw that, it has some very cool features.
In my next version ill try to implement the books sliding on the end and start of each row and also the stacked books in horizontal position one on top of the other.

kimarotta · 2012-05-29

we will be waiting... lol

i feel that i can scatter buildings with this,

crystal3d · 2012-05-29

or would your consider modifying it further

.

moure · 2012-05-29

Nah, i wouldnt use it for this, as its main atribute is that it puts the next object right next to the current one.

So you d probably end up with a row of buildings that are right next to each other.  If you use it though for something else than books and you get good results, id like to see it ;)

 

kimarotta · 2012-05-29

Good work man

Thanks

.

moure · 2012-05-29

Thanx kimarotta, hope its useful ;)