chao.zhang Posted July 16, 2012 Posted July 16, 2012 Hi all; need your help! If I have a point(x, y, z) in the world coordinates in unigine scene, how can i compute its (xi, yi) coordinates in the rendered image that shown on the screen and vice visa? Are there any ready function in unigine API to do this? thank you in advance!
frustum Posted July 16, 2012 Posted July 16, 2012 data/core/scripts/utils.h: int Unigine::getScreenPosition(Vec3 point,int &x,int &y);
Recommended Posts