|
|
JRG schrieb:
> Yadgar wrote:
> >Strangely,
> > there is a concentration of objects near the origin (camera location is
> > <0, 0.1, -0.4>, looking at <0, 0, 0>), though there are no quadratic
> > terms containing the random variable...
>
> If you're placing the wheels with the *orbit technique* (i.e. translate
> x*radius*rand() rotate 360*rand()*y) you have to expect this, since every
> radius is equally probable so the smaller the radius the smaller the circle
> you put your objects on.
>
> --
> Jonathan.
No, my method is:
r=seed(3482) // seed values only examples!
a=seed(2321)
radius=rand(r)*2
ang=rand(a)*360
...
translate <radius*sin(ang*(pi/180)), 0, radius*cos(ang*(pi/180))>
...
Post a reply to this message
|
|