A little ask about how threejs function.
LookAt is needed to init a camera yes or not? There is a relationship with makePerspective or its two thing completly different ?
A little ask about how threejs function.
LookAt is needed to init a camera yes or not? There is a relationship with makePerspective or its two thing completly different ?
makePerspective Creates a perspective projection matrix.
makeOrthographic Creates a orthographic projection matrix.
LookAt Sets the rotation component of the transformation matrix, looking from “eye” towards “target”, and oriented by the up-direction.
completely different. .lookAt can be used to make an object (not just cameras) “point” towards another point.. (making its Z axis point towards another point)
the make** methods are used to change a projection matrix.