高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】3d coordinate transformation
3d coordinate transformation ????
3d coordinate transformation ????
hi all,
first of all, thanks in advance for any help you can give me!
i'm developing a little 3d application which uses dwgdirect to show background dwg files (i use the dwgdirect rendering functions passing it a hdc to draw, before drawing my entities on the same hdc), but i'm facing this big problem:
to work correctly in a 3d environment i would need a sort of "callback function" to allow me to transform the original (2d planar) dwg file coordinates to a new 2d coordinates which are the result of a z coordinate assignment and a projection accordingly to some viewing angles. this shoul be done before rendering the dwg entities.
i hope i've been clear enough, sorry for my poor english
thank you very much for any help!!!
bye, carlo.
|