3D point to pixels

Everything DG Kernel: Technical discussions and issues
Post Reply
alexm
Posts: 1
Joined: Wed Jun 19, 2024 9:09 am

3D point to pixels

Post by alexm »

Hi all
Is there a way to convert coordinates of 3D points to screen coordinates in pixels of its image?
Thanks
Prashant Kande
Posts: 65
Joined: Tue Jun 18, 2024 6:12 am

Re: 3D point to pixels

Post by Prashant Kande »

IView_DG.ProjectToScreen() does the conversion.

Remember that (0, 0, 0) 3D point does not map to (0, 0) pixel on screen

Regards
Post Reply