NDC issue

   249   0   0
User Avatar
52 posts
Joined: Dec. 2015

I would like to represent my models in the camera in 2D pixel coordinates. I wanted to use the toNDC function, horizontal coordinate looks good, but the second parameter it returns (if it returns at all) is always 0.

What I'd like to achieve is to represent my objects point in camera space (i.e. pixel locations) and from this, I want to calculate the 2D bounding box of the rendered model

Thank you in advance!

  • Quick Links