Hi, May be I've to elaborate a little bit?
I see the process like this: 1) you transpose each cell of your initial array to a pixel of a picture where the coordinates of the pixel is equal to the coordinate of the cell and the grey color of the pixel is equal to the elevation in the cell 2) you zoom the picture (200%): basically, each initial pixel become a square of 4 pixels all the same color, but I'm sure there are functions to evaluate three of them in intermediate color according the color of the neighbour pixels (Hope you understand what I mean!) so the final picture is as precise and smooth as the initial picture was, but four times bigger. 3) you repeat 2) a number of times 4) you transpose each pixels from the final picture to the cells of an array where each cells contains the elevation equal to the grey value of the corresponding pixel. My english skill can not permit me to say more. Please, if someone could correct me, thanks in advance to do it! regards, Dominique Simonart Le 25/01/2010 00:17, Simonart Dominique a écrit : > > Hi, > I've just a crude idea and know nothing more on this subject! > If you assume that each value in your big array is a color > value instead of an integer, may be you can find some > graphic effect wich simulate your algorithm. > It seems to me that it's like to find an intermediate color > between 2 others. > Think each cell of your final array as a colored pixel with > color equal to the elevation > > The graphical chips are so sophisticated and powerfull that > they could accelerate your process by a one million factor > > HTH > Dominique Simonart ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
