lasso selection

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

I would probably do that with alpha masks…

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?


Hi, as a follow-up, my lasso selection code is available at Cheers!