In THREE.js:
How to calculate how many screen pixels represent one world coordinate unit?
If it’s about perspective and depth then this function will help, otherwise you should provide more information.
2 Likes
For example, I have a unit cube. When there is no scaling, I want to get one coordinate unit represented by how many screen pixels.
When I zoom in, then this one coordinate unit is represented by how many screen pixels.
thanks.