POV-Ray : Newsgroups : povray.binaries.images : A Maze 60kb Server Time
3 Oct 2024 08:16:51 EDT (-0400)
  A Maze 60kb (Message 21 to 30 of 33)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 3 Messages >>>
From: Steve
Subject: Re: A Maze 60kb
Date: 27 Feb 2000 09:31:34
Message: <slrn8bibqr.2dt.sjlen@zero-pps.localdomain>
On Sat, 26 Feb 2000 20:36:16 -0600, Robert Chaffe <a0003738@airmail.net> wrote:
>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?

Yes.

Saving data to file is a good idea, especially for those fly over
animations. 

There doesn't appear to be a way in,  so I couldn't do the 
puzel, as I didn't know where the start point and end point
was.  



-- 
Cheers
Steve              email mailto:sjl### [at] ndirectcouk

%HAV-A-NICEDAY Error not enough coffee  0 pps. 

web http://www.ndirect.co.uk/~sjlen/

or  http://start.at/zero-pps

  1:15pm  up 1 day,  9:06,  5 users,  load average: 2.02, 2.00, 1.92


Post a reply to this message

From: ingo
Subject: Re: And a Maze in 3-D 37kb
Date: 27 Feb 2000 09:36:42
Message: <8EE7917B3seed7@204.213.191.228>
Ken wrote:

>I can only make out about 2% of the text on that page. Any idea what
>platform that program runs on ? I notice the file is compressed in
>.LZH format which usually indicates it is not a Windows application.

Its for Windows. 
*.LZH seems to be quite popular in Japan. WinZip needs a plug in for it I 
think, but Zip'n'all < http://www.zipnall.com/ > supports it directly and 
is free.

Ingo

-- 
Photography: http://members.home.nl/ingoogni/
Pov-Ray    : http://members.home.nl/seed7/


Post a reply to this message

From: Robert Chaffe
Subject: Re: And a Maze in 3-D 37kb
Date: 27 Feb 2000 10:22:14
Message: <38b94126@news.povray.org>
"Ken" <tyl### [at] pacbellnet> wrote in message
news:38B### [at] pacbellnet...
>
> This one ?
>
>         Message-ID: <362AFF49.F4B8F49D@imerir.asso.fr>
>               Date: Mon, 19 Oct 1998 09:58:50 +0100
>               From: gemelli david <gem### [at] imerirassofr>
>         Newsgroups: povray.binaries.scene-files
>            Subject: A little program to solve mazes with POVRAY 3.1
>
>
> This is a recursive macro that solves the maze you described in an
> array. Two files:maze.pov & maze.inc
>
>                         Send opinions and ideas !

Wasn't even aware of that one.  It expects you to create the maze yourself.
Hmmm, perhaps a merging of the concepts...

rc


Post a reply to this message

From: Robert Chaffe
Subject: Re: A Maze 60kb
Date: 27 Feb 2000 10:25:40
Message: <38b941f4@news.povray.org>
"Steve" <sjl### [at] ndirectcouk> wrote in message
news:slr### [at] zero-ppslocaldomain...
> There doesn't appear to be a way in,  so I couldn't do the
> puzel, as I didn't know where the start point and end point
> was.

Barely visible.
Enter at very top, near the middle.
Exit at very bottom, also near the middle.

rc


Post a reply to this message

From: Robert Chaffe
Subject: Re: A Maze 60kb
Date: 27 Feb 2000 10:49:07
Message: <38b94773@news.povray.org>
Posted my Maze macro to povray.binaries.scene-files.
rc


Post a reply to this message

From: Ross Litscher
Subject: Re: A Maze 60kb
Date: 27 Feb 2000 12:36:53
Message: <38B9642F.E69318B8@cis.ohio-state.edu>
Robert Chaffe wrote:
> 
> "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



well, it takes one to know one as they say!


Post a reply to this message

From: Mike Weber
Subject: Re: A Maze 60kb
Date: 27 Feb 2000 14:14:27
Message: <38b97793@news.povray.org>
I just printed it so that my kids could solve it - is there a solution?

Mike

"Robert Chaffe" <a0003738@airmail.net> wrote in message
news: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

From: Robert Chaffe
Subject: Re: A Maze 60kb
Date: 27 Feb 2000 15:32:54
Message: <38b989f6@news.povray.org>
"Mike Weber" <mik### [at] pyxiscom> wrote in message
news:38b97793@news.povray.org...
> I just printed it so that my kids could solve it - is there a solution?
>
> Mike
>

My algorithm should produce exactly one solution.
Took me awhile to find it, but there is one.
rc


Post a reply to this message

From: SamuelT 
Subject: Re: A Maze 60kb
Date: 27 Feb 2000 16:05:12
Message: <38B99403.E490A72C@aol.com>
Good work Robert. I had an idea of making the solution with a variation of
the recursion macro; differencing the solution from the walls to make one
path that went through. Problem would be that there might be other
solutions.. .oh well.

Robert Chaffe wrote:

> <snip>

--
Samuel Benge

E-Mail: STB### [at] aolcom

Visit the still unfinished isosurface tutorial:
http://members.aol.com/stbenge


Post a reply to this message

From: Eric Freeman
Subject: Re: A Maze <56k jpg>
Date: 28 Feb 2000 01:29:44
Message: <38ba15d8@news.povray.org>
Ok... what do I win?

Eric
--------------------
http://www.datasync.com/~ericfree
--------------------
"The whole problem with the world is that fools and fanatics are always so
certain of themselves, but wiser people so full of doubts."
--Bertrand Russel


Post a reply to this message


Attachments:
Download 'mazetest_2.jpg' (56 KB)

Preview of image 'mazetest_2.jpg'
mazetest_2.jpg


 

<<< Previous 10 Messages Goto Latest 10 Messages Next 3 Messages >>>

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