Jump to content
Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.
Posted 18 May 2012 - 08:50 AM
Posted 18 May 2012 - 03:38 PM
to see if it contains a space that needs to be filled in
Posted 19 May 2012 - 12:39 PM
Posted 19 May 2012 - 12:48 PM
Posted 19 May 2012 - 06:02 PM
Posted 20 May 2012 - 10:22 AM
Create a blank grid with each block set to a given value, say 0. Then place your object on the grid so that each block in your object has a different value, say 1. Then flood fill the outside of your grid with a different value, say 2. Whatever is left as 0 is a hole on your object.
GameDev.net™, the GameDev.net logo, and GDNet™ are trademarks of GameDev.net, LLC.