1
vote
Accepted
Matrix math: How to specify camera distance so that an object with a given size is completely visible?
If your field of view is measured from the bottom of the frustum to the top, then at a distance d your frustum is h units tall, where:
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
3d × 1924unity × 370
opengl × 218
c# × 167
mathematics × 165
xna × 155
2d × 125
c++ × 112
models × 110
java × 100
camera × 99
graphics × 96
collision-detection × 95
rotation × 91
physics × 83
matrix × 80
rendering × 72
animation × 65
geometry × 64
3d-meshes × 64
blender × 60
textures × 59
vector × 54
projection × 51
shaders × 50