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