POV-Ray : Newsgroups : povray.binaries.animations : Complicated Multicolor Sphere (An Homage to Simon) Server Time
22 Dec 2024 21:41:40 EST (-0500)
  Complicated Multicolor Sphere (An Homage to Simon) (Message 1 to 10 of 11)  
Goto Latest 10 Messages Next 1 Messages >>>
From: Mike the Elder
Subject: Complicated Multicolor Sphere (An Homage to Simon)
Date: 9 May 2007 11:40:02
Message: <web.4641eaaf7d7f6050c40420100@news.povray.org>
The attached animated gif was created just for fun and was inspired by
Simon's "Simple White Sphere"
It has only eight cyclical frames.  Since the code is REALLY short, I've
decided to just include it here:

camera { location <0,0,-40> direction <0, 0, .89> up <0, 1, 0>
    right  x*image_width/image_height look_at <0,0,0>}

light_source{<-3,9,-30>color.5}light_source {< 3,-9, -30>color .5}

#declare PA=.0003*clock; #while (PA<pi*9)
   sphere{<0,0,0>,.15
   texture{pigment{color rgb<
      .2+.8*abs(cos(PA*24)),
      .2+.8*abs(sin(PA*18)),
      .3+.5*abs(sin(PA*36+pi/3))+.5*abs(cos(PA*36-pi/3))>}
      finish{ambient .3 diffuse .55 reflection .25
      phong .9 phong_size 20} scale 1/6 }
   translate <10*sin(PA*12),10*sin(PA*11.999),10*sin(PA*12.001)>
   rotate<360*sin(PA*18),360*sin(PA*35.99975),360*cos(PA*.02)> }
#declare PA=PA+.0003; #end

Regards,
Mike C.


Post a reply to this message


Attachments:
Download 'comcolsph.gif' (581 KB)

Preview of image 'comcolsph.gif'
comcolsph.gif


 

From: William Tracy
Subject: Re: Complicated Multicolor Sphere (An Homage to Simon)
Date: 9 May 2007 15:07:14
Message: <46421be2$1@news.povray.org>
Wow, me likie.

You know, we should have a short code competition for animations. :-)

Maybe up the code limit, perhaps to 512 characters?

-- 
William Tracy
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|a|f|i|s|h|i|o|n|a|d|o|@|g|m|a|i|l|.|c|o|m|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|w|t|r|a|c|y|@|c|a|l|p|o|l|y|.|e|d|u|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
You know you've been raytracing too long when your wife's raytraced 
image you made to flatter her is the only one you see of her anymore.
Ken Tyler


Post a reply to this message

From: Simon
Subject: Re: Complicated Multicolor Sphere (An Homage to Simon)
Date: 9 May 2007 15:21:52
Message: <46421f50@news.povray.org>
Wow, that's rather impressive! so much nicer than mine :) and it has a nice 
organic feel to it while mine was a bit clinical...

Thanks for the mention. I'm going through what I imagine are the standard 
learning things - rollercoaster, terrains, etc... But once I've got the hang 
of the language, I'd like to come back to more surreal stuff.

"Mike the Elder" <zer### [at] wyanorg> wrote in message 
news:web.4641eaaf7d7f6050c40420100@news.povray.org...
> The attached animated gif was created just for fun and was inspired by
> Simon's "Simple White Sphere"
> It has only eight cyclical frames.  Since the code is REALLY short, I've
> decided to just include it here:
>  ...
> Regards,
> Mike C.
>


--------------------------------------------------------------------------------


Post a reply to this message

From: Simon
Subject: Re: Complicated Multicolor Sphere (An Homage to Simon)
Date: 9 May 2007 15:23:25
Message: <46421fad$1@news.povray.org>
Hi,

I'm still learning but always enjoy a challenge - Compact code is a good one 
(and usually teaches you new syntax) so certainly count me in!

Regards,
Simon
"William Tracy" <wtr### [at] calpolyedu> wrote in message 
news:46421be2$1@news.povray.org...
> You know, we should have a short code competition for animations. :-)
>
> Maybe up the code limit, perhaps to 512 characters?


Post a reply to this message

From: Mike the Elder
Subject: Re: Complicated Multicolor Sphere (An Homage to Simon)
Date: 9 May 2007 16:25:01
Message: <web.46422c8eb0d09678c40420100@news.povray.org>
Thanks to William and Simon for the positive feedback.

As for the animation 512 character short code contest, two things:

1. How about if we just make it a "challenge" without formal rules or
judging and just let people post away?

2. Here's "Complicated Multicolor Sphere" crunched down to an entry:
(498 characters)
==================================================================
camera{location z*-40 direction<0,0,.89>right
x}light_source{<-3,9,-30>color.5}light_source{<3,-9,-30>color.5}#declare
PA=.0003*clock;#while(PA<pi*9)sphere{0,.15 texture{pigment{color
rgb<.2+.8*abs(cos(PA*24)),.2+.8*abs(sin(PA*18)),.3+.5*abs(sin(PA*36+pi/3))+.5*abs(cos(PA*36-pi/3))>}finish{ambient
...3 diffuse .55 reflection .25 phong .9 phong_size
20}}translate<10*sin(PA*12),10*sin(PA*11.999),10*sin(PA*12.001)>rotate<360*sin(PA*18),360*sin(PA*35.99975),360*cos(PA*.
02)>}#declare
PA=PA+.0003;#end
==================================================================
Regards,
Mike C.


