View Full Version : lasso selection

Taylor Holliday
01-22-2006, 11:34 AM
Hi all,

First post here. I'm implementing lasso-style selection tool for one of my programs, a little 3d modeler.

Does anyone know of an elegant simple approach to this? My initial idea is to tesselate the selection loop, rasterize it, and then AND its image with the scene rendered as object id's (as in "Object Selection Using the Back Buffer" in Chapter 14 of the red book).

- Taylor

01-22-2006, 12:45 PM
I would probably do that with alpha masks...

Taylor Holliday
01-22-2006, 01:49 PM
Yeah, I could use the stencil buffer for the AND. I'm just wondering if there's a common/standard way of doing this type of thing?


Taylor Holliday
02-25-2006, 09:38 AM
Hi, as a follow-up, my lasso selection code is available at http://wtholliday.org/software/#code Cheers!