You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* where eyeZ is equal to ((height/2) / tan(PI/6)).
130
+
* If no parameters are given, the default values are used as:
131
+
*
132
+
* - `fov` : The default field of view for the camera is such that the full height of renderer is visible when it is positioned at a default distance of 800 units from the camera.
133
+
* - `aspect` : The default aspect ratio is the ratio of renderer's width to renderer's height.
134
+
* - `near` : The default value for the near clipping plane is 80, which is 0.1 times the default distance from the camera to its subject.
135
+
* - `far` : The default value for the far clipping plane is 8000, which is 10 times the default distance from the camera to its subject.
136
+
*
137
+
* If you prefer a fixed field of view, follow these steps:
138
+
* 1. Choose your desired field of view angle (`fovy`). This is how wide the camera can see.
139
+
* 2. To ensure that you can see the entire width across horizontally and height across vertically, place the camera a distance of `(height / 2) / tan(fovy / 2)` back from its subject.
140
+
* 3. Call perspective with the chosen field of view, canvas aspect ratio, and near/far values:
0 commit comments