On 2/18/2018 10:38 PM, Sven Littkowski wrote:
> #declare MyX = MyX+rand(MyRandomer)*04*Negative;
> #declare MyY = MyY+rand(MyRandomer)*01*Negative;
> #declare MyZ = MyZ+rand(MyRandomer)*00*Negative;
Instead of the above, I think you should use a radius and rotation by an
angle.
#declare MyAngle = rand(MyRandomer)*2*pi;
#declare MyX = MyX+MyRadius*cos(MyAngle);
#declare MyY = MyY+MyRadius*sin(MyAngle);
#declare MyZ = MyZ;
Or something similar.
Mike
Post a reply to this message
|