|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
A little while ago there was a discussion of a maze pattern.
Well, the attached is a single CSG object, not a pattern, but it was
my first experiment with macros.
Worked out pretty well, but the parsing time is a tad high.
----------
Resolution 512 x 384
Time For Parse: 0 hours 22 minutes 57.0 seconds (1377 seconds)
Time For Trace: 0 hours 9 minutes 54.0 seconds (594 seconds)
Total Time: 0 hours 32 minutes 51.0 seconds (1971 seconds)
Official POV-Ray, on a Pentium III, 550 MHz, 128 Meg RAM
----------
Note that there is exactly one true path through the maze.
The macro takes parameters for number of rows and columns, and
a seed value for the random number generation.
Still need to work on:
- Splitting generation of data and creation of object, using a file to
store the data (to reduce parsing time between rendering attempts).
- Options for wall thickness and height, and for path width.
- Expanding my algorithm for a hexagonal shape (no promises!).
Any interest?
rc
Post a reply to this message
Attachments:
Download 'mazetest.jpg' (60 KB)
Preview of image 'mazetest.jpg'
|
|
| |
| |
|
|
|
|
| |
| |
|
|
>
> Note that there is exactly one true path through the maze.
>
> The macro takes parameters for number of rows and columns, and
> a seed value for the random number generation.
>
> Still need to work on:
> - Splitting generation of data and creation of object, using a file to
> store the data (to reduce parsing time between rendering attempts).
> - Options for wall thickness and height, and for path width.
> - Expanding my algorithm for a hexagonal shape (no promises!).
>
> Any interest?
>
> rc
>
man... you are insane. in a good way though. can you make an addition that
will make something like a red path of dots that leads you down the correct
path?
ross
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Robert Chaffe" <a0003738@airmail.net> wrote :
>
> Any interest?
>
Need you ask? Also, I would love to see this with some height, but I
doubt that you could get much of it in any sort of real scene. I don't
imagine that most renderings would use so many rows and columns so the save
data to file part might want to be an option.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
And a 3-D example.
This one is a bit more reasonable on the parsing time,
since it is only 13x13.
rc
Post a reply to this message
Attachments:
Download 'maze13.jpg' (37 KB)
Preview of image 'maze13.jpg'
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Bill DeWitt" <the### [at] earthlinknet> wrote in message
news:38b8a672@news.povray.org...
>
> "Robert Chaffe" <a0003738@airmail.net> wrote :
> >
> > Any interest?
> >
>
> Need you ask? Also, I would love to see this with some height, but I
> doubt that you could get much of it in any sort of real scene. I don't
> imagine that most renderings would use so many rows and columns so the
save
> data to file part might want to be an option.
>
I have posted another image that shows some height with a
slightly smaller maze.
My thought on the parsing time reduction was for possible uses of
a maze in an animation. The entire parsing time was for the
calculation of direction data. Since the direction data would not
change between renderings of scenes in an animation sequence,
it might be nice to just do those calculations once.
But you're right, most renderings probably don't need mazes that are
50x50 in size! Most of the details will be lost when viewed at an angle.
rc
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Ross Litscher" <lit### [at] osuedu> wrote in message
news:38b8a455@news.povray.org...
>
> man... you are insane. in a good way though. can you make an addition that
> will make something like a red path of dots that leads you down the
correct
> path?
>
> ross
>
This isn't the first time my sanity has been questioned! :-)
I really like that "red path of dots" idea.
rc
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Robert Chaffe wrote:
> Any interest?
Yes, of course.
--
Ken Tyler - 1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Robert Chaffe wrote:
>
> And a 3-D example.
>
> This one is a bit more reasonable on the parsing time,
> since it is only 13x13.
> rc
I like this one because I was able to solve it in about 2.5 sec. :)
--
Ken Tyler - 1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Oooo...
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Cool! If you scroll it up, in a short window, it looks like it is zooming
in...
"Robert Chaffe" <a0003738@airmail.net> wrote in message
news:38b8b3b2@news.povray.org...
> And a 3-D example.
>
> This one is a bit more reasonable on the parsing time,
> since it is only 13x13.
> rc
>
>
>
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |