Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: FloodFill Algorithm

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2002
    Location
    pakistan
    Posts
    6

    FloodFill Algorithm

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

  2. #2
    Advanced Member Frequent Contributor
    Join Date
    Jul 2001
    Posts
    533

    Re: FloodFill Algorithm

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •