mtn benchmarks

new topic     » topic index » view thread      » older message » newer message

In case anyone is interested, on my p166 my little mountain thing created
a 1025x1025 terrain map in 518.27 seconds (8.63 minutes for 1,050,625 data
points)  As you increase maxlevel you increase the compute time
exponentially.  It goes something like this:

maxlevel     grid size  number of data points   time
5             33x33       1089                      .11
6             65x65       4225                      .27
7            129x129      16641                    1.04
8            257x257      66049                    5.66
9            513x513     263169                   43.83
10          1025x1025   1050625                  518.27

This is mucho faster than the last time I wrote this in gwBasic on a
4.77XT in CGA. It took minutes to do a 129x129.

I guess it'll go as big as you want.  Generally for creating 3d models for
professional animations, we use a 129x129 or 257x257 height map most of
the time.

BTW the algorithm for the fractal thing came from "The science of fractal
imaging."  Good book, lots of pretty pictures, lots of neato pseudocode.
(most of which translated into Euphoria without modification other than
than to account for the weird non-standard "let's start counting from 1
just to be different from EVERY OTHER LANGUAGE" stuff.)

Anywho, if anyone finds any of this stuff amusing at least let me know.

Michael Packard
Lord Generic Productions
lgp at exo.com http://exo.com/~lgp/euphoria

Hey Rob, I wanna be able to count BACKWARDS, like from 10 to 1 by -1.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu