|
|
|
|
|
|
| |
| |
|
|
From: Fernando Gonzalez del Cueto
Subject: Meshed sphere experiment (DIVX)
Date: 25 Mar 2002 21:35:59
Message: <3c9fde8f@news.povray.org>
|
|
|
| |
| |
|
|
Hi, I'm now in vacations and I couldn't bring my computer with me, so I had
to use my father's laptop. Fortunately, I could bring in a CDRW a copy of
POVRAY :)
I was able to develop an idea I had in mind: meshify an sphere and play with
it. My idea was to generate the mesh recursively, starting from a regular
tetrahedron and spawning new triangles. One of the trickiest parts (I didn't
forsee that!) was to generate the coordinates of the initial tetrahedron! I
hope you like it!
I'm currently on a very slow dialup connection so I think this will be a
long upload.
As always, any commentary will be welcomed.
Fernando.
p.s. I'm melting!!! the thermometer marks about 32 degrees C.
Post a reply to this message
Attachments:
Download 'anim02.avi.dat' (628 KB)
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> hope you like it!
I do! I do! :)
cu!
--
camera{location-z*3}#macro G(b,e)b+(e-b)*(C/50)#end#macro L(b,e,k,l)#local C=0
;#while(C<50)sphere{G(b,e),.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1
;#end#end L(y-x,y,x,x+y)L(y,-x-y,x+y,y)L(-x-y,-y,y,y+z)L(-y,y,y+z,x+y)L(0,x+y,
<.5,1,.5>,x)L(0,x-y,<.5,1,.5>,x) // ZK http://www.povplace.be.tf
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Excellent drop! :)
Gleb
"Fernando Gonzalez del Cueto" <fgd### [at] hotmailcom> wrote in message
news:3c9fde8f@news.povray.org...
> As always, any commentary will be welcomed.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
That's great.. :-)
Shame about the wallpaper though ;-)
All the best,
Andy Cocker
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
You probably didn't have this in mind, but it has quite a "sexual" feel. I
like it a lot, and I'd bet tat the form would be amazingly wild if you
allowed it a couple hundred more periods.
Nice work.
Ruy
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> One of the trickiest parts (I didn't
> forsee that!) was to generate the coordinates of the initial tetrahedron!
It's a bit late I guess, but FYI, the points <K, K, K>, <-K, -K, K>,
<K, -K, -K>, <-K, K, -K> (where K = R/sqrt(3)) form a regular tetrahedron
and are all on a sphere of radius R (centered at the origin). This is much
easier than letting one of the points be <0, 1, 0> and then trying to work
out the rest of them.
Anders
--
light_source{6#local D=#macro B(E)#macro A(D)#declare E=(E-#declare
C=mod(E D);C)/D;C#end#while(E)#if(A(8)=7)#declare D=D+2.8;#else#if(
C>2)}torus{1..2clipped_by{box{-2y}}rotate<1 0C>*90translate<D+1A(2)
*2+1#else}cylinder{0(C-v=1).2translate<D+C*A(2)A(4)#end-2 13>finish
{specular 1}pigment{rgb x}#end#end#end-8;1B(445000298)B(519053970)B
(483402386)B(1445571258)B(77778740)B(541684549)B(42677491)B(70)}
Post a reply to this message
|
|
| |
| |
|
|
From: Fernando Gonzalez del Cueto
Subject: Re: Meshed sphere experiment (DIVX)
Date: 26 Mar 2002 14:29:49
Message: <3ca0cc2d$1@news.povray.org>
|
|
|
| |
| |
|
|
Hmmm... I guess that would have simplified my life substantially!!!!
Thanks!!!!
Fernando.
"Anders K." <and### [at] prostard2gcom> wrote in message
news:3ca0c3e8$1@news.povray.org...
> > One of the trickiest parts (I didn't
> > forsee that!) was to generate the coordinates of the initial
tetrahedron!
>
> It's a bit late I guess, but FYI, the points <K, K, K>, <-K, -K, K>,
> <K, -K, -K>, <-K, K, -K> (where K = R/sqrt(3)) form a regular tetrahedron
> and are all on a sphere of radius R (centered at the origin). This is much
> easier than letting one of the points be <0, 1, 0> and then trying to work
> out the rest of them.
>
> Anders
>
> --
> light_source{6#local D=#macro B(E)#macro A(D)#declare E=(E-#declare
> C=mod(E D);C)/D;C#end#while(E)#if(A(8)=7)#declare D=D+2.8;#else#if(
> C>2)}torus{1..2clipped_by{box{-2y}}rotate<1 0C>*90translate<D+1A(2)
> *2+1#else}cylinder{0(C-v=1).2translate<D+C*A(2)A(4)#end-2 13>finish
> {specular 1}pigment{rgb x}#end#end#end-8;1B(445000298)B(519053970)B
> (483402386)B(1445571258)B(77778740)B(541684549)B(42677491)B(70)}
>
>
>
Post a reply to this message
|
|
| |
| |
|
|
From: Fernando Gonzalez del Cueto
Subject: Re: Meshed sphere experiment (DIVX)
Date: 26 Mar 2002 14:31:09
Message: <3ca0cc7d@news.povray.org>
|
|
|
| |
| |
|
|
You realize you have been raytracing too much when you.... ahem... :)
And, no, I actually didn't have that in mind, ha ha ha...
Fernando
"Ruy" <ruy### [at] hipernetcombr> wrote in message
news:3ca06ff5@news.povray.org...
> You probably didn't have this in mind, but it has quite a "sexual" feel. I
> like it a lot, and I'd bet tat the form would be amazingly wild if you
> allowed it a couple hundred more periods.
>
> Nice work.
>
> Ruy
Post a reply to this message
|
|
| |
| |
|
|
From: Fernando Gonzalez del Cueto
Subject: Re: Meshed sphere experiment (DIVX)
Date: 26 Mar 2002 14:32:58
Message: <3ca0ccea@news.povray.org>
|
|
|
| |
| |
|
|
Thanks, I'm glad you liked it. Yes, I didn't like the box's texture either,
but I'm not surprised, as didn't spend too many brain cycles in that :)
Thanks again,
Fernando.
"Andrew Cocker" <big### [at] mariner9fsnetcouk> wrote in message
news:3ca05aa5@news.povray.org...
> That's great.. :-)
>
> Shame about the wallpaper though ;-)
>
> All the best,
>
> Andy Cocker
Post a reply to this message
|
|
| |
| |
|
|
From: Fernando Gonzalez del Cueto
Subject: Re: Meshed sphere experiment (DIVX)
Date: 26 Mar 2002 14:33:21
Message: <3ca0cd01@news.povray.org>
|
|
|
| |
| |
|
|
> Gleb" <gk1### [at] sotonacuk> wrote in message news:3ca03cfd@news.povray.org...
> Excellent drop! :)
>
> Gleb
Thanks!!!!
Fernando.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|