|
![](/i/fill.gif) |
David Robinson <tdf### [at] ezrs com> wrote:
> No wait, I got that wrong. After running a few values through, a lot of
> colours seem to come out as white, so it must be a maths thing...?
That's because there really was a bug in my code. I forgot a /255.
The last line should be:
<int(value/65536), mod(int(value/256), 256), mod(value,256)>/255
--
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// - Warp -
Post a reply to this message
|
![](/i/fill.gif) |