查看单个帖子
旧 2009-05-06, 10:28 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】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:nprint).
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
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)