POV-Ray : Newsgroups : povray.binaries.images : Parametric Greebles Server Time
1 Aug 2024 20:09:55 EDT (-0400)
  Parametric Greebles (Message 3 to 12 of 12)  
<<< Previous 2 Messages Goto Initial 10 Messages
From: Nekar Xenos
Subject: Re: Parametric Greebles
Date: 26 May 2008 01:50:00
Message: <483a4f88@news.povray.org>
The best greebles I've seen so far!

-- 
-Nekar Xenos-


Post a reply to this message

From: Thomas de Groot
Subject: Re: Parametric Greebles
Date: 26 May 2008 03:18:57
Message: <483a6461$1@news.povray.org>
"Nekar Xenos" <nek### [at] gmailcom> schreef in bericht 
news:483a4f88@news.povray.org...
> The best greebles I've seen so far!
>
...because Zeger is the king of greebles!  :-)

Very well done! An extension to the existing macros?

Thomas


Post a reply to this message

From: Zeger Knaepen
Subject: Re: Parametric Greebles
Date: 26 May 2008 03:38:04
Message: <483a68dc$1@news.povray.org>
"William Tracy" <wtr### [at] calpolyedu> wrote in message 
news:483a4a38$1@news.povray.org...
>I think you have outdone yourself.

:)

well, it's not finished yet, so hopefully it'll become even better :)

