|
![](/i/fill.gif) |
It looks really interesting to me, though rather complex.
The macro I wrote is intended to serve my poor needs: I got bored placing
every single object on a table (like in my last IRTC entry). So I just wrote
a little (and extremely simple) script that places any objects (the number
is unlimited) in a rectangle. The placing is absolutely random. So, if there
are too many objects and too little space the computer spends a lot of time
to find free spots. Because it just verifies, each time, if a random
position doesn't touch any object already placed (and the obstacles as
well).
If anyone is interested in it, I can post it.
Regards,
Jonathan.
"Christoph Hormann" <chr### [at] gmx de> ha scritto nel messaggio
news:3B449359.CA732FEB@gmx.de...
>
>
> JRG wrote:
> >
> > Some weeks ago I heard about some Clutter() macro. Since I found nothing
> > that kind (to be honest I didn't even look for it...;)) today I wrote
(after
> > lunch) a little macro which randomly places a series of objects. It
allows
> > you to define obstacles as well (as you can see from this simple
picture).
> > There are 275 spheres and 275 boxes randomly placed in a 10x10 square.
The
> > torus is a *no fly zone*.
> > Comments are welcome.
> >
>
> Looks quite useful, something in the same direction but probably more
> universal (although it seems quite complicated in syntax from what i have
> seen):
>
> http://www.ksp.sk/~dushan/dipl.php
>
> I don't recall this being metioned in p.u.p. or somewhere else in these
> newsgroups before so some might find it interesting to try.
>
> All such things could extremely profit from a refer{} patch like ABX seems
> to be working on.
>
> Christoph
>
> --
> Christoph Hormann <chr### [at] gmx de>
> IsoWood include, radiosity tutorial, TransSkin and other
> things on: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
![](/i/fill.gif) |