POV-Ray : Newsgroups : povray.unofficial.patches : crackle: suggested extensions : Re: crackle: suggested extensions Server Time
1 Sep 2024 12:13:59 EDT (-0400)
  Re: crackle: suggested extensions  
From: Anton Sherwood
Date: 15 May 2001 23:03:27
Message: <3B01EE39.313F5BB8@pobox.com>
Ron Parker wrote:
> Do you happen to have a formula that will translate a random vector
> in the unit cube between <0,0,0> and <1,1,1> into a set of basis
> vectors and give uniform coverage of the space of all possible
> basis vectors?  I seem to have left mine in my other coat.

<g>

I'll think about it some more, and come up with a dumb idea.
Then I'll ask sci.math.

It doesn't have to be purely uniform, though;
rotate <90*rand(),90*rand(),90*rand()> might be good enough.

-- 
Anton Sherwood  --  br0### [at] p0b0xcom  --  http://ogre.nu/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.