how can use Orthogonal camera?
Set your camera
to have a parallel projection instead of the default perspective projection: Camera::setParallelProjection.
2 Likes
how can set FlyByCamera support ParallelProjection zoom ?
The visual effect of zooming is done in a parallel projection by altering the distance between the side planes of the camera frustum - the bigger the distance between the planes, the farther zoomed out the image will appear.
See Camera::setFrustum() - I suggest using the setFrustumTop()
, setFrustomLeft()
, etc. methods rather than this one, as you probably don’t want to change the frustum near/far planes, just the side planes.
2 Likes
yes ,the hub is good,and The people here are very nice!!
1 Like