cu!
-- 
#macro G(b,e)b+(e-b)*C/50#end#macro _(b,e,k,l)#local C=0;#while(C<50)
sphere{G(b,e)+3*z.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1;
#end#end _(y-x,y,x,x+y)_(y,-x-y,x+y,y)_(-x-y,-y,y,y+z)_(-y,y,y+z,x+y)
_(0x+y.5+y/2x)_(0x-y.5+y/2x)            // ZK http://www.povplace.com


Post a reply to this message

From: Zeger Knaepen
Subject: Re: Parametric Greebles
Date: 26 May 2008 03:38:17
Message: <483a68e9$1@news.povray.org>
"Nekar Xenos" <nek### [at] gmailcom> wrote in message 
news:483a4f88@news.povray.org...
> The best greebles I've seen so far!

thank you!!

cu!
-- 
#macro G(b,e)b+(e-b)*C/50#end#macro _(b,e,k,l)#local C=0;#while(C<50)
sphere{G(b,e)+3*z.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1;
#end#end _(y-x,y,x,x+y)_(y,-x-y,x+y,y)_(-x-y,-y,y,y+z)_(-y,y,y+z,x+y)
_(0x+y.5+y/2x)_(0x-y.5+y/2x)            // ZK http://www.povplace.com


Post a reply to this message

From: Zeger Knaepen
Subject: Re: Parametric Greebles
Date: 26 May 2008 03:40:09
Message: <483a6959$1@news.povray.org>
"Thomas de Groot" <t.d### [at] internlDOTnet> wrote in message 
news:483a6461$1@news.povray.org...
>
> "Nekar Xenos" <nek### [at] gmailcom> schreef in bericht 
> news:483a4f88@news.povray.org...
>> The best greebles I've seen so far!
>>
> ...because Zeger is the king of greebles!  :-)
>
> Very well done! An extension to the existing macros?

originally I was going to rewrite all greeble-macros, to make them more 
consistent in use, but then I realized it might be a better idea to 
generalize them all into a Parametric-Greebles-macro.  Only the 
polygon-greebles can't be emulated with this macro.

cu!
-- 
#macro G(b,e)b+(e-b)*C/50#end#macro _(b,e,k,l)#local C=0;#while(C<50)
sphere{G(b,e)+3*z.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1;
#end#end _(y-x,y,x,x+y)_(y,-x-y,x+y,y)_(-x-y,-y,y,y+z)_(-y,y,y+z,x+y)
_(0x+y.5+y/2x)_(0x-y.5+y/2x)            // ZK http://www.povplace.com


Post a reply to this message

From: stbenge
Subject: Re: Parametric Greebles
Date: 26 May 2008 18:15:49
Message: <483b3695$1@news.povray.org>
Thomas de Groot wrote:
> "Nekar Xenos" <nek### [at] gmailcom> schreef in bericht 
> news:483a4f88@news.povray.org...
>> The best greebles I've seen so far!
>>
> ...because Zeger is the king of greebles!  :-)

Lol, the name "Zeger's Greebles" is forever imprinted into my brain...

BTW, nice greebles, Zeger. It would be nice to see some other 
structures, like the Millenium Falcon has. Good work, getting them to 
twist with the helix like that.

Sam


Post a reply to this message

From: SharkD
Subject: Re: Parametric Greebles
Date: 29 Jun 2008 13:55:00
Message: <web.4867cc1a23a83e25feb17ab00@news.povray.org>
Wow! That's incredible!

Can the macro/scene be configured to output the necessary maps for importing
into other software?

-Mike


Post a reply to this message

From: alphaQuad
Subject: Re: Parametric Greebles
Date: 30 Jun 2008 13:45:00
Message: <web.48691a5123a83e2534ef70380@news.povray.org>
"Zeger Knaepen" <zeg### [at] povplacecom> wrote:
> Syntax is like this:
>
> ---START CODE---
> //This macro defines the shape, it should be defined before using
> GreebledPatch(..)
> //and redefined everytime you want a different shape
> #macro PatchAt(U,V)
>     #local R=[Surface-definition in function of U and V];
>     //for example, a cylinder from y=0 to y=1 with radius .2 would be:
>     //#local R=vrotate(x*.2+y*U,y*360*V);
>     R
> #end
> mesh {
>     GreebledPatch(U_Start,V_Start, U_End,V_End, RecursionDepth,
> Recursion_U_Probability, Recursion_V_Probability)
>     uv_mapping
>     texture {YourTexture}
> }
> ---END CODE---
>
>
> Hope you like it :)
love it
Understood most of it except the part about actually implementing PatchAt, not
called in this example. Over my head but so close I got a haircut.
 :~(


Post a reply to this message

From: Zeger Knaepen
Subject: Re: Parametric Greebles
Date: 19 Aug 2008 18:25:35
Message: <48ab485f$1@news.povray.org>
"SharkD" <nomail@nomail> wrote in message 
news:web.4867cc1a23a83e25feb17ab00@news.povray.org...
> Wow! That's incredible!

thank you!

> Can the macro/scene be configured to output the necessary maps for 
> importing
> into other software?

I suppose it would be possible, as it's one big trianglemesh
As soon as I find the time to finish the macros, I'll see what I can do :)

cu!
-- 
#macro G(b,e)b+(e-b)*C/50#end#macro _(b,e,k,l)#local C=0;#while(C<50)
sphere{G(b,e)+3*z.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1;
#end#end _(y-x,y,x,x+y)_(y,-x-y,x+y,y)_(-x-y,-y,y,y+z)_(-y,y,y+z,x+y)
_(0x+y.5+y/2x)_(0x-y.5+y/2x)            // ZK http://www.povplace.com


Post a reply to this message

From: Zeger Knaepen
Subject: Re: Parametric Greebles
Date: 19 Aug 2008 18:26:49
Message: <48ab48a9@news.povray.org>
"alphaQuad" <alp### [at] earthlinknet> wrote in message 
news:web.48691a5123a83e2534ef70380@news.povray.org...
> love it

thanks !

> Understood most of it except the part about actually implementing PatchAt, 
> not
> called in this example. Over my head but so close I got a haircut.
> :~(

the PatchAt-macro is actually more like a function that is used by the 
greebles-system.  The macro accepts 2D-coordinates as input, and outputs the 
3D-coordinates corresponding with the given 2D-coordinates

cu!
-- 
#macro G(b,e)b+(e-b)*C/50#end#macro _(b,e,k,l)#local C=0;#while(C<50)
sphere{G(b,e)+3*z.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1;
#end#end _(y-x,y,x,x+y)_(y,-x-y,x+y,y)_(-x-y,-y,y,y+z)_(-y,y,y+z,x+y)
_(0x+y.5+y/2x)_(0x-y.5+y/2x)            // ZK http://www.povplace.com


Post a reply to this message

<<< Previous 2 Messages Goto Initial 10 Messages

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