POV-Ray : Newsgroups : povray.general : Help With Image Server Time
19 Apr 2024 15:16:56 EDT (-0400)
  Help With Image (Message 21 to 24 of 24)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: kurtz le pirate
Subject: Re: Help With Image
Date: 19 Apr 2022 12:05:30
Message: <625eddca@news.povray.org>
On 16/04/2022 19:28, Craig Lindley wrote:
> After struggling with Doyle circle packing code for a week I finally have an
> image which is close to the original image I posted. I've attached the image and
> a POV file in case anyone wants to play around with it. I wrote the circle
> packing code in Java and then transferred the generated spheres into a POV file.
> If anyone is interested in the Java code, let me know and I can get it to you.


I am curious to see this code just to see if it is easily adaptable to
POVRay SDL...

So I was inspired and made these two images based on the principle : no
heavy calculations... and only one spiral with tangent circles.



-- 
Kurtz le pirate
Compagnie de la Banquise


Post a reply to this message


Attachments:
Download 'doyle01.jpg' (89 KB) Download 'doyle02.jpg' (114 KB)

Preview of image 'doyle01.jpg'
doyle01.jpg

Preview of image 'doyle02.jpg'
doyle02.jpg


 

From: Alain Martel
Subject: Re: Help With Image
Date: 19 Apr 2022 12:30:41
Message: <625ee3b1$1@news.povray.org>
Le 2022-04-19 à 12:05, kurtz le pirate a écrit :
> On 16/04/2022 19:28, Craig Lindley wrote:
>> After struggling with Doyle circle packing code for a week I finally have an
>> image which is close to the original image I posted. I've attached the image and
>> a POV file in case anyone wants to play around with it. I wrote the circle
>> packing code in Java and then transferred the generated spheres into a POV file.
>> If anyone is interested in the Java code, let me know and I can get it to you.
> 
> 
> I am curious to see this code just to see if it is easily adaptable to
> POVRay SDL...
> 
> So I was inspired and made these two images based on the principle : no
> heavy calculations... and only one spiral with tangent circles.
> 
> 
> 
Nice.


Post a reply to this message

From: Cousin Ricky
Subject: Re: Help With Image
Date: 19 Apr 2022 14:28:13
Message: <625eff3d@news.povray.org>
On 2022-04-16 13:29 (-4), Craig Lindley wrote:
> "Craig Lindley" <cal### [at] gmailcom> wrote:
> 
> And here is the poverties file

I played with the textures in your scene, and I discovered some
misplaced spheres.  They are the four yellow spheres at the center on
the otherwise blue spiral.  They didn't show in your render because your
ARM1 and ARM5 use the same pigment.

Here are the corrected unions:
---------------[BEGIN CODE EXCERPTS]---------------
#declare SphereC1 =
union {
	sphere {<2.496186, 0, -0.000000>, 0.561107}
	sphere {<96.913531, 0, -0.000000>, 21.784787}
	sphere {<2.898755, 0, 1.200703>, 0.705286}
	sphere {<112.543128, 0, 46.616890>, 27.382465}
	sphere {<2.788691, 0, 2.788691>, 0.886511}
	sphere {<108.269931, 0, 108.269931>, 34.418486}
	sphere {<1.897030, 0, 4.579836>, 1.114303}
	sphere {<73.651524, 0, 177.810508>, 43.262438}
	sphere {<0.000000, 0, 6.230943>, 1.400628}
	sphere {<-2.997179, 0, 7.235830>, 1.760524}
	sphere {<-6.961089, 0, 6.961089>, 2.212897}
	sphere {<-11.432120, 0, 4.735339>, 2.781508}
	sphere {<-15.553590, 0, 0.000000>, 3.496227}
	sphere {<-18.061974, 0, -7.481515>, 4.394594}
	sphere {<-17.376171, 0, -17.376171>, 5.523801}
	sphere {<-11.820286, 0, -28.536694>, 6.943161}
	sphere {<-0.000000, 0, -38.824648>, 8.727230}
	sphere {<18.675250, 0, -45.086041>, 10.969723}
	sphere {<43.374150, 0, -43.374150>, 13.788432}
	sphere {<71.232886, 0, -29.505628>, 17.331418}
	sphere {<1.834734, 0, -0.759972>, 0.446402}
	sphere {<1.117181, 0, -1.117181>, 0.355146}
}

#declare SphereC5 =
union {
	sphere {<15.553590, 0, -0.000000>, 3.496227}
	sphere {<18.061974, 0, 7.481515>, 4.394594}
	sphere {<17.376171, 0, 17.376171>, 5.523801}
	sphere {<11.820286, 0, 28.536694>, 6.943161}
	sphere {<0.000000, 0, 38.824648>, 8.727230}
	sphere {<-18.675250, 0, 45.086041>, 10.969723}
	sphere {<-43.374150, 0, 43.374150>, 13.788432}
	sphere {<-71.232886, 0, 29.505628>, 17.331418}
	sphere {<-96.913531, 0, 0.000000>, 21.784787}
	sphere {<-112.543128, 0, -46.616890>, 27.382465}
	sphere {<-108.269931, 0, -108.269931>, 34.418486}
	sphere {<-73.651524, 0, -177.810508>, 43.262438}
	sphere {<6.961089, 0, -6.961089>, 2.212897}
	sphere {<11.432120, 0, -4.735339>, 2.781508}
	sphere {<-0.000000, 0, -6.230943>, 1.400628}
	sphere {<2.997179, 0, -7.235830>, 1.760524}
	sphere {<-2.496186, 0, 0.000000>, 0.561107} // was in SphereC1
	sphere {<-2.898755, 0, -1.200703>, 0.705286} // was in SphereC1
	sphere {<-2.788691, 0, -2.788691>, 0.886511} // was in SphereC1
	sphere {<-1.897030, 0, -4.579836>, 1.114303} // was in SphereC1
}
----------------[END CODE EXCERPTS]----------------


