POV-Ray : Newsgroups : povray.general : Help With Image Server Time
19 Apr 2024 20:46:14 EDT (-0400)
  Help With Image (Message 15 to 24 of 24)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: jr
Subject: Re: Help With Image
Date: 17 Apr 2022 13:15:00
Message: <web.625c4a5a2a8c6bc6cf1917686cde94f1@news.povray.org>
hi,

"Craig Lindley" <cal### [at] gmailcom> 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.

worth it, I think.

(best viewed through sunglasses perhaps :-))


> 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.

thanks.  have no interest in Java but wouldn't mind knowing why you chose it
over SDL when you implemented the code (given that geometrical calculations are
SDL's "bread-and-butter").


regards, jr.


Post a reply to this message

From: Craig Lindley
Subject: Re: Help With Image
Date: 17 Apr 2022 20:05:00
Message: <web.625ca9d32a8c6bc62f73d2b2bc520638@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:
> hi,
>
> "Craig Lindley" <cal### [at] gmailcom> 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.
>
> worth it, I think.
>
> (best viewed through sunglasses perhaps :-))
>
>
> > 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.
>
> thanks.  have no interest in Java but wouldn't mind knowing why you chose it
> over SDL when you implemented the code (given that geometrical calculations are
> SDL's "bread-and-butter").
>
>
> regards, jr.

I did it in Java because there is a lot of math involved. It is necessary to
solve the initial-value problem of differential equations using the Runge-Kutta
method which I am sure could
be done in SDL but there would be many pages of macros/functions to do so. Also
Java is easier to debug.


Post a reply to this message

From: Craig Lindley
Subject: Re: Help With Image
Date: 18 Apr 2022 10:45:00
Message: <web.625d789e2a8c6bc62f73d2b2bc520638@news.povray.org>
"Craig Lindley" <cal### [at] gmailcom> wrote:
> "jr" <cre### [at] gmailcom> wrote:
> > hi,
> >
> > "Craig Lindley" <cal### [at] gmailcom> 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.
> >
> > worth it, I think.
> >
> > (best viewed through sunglasses perhaps :-))
> >
> >
> > > 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.
> >
> > thanks.  have no interest in Java but wouldn't mind knowing why you chose it
> > over SDL when you implemented the code (given that geometrical calculations are
> > SDL's "bread-and-butter").
> >
> >
> > regards, jr.
>
> I did it in Java because there is a lot of math involved. It is necessary to
> solve the initial-value problem of differential equations using the Runge-Kutta
> method which I am sure could
> be done in SDL but there would be many pages of macros/functions to do so. Also
> Java is easier to debug.

Here is another image using the same data after I worked on the sphere's
texture/pigment


Post a reply to this message


Attachments:
Download 'spheresdoyle.png' (1601 KB)

Preview of image 'spheresdoyle.png'
spheresdoyle.png


 

From: Craig Lindley
Subject: Re: Help With Image
Date: 18 Apr 2022 12:30:00
Message: <web.625d91e62a8c6bc62f73d2b2bc520638@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:
> hi,
>
> kurtz le pirate <kur### [at] gmailcom> wrote:
> > ...
> > I made this kind of picture.
> > I just found this old code in my archives.
> > ...
>
> "heavy, man.  psychedelic."  ;-)
>
>
> regards, jr.

I tried to render this image but ended up with this. Is this a bug in poverty
3.8?


Post a reply to this message


Attachments:
Download 'kip.png' (187 KB)

Preview of image 'kip.png'
kip.png


 

From: Craig Lindley
Subject: Re: Help With Image
Date: 18 Apr 2022 16:00:00
Message: <web.625dc22d2a8c6bc62f73d2b2bc520638@news.povray.org>
"Craig Lindley" <cal### [at] gmailcom> wrote:
> "jr" <cre### [at] gmailcom> wrote:
> > hi,
> >
> > kurtz le pirate <kur### [at] gmailcom> wrote:
> > > ...
> > > I made this kind of picture.
> > > I just found this old code in my archives.
> > > ...
> >
> > "heavy, man.  psychedelic."  ;-)
> >
> >
> > regards, jr.
>
> I tried to render this image but ended up with this. Is this a bug in poverty
> 3.8?

Never mind. When I restarted pov the problem went away


Post a reply to this message

From: jr
Subject: Re: Help With Image
Date: 19 Apr 2022 03:25:00
Message: <web.625e63002a8c6bc6cf1917686cde94f1@news.povray.org>
hi,

"Craig Lindley" <cal### [at] gmailcom> wrote:
> ...
> > I tried to render this image but ended up with this. Is this a bug in poverty
> > 3.8?
>
> Never mind. When I restarted pov the problem went away

nice "glitch" :-).  (I use command-line only, no UI)


regards, jr.


Post a reply to this message

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.