Post a reply to this message

From: William Tracy
Subject: Re: Complicated Multicolor Sphere (An Homage to Simon)
Date: 9 May 2007 16:35:29
Message: <46423091$1@news.povray.org>
Mike the Elder wrote:
> 2. Here's "Complicated Multicolor Sphere" crunched down to an entry:
> (498 characters)

Ooh, wow, people are already picking up on the idea. :-)

I'm not sure if 512 characters is too lax a limit or not. It seems like 
there should be a higher limit than for the still images, but doubling 
the limit might be too much. Hmm.

I should look into getting something together on Meetsoup...after I get 
my schoolwork a little more under control...and after I get my computer 
fixed. :-P

-- 
William Tracy
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|a|f|i|s|h|i|o|n|a|d|o|@|g|m|a|i|l|.|c|o|m|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|w|t|r|a|c|y|@|c|a|l|p|o|l|y|.|e|d|u|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

You know you've been raytracing too long when you find yourself 
daydreaming for hours on end what it would be like to go back in time 
and give Michealangelo a decent raytracer.
Taps a.k.a. Tapio Vocadlo


Post a reply to this message

From: William Tracy
Subject: Re: Complicated Multicolor Sphere (An Homage to Simon)
Date: 9 May 2007 16:56:19
Message: <46423573$1@news.povray.org>
Simon wrote:
> Wow, that's rather impressive! so much nicer than mine :) and it has a nice 
> organic feel to it while mine was a bit clinical...

Now that you mention it, Mike's animation makes me think of the inside 
of a living cell.

He made his job easier by having a single, looping, continuous motion. 
For your image, you would need to go back and have the zooming motions 
start and stop gradually. The rotating motion of the structure makes the 
start/stop less noticeable, but we still perceive it at an almost 
subconscious level.

Long, long ago, I dumped some macros for smooth motion either under 
p.b.scene-files or similar. I'm not sure where anymore, and the file 
isn't on my computer now. :-) I could take a stab at recreating it; the 
math was pretty simple.

-- 
William Tracy
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|a|f|i|s|h|i|o|n|a|d|o|@|g|m|a|i|l|.|c|o|m|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|w|t|r|a|c|y|@|c|a|l|p|o|l|y|.|e|d|u|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

You know you've been raytracing too long when you look at real clouds 
and criticise their media and radiosity settings.
Tom Melly


Post a reply to this message

From: Simon
Subject: Re: Complicated Multicolor Sphere (An Homage to Simon)
Date: 10 May 2007 03:59:49
Message: <4642d0f5$1@news.povray.org>
The one I did actually uses a cos curve to scale it - it makes a 1x1 cube, 
the scales it by cos(2*pi*clock)+1 meaning we get a scale from 0 to 2 (by 
scale, I#m referring to ball placement, not whole object scale) In theory, 
mine _should_ loop nicely - it's just lots of frames so can't be posted 
easily... (and assuming I posted the right one of course.... :D)


> He made his job easier by having a single, looping, continuous motion. For 
> your image, you would need to go back and have the zooming motions start 
> and stop gradually. The rotating motion of the structure makes the 
> start/stop less noticeable, but we still perceive it at an almost 
> subconscious level.


Post a reply to this message

From: Stephen
Subject: Re: Complicated Multicolor Sphere (An Homage to Simon)
Date: 10 May 2007 04:30:01
Message: <web.4642d6f4b0d09678726bd13c0@news.povray.org>
"Mike the Elder" <zer### [at] wyanorg> wrote:
> The attached animated gif was created just for fun and was inspired by
> Simon's "Simple White Sphere"



http://www.cyberpathway.com/art/lane/hep1.htm

As for the short code contest. If only; I think a scene is short if it has
only one include file :-)




Stephen


Post a reply to this message

From: Mike the Elder
Subject: Re: Complicated Multicolor Sphere (An Homage to Simon)
Date: 10 May 2007 10:00:02
Message: <web.464324c1b0d09678fb1e9d9c0@news.povray.org>
"Stephen" <mcavoys_AT_aolDOT.com> wrote:


>
Thanks.  In the "small word" category, it's funny that you should mention
Dame Barabara in that I am lucky enough to have one of her works (Summer
Dance) on display not too far from me in the Meijer Sculpture Gardens in
Grand Rapids, Michigan.  There her work appears in the company of the likes
of Rodin, Henry Moore, Lipchitz and Oldenberg, among others.  I have often
thought about how neat it would be to be able to integrate POV-Ray's CSG
capabilities with one of those prototype "printers" that solidify liquid
plastic with scanning lasers for the purpose of producing fine art
sculpture.  ...Any skilled grant writers out there? ;-)

Best Regards to All,
Mike C.


Post a reply to this message

Goto Latest 10 Messages Next 1 Messages >>>

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