Does anyone have an algorithm for taking a non-rectangular shape and using it as a selection tool (like MSPAINT)?
Does anyone have an algorithm for taking a non-rectangular shape and using it as a selection tool (like MSPAINT)?
Sorry I dont understand, you'll need to be more specific.
Do you know of an algorithm that can
take a closed shape (say a figure 8)
and determined which pixels are inside
the shape and which are outside?
sorry, not entirely but it sounds like it depends on the shape. Try going to www.opengl.org or www.gamedev.net - this is more of a graphical question and they will be better at answering your question (hopefully!)