几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】3d coordinate transformation (http://www.dimcax.com/hust/showthread.php?t=14923)

yang686526 2009-05-04 03:00 PM

【转帖】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.


所有的时间均为北京时间。 现在的时间是 01:20 PM.