Skip to main content
GameDev.net gamedev.net
🔒 Locked

How to find the pixel coordinates of a 3D point?

Started by nbertoa Jan 9, 2017 at 4:01 AM 1 replies 2.7k views
Original Post
nbertoa
nbertoa

Hi, community.

Recently, I felt I needed to improve my knowledge about perspective projection matrix and depth buffer, so I think a good idea is to write some posts explaining the doubts I had and the sources I read to evacuate them. This could be useful for others and a good reference for me.

The post is the following

https://nbertoa.wordpress.com/2017/01/09/how-can-i-find-the-pixel-space-coordinates-of-a-3d-point-part-1/

It explains the different space transformations from Local Space to Pixel Space and talks about Homogeneous space too.

If you have any suggestions (things to add, modify, things that are wrong, corrections, etc) please let me know, because the intention of this post (in addition to helping people with the same doubts than me) is to learn if my knowledge is correct or not.

Hope you find it useful!

loreStefani
loreStefani
Great article. There is only one thing I'd suggest to elaborate on. I can think of other two reasons why the clipping is performed in clip space:
1 - computation of vertex attributes for generated vertices can be done by simple lerping
2 - you avoid external segment to show up. You can read about this on the great paper by Blinn: https://www.microsoft.com/en-us/research/publication/clipping-using-homogeneous-coordinates/
nbertoa
nbertoa

Thanks IoreStefani. I will read your suggestions and update the post and include a reference to your post in the article

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.