几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】limiting the number of objects and boosting up the performan (http://www.dimcax.com/hust/showthread.php?t=17035)

yang686526 2009-05-06 04:47 PM

【转帖】limiting the number of objects and boosting up the performan
 
limiting the number of objects and boosting up the performan
limiting the number of objects and boosting up the performance
dear all,
i am working on project base upon odvectorizex + odreadex projects. the objects are being rendered using opengl (windows).
* the problem is that, there are huge number of objects..... many of them are duplication and are unnecessary.
* so i want to know is there any way that i can limit the number of objects, and get performance optimization.
* any other performance boosting techniques are also most welcommed......
michael
hi,
if gsmodel is enabled, the opengl vectorizer creates a separate display list for each object present in modelspace. this increases the initial rendering time a lot, and in general doesn't help performance.
to avoid this problem you can group objects (move them to blocks) and insert block references in modelspace instead. this works well as long as you don't have to select/manipulate individual objects.


所有的时间均为北京时间。 现在的时间是 04:30 PM.