PDA

View Full Version : how to draw a object without redrawing the others



wyu
07-09-2004, 11:35 AM
In my project, I need to display a large number of objects. Then I need to select and move some of the objects.

When I move the objects, I need to redraw the selected objects. For performance reason, I just want to redraw the selected objects, not the whole thing. Is this feasible?

Thanks.

WJ

endash
07-09-2004, 01:27 PM
Define "large number". The short answer is no, but keep in mind that games have the smae limit and they do just fine redrawing the whole scene every time.

You could do some hack to noly redraw one thing, but I doubt you'd need to unless you are doing something very unusual.