![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Thanks, Warp and Kruger
I've moved the camera and look_at to center the view, and the lights to make
them shorter (but the effect is not spoiled, at least in my display), and
changed the order. Now it's centered, shorter, has linebreaks where spaces
are needed and fits very nicely in 74 colums ;)
--
light_source{y,1}light_source{9+7*x,1}camera{orthographic location 9/4-4*z
angle 30 look_at (1-y)/4}union{box{z-y-.1,z+.1}box{-.1,z+.1}box{x-.1,1.1-z
clipped_by{plane{4+y-8*x,0}}}box{-.1,x+.1}pigment{rgb<.8,.2,1>}}/*Jellby*/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> I've moved the camera and look_at to center the view, and the lights to make
> them shorter (but the effect is not spoiled, at least in my display), and
> changed the order. Now it's centered, shorter, has linebreaks where spaces
> are needed and fits very nicely in 74 colums ;)
71, this time lossless in the picture, though not in the scene:
union{box{-.1.1+x}box{z-y-.1.1+z}box{x-.1.1-z+1clipped_by{plane{4+y-8*x
0}}}box{.1z-.1}pigment{rgb<.8.2,1>}}light_source{9+7*x,1}light_source{y
1}camera{orthographic location 9/4-z*4angle 30look_at(1-y)/4}/*Jellby*/
--
merge{#local i=-11;#while(i<11)#local
i=i+.1;sphere{<i*(i*i*(.05-i*i*(4e-7*i*i+3e-4))-3)10*sin(i)30>.5}#end
pigment{rgbt 1}interior{media{emission x}}hollow}// Mark Weyer
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Entre otras cosas, Mark Weyer tuvo a bien escribir:
>> I've moved the camera and look_at to center the view, and the lights to
>> make them shorter (but the effect is not spoiled, at least in my
>> display), and changed the order. Now it's centered, shorter, has
>> linebreaks where spaces are needed and fits very nicely in 74 colums ;)
>
> 71, this time lossless in the picture, though not in the scene:
Great! Thank you very much, I've been fidling with the macro version too, I
had tried that but didn't manage to get it shorter... Well, I hope you
don't mind if I take your code and alter the order in a couple of places,
hehe. :)
--
union{box{-.1.1+x}box{z-y-.1.1+z}box{x-.1.1-z+1clipped_by{plane{4+y-8*x
0}}}box{.1z-.1}pigment{rgb<.8.2,1>}}light_source{y,1}light_source{9+7*x
1}camera{orthographic location-z*4+9/4look_at(1-y)/4angle 30}/*Jellby*/
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> Well, I hope you
> don't mind if I take your code and alter the order in a couple of places,
As long as you show me the result ;-)
--
merge{#local i=-11;#while(i<11)#local
i=i+.1;sphere{<i*(i*i*(.05-i*i*(4e-7*i*i+3e-4))-3)10*sin(i)30>.5}#end
pigment{rgbt 1}interior{media{emission x}}hollow}// Mark Weyer
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
On Tue, 04 Mar 2003 15:16:55 +0100, Jellby <jel### [at] M-yahoo com> wrote:
> Great! Thank you very much, I've been fidling with the macro version too, I
> had tried that but didn't manage to get it shorter... Well, I hope you
> don't mind if I take your code and alter the order in a couple of places,
> hehe. :)
While my version is not short enough to be a sig, I had fun making it as:
#macro S(I,G)#macro a(_ J E L B Y)_,y-J,z-E,L-x,B-y,Y#end,max(x-a(max(I.x
,G.x)max(I.y,G.y)max(I.z,G.z)min(I.x,G.x)min(I.y,G.y)min(I.z,G.z))-z)#end
light_source{y 1}light_source{9+7*x 1}isosurface{function{min(max(y*5+z*4
-x*4S(x-.1.1-z+1))S(-.1+t.1+x)S(z-y-.1.1+z)S(z-.1.1+t))}contained_by{box{
-2 2}}pigment{rgb<.8.2>+z}}camera{orthographic location-z*4+9/4look_at(1-
y)/4angle 30}
ABX
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Entre otras cosas, Mark Weyer tuvo a bien escribir:
> > Well, I hope you
>> don't mind if I take your code and alter the order in a couple of places,
>
> As long as you show me the result ;-)
It was the sig in the previous post, anyway, here it is the new one, with 71
columns again, but with a better lighting.
--
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) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Among other things, ABX wrote:
> While my version is not short enough to be a sig, I had fun making it as:
>
> #macro S(I,G)#macro a(_ J E L B Y)_,y-J,z-E,L-x,B-y,Y#end,max(x-a(max(I.x
> ,G.x)max(I.y,G.y)max(I.z,G.z)min(I.x,G.x)min(I.y,G.y)min(I.z,G.z))-z)#end
> light_source{y 1}light_source{9+7*x 1}isosurface{function{min(max(y*5+z*4
> -x*4S(x-.1.1-z+1))S(-.1+t.1+x)S(z-y-.1.1+z)S(z-.1.1+t))}contained_by{box{
> -2 2}}pigment{rgb<.8.2>+z}}camera{orthographic location-z*4+9/4look_at(1-
> y)/4angle 30}
Woot! That's insane! :) Thanks it's a nice version.
--
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) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
This is a new - but similar - one, I'd like it to be just 3 lines, is it
possible? :)
light_source#macro Z(Y)difference{X(.2)X(x)X(y)X(z)plane{-Y*y,0}rotate
Y*(3*y+z)pigment{rgb<1,.8.2>}no_shadow}#end{99*(1-y)1}light_source{9*x
1#macro X(T)box{-T-z/4-1T+z/4+1}#end}camera{orthographic look_at 0angle
30location x*10}Z(15)Z(-15)
--
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) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
On Wed, 05 Mar 2003 22:09:09 +0100, Jellby <jel### [at] M-yahoo com> wrote:
> This is a new - but similar - one, I'd like it to be just 3 lines, is it
> possible? :)
light_source{99#macro Z(Y)difference#macro X(T)box{-T-z/4-1T+z/4+1}#end{X(.2
)X(x)X(y)X(z)plane{-Y*y.0}rotate Y*(3*y+z)pigment{rgb<on.8.2>}no_shadow}#end
*(1-y)1}light_source{x*9on}camera{angle.3location x*1e3look_at 0}Z(15)Z(-15)
ABX
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Thank you very much, I've modified it slightly to:
camera#macro Z(Y)difference#macro X(T)box{-T-z/4-1T+z/4+1}#end{X(.2)X(x)X(y)
X(z)plane{-Y*y.0}rotate(y+z/3)*Y*9pigment{rgb<on.8.2>}no_shadow}#end{look_at
0location+x*1e3angle.3}Z(-5)light_source{x*9on}Z(5)light_source{99*(1-y)1}
It's just a shuffle and a slight macro change.
--
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) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |