NDC issue

   1154   0   0
User Avatar
Member
141 posts
Joined: Dec. 2015
Offline
Hey

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!

Szabolcs
  • Quick Links