i needed the floodfill algorithm for a game i'm making. not just to color in an image. my example shows the algorithm working step by step. red is the filling color. blue are new nodes. i started with someone elses example and i was pretty confused. but now that i've read the code, broken it down and simplified it, flood fill is easy. the example doesn't have a script that automatically fills in surfaces for you. you'll have to read the code, learn how it works and write your own script. i've got to make flood fill work in 3d now, later.
1 reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users