|
|
I can't but wonder how writing this:
> int main() {
> p_camera();begin();
> p_look_at(); p_vector(2,3,2);
> p_angle(); p_float(135);
> end();
> box(); begin();
> p_float(-1); p_float(9);
> p_pigment(); begin();
> p_rgb(.8);
> end();
> p_finish();begin();
> p_reflection(); p_float(.3);
> end();
> end();
> }
would be better than writing this:
> camera { look_at <2,3,2> angle 135 } box { -1 9 pigment { rgb 0.8 }
> finish { reflection 0.3 } }
--
#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
|
|