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
2535
June 16, 2019
How to set camera as per height of 3d-model
Questions
models
,
3d
5
2829
November 26, 2020
Calculate the camera z position based on a number of factors
Questions
positioning
,
responsive
,
fov
,
depth
2
453
May 31, 2023
How to calculate how many screen pixels represent one world coordinate unit?
Questions
2
3627
July 28, 2018
How to have .glb files scale responsivley with users screen size?
Questions
scaling
,
gltf
,
responsive
,
glb
1
2490
June 11, 2019