PDA

View Full Version : Picking Problem with screen re-drawing



Tom Thorp
04-23-2008, 07:29 AM
I have my picking routine working fine. It basically is a copy of code in NeHe lessen 32. I redraw all the objects in filled mode with names, then find the active one to pick.

My problem is, for no apparent reason, when I do this, I'm getting the draw for the names on for one update cycle. The screen flashes and it looks bad. Until this morning it did not do this, it worked like one would like. This is when picking, nothing was flashing on the screen.

I cannot figure out how to keep the buffer from re-drawing to the screen. Any suggestions?