|
|
Try this as a starting point
// spherical pattern
// Bald Eagle 2016
#version 3.7;
global_settings {assumed_gamma 1.0}
#include "colors.inc"
#include "textures.inc"
#include "rand.inc"
camera {
location <0, 0.5, -2>
look_at <0, 0.5, 0>
}
light_source {<20, 50, -100> White shadowless}
#declare R = 0.5;
#declare Tiny = 0.000001;
#declare Stream = seed (123);
#for (Point, 1, 5000)
#declare Variable = (VRand_On_Sphere(Stream)*0.5 + <0, 0.5, 0>);
#debug concat( "Variable = ", vstr(3, Variable, ", ", 3, 3), " \n")
#declare Color = <abs(pow (Variable.y, 1))+Tiny, 0, 0>;
#debug concat( "Color = ", vstr(3, Color, ", ", 3, 3), " \n")
sphere {Variable, 0.01 pigment {rgb Color}}
#end
Post a reply to this message
|
|