几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】ransformations (http://www.dimcax.com/hust/showthread.php?t=18804)

yang686526 2009-05-07 05:12 PM

【转帖】ransformations
 
transformations
transformations
should all the matrices in the transform stack be applied when transfroming a geometry, or just the top matrix in the stack?
regards
steve
well, you have 2 choices -
one is to push the matrices in the stack as is.
then when you have to apply transformation, to multiply from the bottom to the top of the stack.
but it is quite useless.
so the second (much clearer): when you push a matrix in the stack, always multiply it to the current top of stack. then when you need to apply the trasnformation, use only the top of the stack.
i would reccommend the second one. faster and cleaner.
regards
chudomir


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