PDA

View Full Version : FloodFill Algorithm



atiface
05-15-2002, 01:31 AM
Can any one tell me the floodfill algorithm. I would appreciate if u give the code. I need it for height field.
Thank You very much!!

Robbo
05-15-2002, 02:08 AM
Hi,

It involves the use of a stack (theres a hint) and you can find it in ALMOST ALL 2d graphics textbooks and on the internet. Just do a search on FloodFill http://www.opengl.org/discussion_boards/ubb/wink.gif