
Note that flood filling is not suitable for drawing filled polygons, as it will miss some pixels in more acute corners.

A variant called boundary fill uses the same algorithms but is defined as the area connected to a given node that does not have a particular attribute. It is used in the "bucket" fill tool of paint programs to fill connected, similarly-colored areas with a different color, and in games such as Go and Minesweeper for determining which pieces are cleared. The center of the bounding box surrounding the objects’ origins.Algorithm in computer graphics to add color or texture Recursive flood fill with 4 directionsįlood fill, also called seed fill, is a flooding algorithm that determines and alters the area connected to a given node in a multi-dimensional array with some matching attribute.

The Cursor to Selected option will snap the 3D cursor to

Cursor to Selected Places the cursor to the center of the current selection, unless see below. Selection to Active Moves the selection to the origin of the active object. Instead, they are centered around the 3D cursor, maintaining their relative distances.

If there are multiple objects selected, they are not moved individually at the cursor position Selection to Cursor (Offset) Places the selection at the position of the 3D cursor. Selection to Cursor Moves each one of the currently selected object(s) to the cursor location. Selection to Grid Snaps the currently selected object(s) to the nearest grid point. This menu provides a number of options to move the cursor or your selection to a defined point The Snap menu (also available from the 3D header in both Object Mode and Edit Mode Object ‣ Snap and Mesh ‣ Snap).
