查看单个帖子
旧 2009-05-06, 11:07 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】problem with 3dsolid

problem with 3dsolid
problem with 3dsolid
hello,
attached is drawing containing problematic 3dsolid object. somehow holes in the 3dsolid object are not shown correctly.
i have tried to use two different options while handling this object:
option #1:
...
oddb3dsolidptr psolid;
psolid = pent; // pent is oddbentityptr*
// explode to 3d polyface mesh
odrxobjectptrarray objectarray;
psolid->explodegeometry(objectarray);
...
option #2:
...
odgicontextdumper ctx(pent->database());
// odgiworlddrawdumper is inherited from odstaticrxobject<odgiworlddraw>
odgiworlddrawdumper gd(pdwgmanager, pent, psymbol);
gd.setcontext(&ctx);
pent->worlddraw(&gd);
...
do you have any ideas what might be wrong?
regards,
antti
attached files
hi,
it is limitaton of acis renderer. renderer sometimes skip holes. you can change normaltolerance parameter of triangulation params to 1. (default 15), it will fix problem in mfcapp.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)