Jump to content

How to un-project window point?


photo

Recommended Posts

Posted

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?

Posted

Oh, yes, I found that function in camera class: getDirectionFromScreen.

×
×
  • Create New...