![]() |
【转帖】gsmodel with many small model space entities
gsmodel with many small model space entities
gsmodel with many small model space entities hello, i have found gsmodel to be a crucial feature when working with large, complex drawings. it does, unfortunately, also have some drawbacks. recently i have come across drawings which contains a large number of small model space entities (e.g 80 000 entities), and this takes a long time to load when using gsmodel. as far as i can see (from looking at the source), a "gsmetafile" will be created for each model space object. for the opengl device this could mean creating several thousand display lists, each containing only a single line. is there any way to disable gsmodel for specific entities/entity types (e.g oddbline)? if yes, can i do it myself by rewriting the device code, or does it have to be done in the library itself? you control what is cached. you may create not gl lists in some cases, but store geometry. e.g. you may ask device context for currentdrawable(), (it is current oddbentity in case of dwg rendering) vladimir |
所有的时间均为北京时间。 现在的时间是 09:11 PM. |