几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】printing in hidden line mode (http://www.dimcax.com/hust/showthread.php?t=17977)

yang686526 2009-05-06 10:28 PM

【转帖】printing in hidden line mode
 
printing in hidden line mode
printing in hidden line mode
hi,
can we print in hidden line render mode by using the current version of dwgdirect? converting to bitmap may also work since we can use its code for our own print device. i know there is support for front and back plane, but not sure for printing in any of the 3d render modes.
thanks in advance for any help.
best regards
chudomir

yes, you can.
printing in hidden line render mode is available using both wingdi and opengl device. printing in other 3d render modes (flat shaded and gouraud shaded) is available using opengl device. the sample of using opengl device for printing is odamfcapp (see cdwgviewer::onprint).
in case using of wingdi device, hidden-line removing is performed analitically (if according flag is set - see odamfcapp), that can be time-consuming operation, but result is vector image.
sincerely yours,
george udov


所有的时间均为北京时间。 现在的时间是 05:53 AM.