Matthew Green wrote:
>
> I want to create a ring of random width made of randomly spaced particles.
> What I get is random particles within a square boundary. I've stared at
> this for 45 minutes now. Where am I screwing up?
I see you already found the answer to your problem. However I think you could
cut out much of the trig stuff by using POV's built-in vector functions;
v_rotate() in particular seems to do exactly what you need, or perhaps
vaxis_rotate()
--
Margus Ramst
Personal e-mail: mar### [at] peak edu ee
TAG (Team Assistance Group) e-mail: mar### [at] tag povray org
Home page http://www.hot.ee/margusrt
Post a reply to this message
|