|
![](/i/fill.gif) |
Stephen nous apporta ses lumieres en ce 27/11/2006 10:56:
> "Bruno Cabasson" <bru### [at] alcatelaleniaspace fr> wrote:
>> Hello POVers!
>> I tried some ideas for the SCC4. Here is a attempt (not my entry, so I can
>> share it now) with the following (verbose) code:
>> plane
>> {
>> z,9
>> pigment
>> {
>> checker x+y z
>> }
>> finish{ambient 1.5}
>> }
>> cylinder
>> {
>> z,8*z, .5
>> pigment {rgbt 1}
>> normal{spiral2 5}
>> interior {ior 1.3 dispersion 2 dispersion_samples 99}
>> }
>> torus{.7,.2 pigment{rgb 0} scale y/9 rotate 90*x translate z}
> I like this it is pretty and colourful
> By removing the line feeds and extra spaces I got the size down to 244
> charters, and by changing the torus to a disc, down to 200 charters. If you
> I see the attraction of the contest :-)
> disc {
> 0,z,2,0.4
> pigment{rgb 0}
> translate z
> }
> Stephen
You can reduce it still further like this:
disc{0,z,2,.4 translate z}// you save another 14 characters
No need for the pigment as the default IS rgb 0!
--
Alain
-------------------------------------------------
Always try to be modest, and be proud of it!
Post a reply to this message
|
![](/i/fill.gif) |