POV-Ray : Newsgroups : povray.binaries.utilities : circle_place.exe for Windows Server Time: 23 Mar 2019 06:50:52 GMT
  circle_place.exe for Windows (Message 1 to 8 of 8)  
From: Samuel Benge
Subject: circle_place.exe for Windows
Date: 24 Aug 2010 23:25:01
Message: <web.4c7453bd99210acbf151112e0@news.povray.org>
Hi,

Here's a program for generating sets of non-overlapping circles. They will be
saved to an .inc file in the form of a 1D array of 3D vectors. It's not 100%
accurate, but you can change the accuracy to such a high level that it's hard to
tell. There are several other options available to change the outcome. Support
for using an input image to determine the circle sizes is also included, as are
some scene files for viewing the result.

Just unzip the file and run circle_place.exe. Make sure to save the points
before running the example scenes. What you do with it is your problem :)

Happy Raytracing!

Sam

P.S. I'm not sure if this will work on other platforms, but you can always
try...


Post a reply to this message


Attachments:
Download 'circle place.7z.zip' (566 KB)

From: Samuel Benge
Subject: Re: circle_place.exe for Windows
Date: 25 Aug 2010 01:00:01
Message: <web.4c7468d76a2d1fbdd2539a90@news.povray.org>
Well, I'm not proud to admit it, but there was a pretty serious bug in that last
version. If the two size settings were similar, the program would simply quit.
Here's a fixed version.

Sam


Post a reply to this message


Attachments:
Download 'circle place.7z.zip' (566 KB)

From: Dre
Subject: Re: circle_place.exe for Windows
Date: 25 Aug 2010 02:55:06
Message: <4c74860a@news.povray.org>
"Samuel Benge" <stb### [at] hotmailcom> wrote in message 
news:web.4c7468d76a2d1fbdd2539a90@news.povray.org...
> Well, I'm not proud to admit it, but there was a pretty serious bug in 
> that last
> version. If the two size settings were similar, the program would simply 
> quit.
> Here's a fixed version.
>
> Sam
>

When I try and run this under Windows XP SP3 it gives me an error:

"This application has failed to start because SDL.dll was not found"

I had to download that file seperately to get it to work, works well though, 
thanks!

Cheers Dre


Post a reply to this message

From: stbenge
Subject: Re: circle_place.exe for Windows
Date: 25 Aug 2010 16:36:49
Message: <4c7546a1$1@news.povray.org>
Dre wrote:
> "Samuel Benge" <stb### [at] hotmailcom> wrote in message 
> news:web.4c7468d76a2d1fbdd2539a90@news.povray.org...
>> Well, I'm not proud to admit it, but there was a pretty serious bug in 
>> that last
>> version. If the two size settings were similar, the program would simply 
>> quit.
>> Here's a fixed version.
>>
>> Sam
>>
> 
> When I try and run this under Windows XP SP3 it gives me an error:
> 
> "This application has failed to start because SDL.dll was not found"

I was afraid of that! I thought it was compiled into CRM32Pro, but I 
guess I was wrong :(

> I had to download that file seperately to get it to work, works well though, 
> thanks!

Cool! You're welcome :)


Post a reply to this message

From: Samuel Benge
Subject: Re: circle_place.exe for Windows
Date: 25 Aug 2010 17:00:00
Message: <web.4c754acc6a2d1fbde691a85d0@news.povray.org>
Sorry I didn't include sdl.dll! Here are some places you can find it:

 http://www.libsdl.org/download-1.2.php
 http://www.dll-files.com/dllindex/dll-files.shtml?sdl

Some professional developer I'd make :P


Post a reply to this message

From: Samuel Benge
Subject: Re: circle_place.exe for Windows
Date: 25 Aug 2010 17:40:00
Message: <web.4c7554aa6a2d1fbddb6dfed40@news.povray.org>
Oh yeah, I forgot to mention in the readme that to determine the final circle
radii in POV (so you can know what the size of your objects will be), the
calculation is: circle size/grid size. Then you just multiply that by your
height_field's size or whatever.

Sam


Post a reply to this message

From: Thomas de Groot
Subject: Re: circle_place.exe for Windows
Date: 28 Aug 2010 07:11:08
Message: <4c78b68c$1@news.povray.org>
I am - again - deeply impressed, Sam. A major and very useful contribution 
to the community and so simple to use.

Thank you!

Thomas


Post a reply to this message

From: stbenge
Subject: Re: circle_place.exe for Windows
Date: 28 Aug 2010 17:55:40
Message: <4c794d9c$1@news.povray.org>
Thomas de Groot wrote:
> I am - again - deeply impressed, Sam. A major and very useful contribution 
> to the community and so simple to use.
> 
> Thank you!

You're welcome, Thomas. Thank you for the kind words  :)

Sam


Post a reply to this message

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