|
![](/i/fill.gif) |
"Sven Littkowski" <wrt### [at] yahoo com> wrote in message
news:web.4218c3367850becd96ad883b0@news.povray.org...
> Hi Sam and everyone else,
>
> the objects are placed 3-dimensionally. Actually, these are space stations
> and therefore need that security distance between each of them.
>
> My experience and knowledge is low with POV-Ray. Truly, having a real
source
> code will help me much better than links to help pages where I still have
> to try adapting and converting the difficult things there for my purposes.
> Despite of that, I still express my thanks for the previous attempts to
> help me. Please, go on helping me.
>
> Thanks,
>
> Sven
>
Hi Sven,
I've put some real source code on 'povray.binaries.scene-files' titled
'Randomly Placed Objects'.
It uses an array to store previously used positions (as suggested by Sam).
I think this'll do more or less what you want.
I've randomly oriented objects through a full 360 degrees.
To just give them a bit of a random wobble you can replace the rotate with:
rotate (<rand(MyRand),rand(MyRand),rand(MyRand)>-0.5)*20
Have fun.
Chris B.
Post a reply to this message
|
![](/i/fill.gif) |