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

vectorizeex - paperspace coordinates
vectorizeex - paperspace coordinates
hi,
i changed the vectorizeex example to get the entities in world coordinates: in exsimpleview::update() i replaced the line
seteyetooutputtransform( eyetoscreenmatrix() );
with
seteyetooutputtransform( geteyetoworldtransform() ); .
this works fine except for files saved in paperspace view. in this case all entities of the modelspace which are seen through a viewport are displayed with their modelspace coordinates (instead of paperspace coords).
is there another matrix for seteyetooutputtransform which can be used to get all entities in paperspace coordinates?
torsten
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)