Post a reply to this message


Attachments:
Download 'spheresdoyle-rc3.jpg' (317 KB)

Preview of image 'spheresdoyle-rc3.jpg'
spheresdoyle-rc3.jpg


 

From: Craig Lindley
Subject: Re: Help With Image
Date: 19 Apr 2022 19:30:00
Message: <web.625f44f02a8c6bc62f73d2b2bc520638@news.povray.org>
Cousin Ricky <ric### [at] yahoocom> wrote:
> On 2022-04-16 13:29 (-4), Craig Lindley wrote:
> > "Craig Lindley" <cal### [at] gmailcom> wrote:
> >
> > And here is the poverties file
>
> I played with the textures in your scene, and I discovered some
> misplaced spheres.  They are the four yellow spheres at the center on
> the otherwise blue spiral.  They didn't show in your render because your
> ARM1 and ARM5 use the same pigment.
>
> Here are the corrected unions:
> ---------------[BEGIN CODE EXCERPTS]---------------
> #declare SphereC1 =
> union {
>  sphere {<2.496186, 0, -0.000000>, 0.561107}
>  sphere {<96.913531, 0, -0.000000>, 21.784787}
>  sphere {<2.898755, 0, 1.200703>, 0.705286}
>  sphere {<112.543128, 0, 46.616890>, 27.382465}
>  sphere {<2.788691, 0, 2.788691>, 0.886511}
>  sphere {<108.269931, 0, 108.269931>, 34.418486}
>  sphere {<1.897030, 0, 4.579836>, 1.114303}
>  sphere {<73.651524, 0, 177.810508>, 43.262438}
>  sphere {<0.000000, 0, 6.230943>, 1.400628}
>  sphere {<-2.997179, 0, 7.235830>, 1.760524}
>  sphere {<-6.961089, 0, 6.961089>, 2.212897}
>  sphere {<-11.432120, 0, 4.735339>, 2.781508}
>  sphere {<-15.553590, 0, 0.000000>, 3.496227}
>  sphere {<-18.061974, 0, -7.481515>, 4.394594}
>  sphere {<-17.376171, 0, -17.376171>, 5.523801}
>  sphere {<-11.820286, 0, -28.536694>, 6.943161}
>  sphere {<-0.000000, 0, -38.824648>, 8.727230}
>  sphere {<18.675250, 0, -45.086041>, 10.969723}
>  sphere {<43.374150, 0, -43.374150>, 13.788432}
>  sphere {<71.232886, 0, -29.505628>, 17.331418}
>  sphere {<1.834734, 0, -0.759972>, 0.446402}
>  sphere {<1.117181, 0, -1.117181>, 0.355146}
> }
>
> #declare SphereC5 =
> union {
>  sphere {<15.553590, 0, -0.000000>, 3.496227}
>  sphere {<18.061974, 0, 7.481515>, 4.394594}
>  sphere {<17.376171, 0, 17.376171>, 5.523801}
>  sphere {<11.820286, 0, 28.536694>, 6.943161}
>  sphere {<0.000000, 0, 38.824648>, 8.727230}
>  sphere {<-18.675250, 0, 45.086041>, 10.969723}
>  sphere {<-43.374150, 0, 43.374150>, 13.788432}
>  sphere {<-71.232886, 0, 29.505628>, 17.331418}
>  sphere {<-96.913531, 0, 0.000000>, 21.784787}
>  sphere {<-112.543128, 0, -46.616890>, 27.382465}
>  sphere {<-108.269931, 0, -108.269931>, 34.418486}
>  sphere {<-73.651524, 0, -177.810508>, 43.262438}
>  sphere {<6.961089, 0, -6.961089>, 2.212897}
>  sphere {<11.432120, 0, -4.735339>, 2.781508}
>  sphere {<-0.000000, 0, -6.230943>, 1.400628}
>  sphere {<2.997179, 0, -7.235830>, 1.760524}
>  sphere {<-2.496186, 0, 0.000000>, 0.561107} // was in SphereC1
>  sphere {<-2.898755, 0, -1.200703>, 0.705286} // was in SphereC1
>  sphere {<-2.788691, 0, -2.788691>, 0.886511} // was in SphereC1
>  sphere {<-1.897030, 0, -4.579836>, 1.114303} // was in SphereC1
> }
> ----------------[END CODE EXCERPTS]----------------

Thanks for pointing this out. I've corrected my data. Awesome image BTW.


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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