POV-Ray : Newsgroups : povray.binaries.images : Short Code Competition WIPs Server Time
11 Aug 2024 21:20:16 EDT (-0400)
  Short Code Competition WIPs (Message 11 to 14 of 14)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Dan P
Subject: Re: Short Code Competition WIPs
Date: 17 Feb 2004 11:28:53
Message: <40324145$1@news.povray.org>
"Dave Matthews" <dma### [at] nospamnet> wrote in message
news:403230e4$1@news.povray.org...
> Wow.
>
> I give up.
>
> I spent all weekend trying ideas, and the only halfway decent looking
> things I came up with ran about 350 - 400 bytes and don't begin to
> compare to yours.
>
> Of course, I haven't looked at isosurfaces yet.
>
> OK, maybe I won't give up quite yet.

Yeah, don't give up! I mean, I certainly don't expect my entry to win, but
it's a milestone just to be in the competition. If gettin' good happened
over night, it wouldn't be any fun :-)


Post a reply to this message

From: Tek
Subject: Re: Short Code Competition WIPs
Date: 18 Feb 2004 01:41:27
Message: <40330917$1@news.povray.org>
"Dan P" <dan### [at] yahoocom> wrote in message
news:40324145$1@news.povray.org...
> Yeah, don't give up! I mean, I certainly don't expect my entry to win, but
> it's a milestone just to be in the competition. If gettin' good happened
> over night, it wouldn't be any fun :-)

I hadn't realised I had "got good" (well, okay maybe when I came up with version
2 of the city I realised!). Last few times I've tried to write short code I've
got remarkably unimpressive things.

Just to reassure you that I'm not actually that good, here was my attempt to
carve my name out of some spheres:

#default{pigment{rgb 2}finish{specular 1}}#macro D()difference{#end#macro Q(p,d)
D()cylinder{p/9+z,p/9-z,d/9}cylinder{p/9+z,p/9-z,(d-1)/9}}#end#macro S()sphere{<
0,0,0>,1}#end camera{location-20*z angle 25}light_source{<-1,2,-4>,rgb 1}D()S()
union{Q(<8,-4,0>,7)Q(-<8,4,0>,7)}translate-2.2*x}D()S()union{Q(2*y,3)Q(9*y,14)}
}D()S()union{Q(9*x,8)Q(11*x,17)}translate 2.2*x}

And I wanted all that code to fit into an e-mail sig...

-- 
Tek
www.evilsuperbrain.com


Post a reply to this message

From: Mark Weyer
Subject: Re: Short Code Competition WIPs
Date: 18 Feb 2004 08:43:39
Message: <40336E3C.9030302@informatik.uni-freiburg.de>
> #default{pigment{rgb 2}finish{specular 1}}#macro D()difference{#end#macro Q(p,d)
> D()cylinder{p/9+z,p/9-z,d/9}cylinder{p/9+z,p/9-z,(d-1)/9}}#end#macro S()sphere{<
> 0,0,0>,1}#end camera{location-20*z angle 25}light_source{<-1,2,-4>,rgb 1}D()S()
> union{Q(<8,-4,0>,7)Q(-<8,4,0>,7)}translate-2.2*x}D()S()union{Q(2*y,3)Q(9*y,14)}
> }D()S()union{Q(9*x,8)Q(11*x,17)}translate 2.2*x}
> 
> And I wanted all that code to fit into an e-mail sig...

How about:

#macro Q(a,d,p)difference{object{a}difference{cylinder{-z+p/9z+p/9d/9}cylinder
{z+p/9p/9-z(d-1)/9}}}#end union{Q(Q(sphere{-2.2*x 1}7<-11.8,-4,0>)7,-<27.8,4,0
 >)Q(Q(sphere{0 1}3y*2)14y*9)Q(Q(sphere{2.2*x 1}8x*28.8)17x*30.8)pigment{rgb 2}
finish{specular 1}}camera{location-z*20angle 25}light_source{<-1,2,-4>1}//NAME

About your City entry... I am as much impressed as the other posters. I am now
sure that I will not win (if I do not submit another entry, that is). Let's see
if anyone can top you.


-- 
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

From: Dan P
Subject: Re: Short Code Competition WIPs
Date: 18 Feb 2004 09:58:45
Message: <40337da5$1@news.povray.org>
"Tek" <tek### [at] evilsuperbraincom> wrote in message
news:40330917$1@news.povray.org...
> "Dan P" <dan### [at] yahoocom> wrote in message
> news:40324145$1@news.povray.org...
> > Yeah, don't give up! I mean, I certainly don't expect my entry to win,
but
> > it's a milestone just to be in the competition. If gettin' good happened
> > over night, it wouldn't be any fun :-)
>
> I hadn't realised I had "got good" (well, okay maybe when I came up with
version
> 2 of the city I realised!). Last few times I've tried to write short code
I've
> got remarkably unimpressive things.
>
> Just to reassure you that I'm not actually that good, here was my attempt
to
> carve my name out of some spheres:

You can't convince me you don't kick ass after that short-code entry :-)


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.