POV-Ray : Newsgroups : povray.binaries.images : Server Time: 29 Sep 2020 11:14:12 GMT
 (Message 1 to 3 of 3)
 From: Robert McGregor Subject: Date: 13 Jan 2020 04:15:01 Message:
```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
```

Attachments:

Preview of image 'borromeanrings2020_1080px.png'

 From: Thomas de Groot Subject: Re: Date: 13 Jan 2020 07: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
```
 From: Robert McGregor Subject: Re: Date: 14 Jan 2020 03:30:00 Message:
```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!
```