zhang.jian_bin Posted September 28, 2016 Posted September 28, 2016 Given a point in window coordinate(2D point, pixel point), I need to know the corresponding point in world coordinate, or viewing coordinate. This un-projection may results in different answers, typically the point on near plane of frustum would be acceptable. How can i do that?
silent Posted September 28, 2016 Posted September 28, 2016 Hi Zhang, Please, check the intersections examples: https://developer.unigine.com/en/docs/2.3.1/code/uniginescript/usage/intersections/ How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
zhang.jian_bin Posted September 28, 2016 Author Posted September 28, 2016 Oh, yes, I found that function in camera class: getDirectionFromScreen.
Recommended Posts