![]() |
【转帖】how to ensure view direction
how to ensure view direction?
how to ensure view direction? hi, i my code before calling odgsbasevectorizeview::update(), i am doing, odgematrix3d eye2screen(eyetoscreenmatrix()); seteyetooutputtransform(eye2screen); doesn't it ensure that my view direction is perpendicular to device screen i.e. in z axis? thanks, harsha hi, eyetoscreenmatrix is a product of screen and projection matrices, so doesn't contain any transformation of view direction. view direction included in worldtoeye transformation, not in eyetooutput. so you can be sure that view direction is perpendicular to device screen if you set eyetooutput transformation to eyetoscreen. |
所有的时间均为北京时间。 现在的时间是 09:50 AM. |