![]() |
【转帖】performance problems when selecting and highlighting objects
performance problems when selecting and highlighting objects
performance problems when selecting and highlighting objects. hello! we are using oddbselectionset::select() to select and highlight objects on the attached drawing. this method works ok but next when i use dolly/zoom on active view and then call update() on odgsdeviceptr, the graphics is updated but very, very slowly. this can be verified with the odamfcapp too: -start odamfcapp -load attached dwg (acad2004 format) -use wingdi with geometry cache enabled -zoom to some visible entity and select it -> it takes many seconds to select the entity, this wasn't the case with v.1.14 library -then might try to select another object and try to zoom -> again everything happens really slow, cpu load goes to 100% for a long time. the problem library version we are now using is the v.2.42. the v.1.14 we used didn't have this performance problem. it would be very nice if someone could take a look at this drawing to see if there is something that could be done. attached files using selection in 2.4 causes full screen update, because partial regeneration was not supported. in 2.5 it should be faster. (try the beta version to check) in 2.4 you may avoid this problem by just not using built-in selection, and rendering overlay graphics, like in earlier versions. vladimir |
所有的时间均为北京时间。 现在的时间是 05:14 PM. |