|
![](/i/fill.gif) |
"Amazon_Warrior" <heu### [at] yahoo com> wrote in message
news:43c6e92c@news.povray.org...
> H'mm. Some interesting ideas here. I'll try them and see how I get on!
> At
> least the more I experiment, the better I understand how the code actually
> works, so it's all to the good, I guess. Just very frustrating when I
> want
> it to work now! :p
>
> Thanks loads for all the suggestions from everybody, anyway. Much
> obliged!
No probs, but just to clarify, it was my bad that I forgot to take the
camera out of a 'non-hollow sphere' when it parsed over-night for ten hours,
(I pasted a camera scene from another file, and didn't check).
Frango's code is correct, and with a texture/pigment statement, it
gives a 'pill'-like appearance:
blob {
threshold 0.5
#declare Length = 0;
#while ( Length >= -30 )
#declare Scale = 2;
#while ( Scale >= 0.25 )
sphere { <0,0,0>, 20, 1 scale <1,1,0.9>
texture{ pigment{ colour White}}
translate <Length,0,0>
scale Scale
}
#declare Scale = Scale - 0.1;
#end
#declare Length = Length - 0.25;
#end
}
//~Steve~
Post a reply to this message
|
![](/i/fill.gif) |