|
![](/i/fill.gif) |
Among other things, Warp saw fit to write:
> 3) Use an alternative function for long seeds. For example:
>
> #declare S = longseed(2, 1, 2, 3, 4);
>
> [...]
>
> 4) Create an entirely new syntax for specifying a group of values. This,
> however, would be laborious and should preferably be avoided.
Somewhere between 3 and 4:
3.5) Create a sort of "concatenate numbers" function, that would allow
really large numbers, maybe with and arbitrary number of parameters. If the
function is named "numconcat":
seed(1234) // current
seed(1234,1) // same as above
seed(1234,2) // new RNG with small seed
seed(numconcat(1234,5678,90),2) // new RNG with large seed
The function numconcat need not be a "real" concatenation, i.e., there's no
reason why numconcat(1234,5678,90)=1234567890, it should just create a
large number out of smaller ones.
Hmm... maybe that's what option 4 meant from the beginning, though.
--
light_source{9+9*x,1}camera{orthographic look_at(1-y)/4angle 30location
9/4-z*4}light_source{-9*z,1}union{box{.9-z.1+x clipped_by{plane{2+y-4*x
0}}}box{z-y-.1.1+z}box{-.1.1+x}box{.1z-.1}pigment{rgb<.8.2,1>}}//Jellby
Post a reply to this message
|
![](/i/fill.gif) |