three.js forum
Functions to calculate the visible width / height at a given z-depth from a perspective camera
Resources
camera
,
perspective-camera
yangzh8343
October 15, 2018, 3:01am
20
I need these function,thank you
Get coordinates of viewport boundaries
show post in topic
Related topics
Topic
Replies
Views
Activity
How to resize objects at different z-positions to exactly fit camera (width and height)?
Questions
camera
,
transform
4
2681
June 16, 2019
Is it possible to know at what distance of the camera from the cube the height of the perspective projection of the cube will be equal to the height of the screen?
Questions
coordinate-system
,
math
20
5588
September 12, 2022
Camera Zoom To Fit Object
Questions
camera-controls
,
camera
34
76669
April 14, 2023
[SOLVED] How do we size something using screen pixels
Questions
coordinate-system
8
26618
January 15, 2019
Three.js screen width
Questions
math
2
4173
October 31, 2020