高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】odgicommondrawdeviation
od*gi*common*draw::*deviation
odgicommondraw::deviation not called
hi
i am writing a program which creates vrml files from dwg files. i wrote it modifying the sample readex. i got vrml files out and it's perfect. but the problem is there are too many polygons. odgigeometry::shell function gives about 300 faces just for a cone. i would like to reduce the number of the faces.
i thought changing the return value of odgicommondraw::deviation changes the tessellation levels. but the deviation function never gets called.
how can i get odgicommondraw::deviation gets called? or is there any other way to change the number of faces that odgigeometry::shell receives?
i would appreciate any help.
last edited by hkajima; 5th june 2006 at 12:01 amfff">.
|