POV-Ray : Newsgroups : povray.binaries.images : A Maze 60kb Server Time
3 Oct 2024 10:20:50 EDT (-0400)
  A Maze 60kb (Message 1 to 10 of 33)  
Goto Latest 10 Messages Next 10 Messages >>>
From: Robert Chaffe
Subject: A Maze 60kb
Date: 26 Feb 2000 21:38:27
Message: <38b88e23@news.povray.org>
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'
mazetest.jpg


 

From: Ross Litscher
Subject: Re: A Maze 60kb
Date: 26 Feb 2000 23:13:09
Message: <38b8a455@news.povray.org>
>
> 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

From: Bill DeWitt
Subject: Re: A Maze 60kb
Date: 26 Feb 2000 23:22:10
Message: <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.


Post a reply to this message

From: Robert Chaffe
Subject: Re: And a Maze in 3-D 37kb
Date: 27 Feb 2000 00:18:42
Message: <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


Attachments:
Download 'maze13.jpg' (37 KB)

Preview of image 'maze13.jpg'
maze13.jpg


 

From: Robert Chaffe
Subject: Re: A Maze 60kb
Date: 27 Feb 2000 00:28:17
Message: <38b8b5f1@news.povray.org>
"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

From: Robert Chaffe
Subject: Re: A Maze 60kb
Date: 27 Feb 2000 00:31:18
Message: <38b8b6a6@news.povray.org>
"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

From: Ken
Subject: Re: A Maze 60kb
Date: 27 Feb 2000 00:38:50
Message: <38B8B7C8.AD67C43F@pacbell.net>
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

From: Ken
Subject: Re: And a Maze in 3-D 37kb
Date: 27 Feb 2000 00:41:41
Message: <38B8B873.2D72CF52@pacbell.net>
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

From: Bill DeWitt
Subject: Re: And a Maze in 3-D 37kb
Date: 27 Feb 2000 01:08:58
Message: <38b8bf7a@news.povray.org>
Oooo...


Post a reply to this message

From: Bill DeWitt
Subject: Re: And a Maze in 3-D 37kb
Date: 27 Feb 2000 01:11:27
Message: <38b8c00f@news.povray.org>
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

Goto Latest 10 Messages Next 10 Messages >>>

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