POV-Ray : Newsgroups : povray.binaries.images : <no subject> Server Time
24 Dec 2024 21:23:12 EST (-0500)
  <no subject> (Message 1 to 3 of 3)  
From: Robert McGregor
Subject: <no subject>
Date: 12 Jan 2020 23:15:01
Message: <web.5e1bea9ac23a6d987570eab0@news.povray.org>
Hi all, it's been a while since I've posted an image, but this weekend I found
the time to rework a scene that I first rendered back in 2004. I updated many
things that bothered me when I recently saw the original image: a new
background, better (more realistic) lighting, more photons, etc...

The rings themselves are built using three parametric equations, one for each
ring, as follows (yes, a bit of overkill on the spline wrapping, but 18 nodes
works nicely):

#declare r = sqrt(3) / 3;
#declare PI_2 = 2*3.14159;

#macro Borromean(which, mat)

   #local param = array[3]
   #local U = 0;
   #local vec = array[13];
   #local i = 0;

   #while(U < PI_2)
      #local param[0] = <cos(U), sin(U) + r, cos(3*U) / 3>;
      #local param[1] = <cos(U) + 0.5 , sin(U) - r/2 , cos(3*U) / 3>;
      #local param[2] = <cos(U) - 0.5 , sin(U) - r/2 , cos(3*U) / 3>;
      #local vec[i] = param[which-1];
      #local U = U + 0.5;
      #local i = i + 1;
   #end

   #local i = 0;
   sphere_sweep {
      cubic_spline
      18,

      #while(i < 13)
         vec[i], 0.2
         #local i = i + 1;
      #end

      #local i = 0;
      #while(i < 5)
         vec[i], 0.2
         #local i = i + 1;
      #end

      tolerance 0.001
      material { mat }
   }
#end

Cheers,
Rob

-------------------------------------------------
www.McGregorFineArt.com


Post a reply to this message


Attachments:
Download 'borromeanrings2020_1080px.png' (1853 KB)

Preview of image 'borromeanrings2020_1080px.png'
borromeanrings2020_1080px.png


 

From: Thomas de Groot
Subject: Re: <no subject>
Date: 13 Jan 2020 02:22:46
Message: <5e1c1ac6$1@news.povray.org>
Op 13/01/2020 om 05:13 schreef Robert McGregor:
> Hi all, it's been a while since I've posted an image, but this weekend I found
> the time to rework a scene that I first rendered back in 2004. I updated many
> things that bothered me when I recently saw the original image: a new
> background, better (more realistic) lighting, more photons, etc...
> 

It's been a while indeed! Good to have you back... with a stunning image.

-- 
Thomas


Post a reply to this message

From: Robert McGregor
Subject: Re: <no subject>
Date: 13 Jan 2020 22:30:00
Message: <web.5e1d34d36f92e85687570eab0@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:

> It's been a while indeed! Good to have you back... with a stunning image.

Thank you very much, Thomas!


Post a reply to this message

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