some time ago, I didn"t understand the concept of viewbox window in svg, but when I was learning threeJs, I learned that the concept of camera has something similar. I hope someone can give me some guidance.
some time ago, I didn"t understand the concept of viewbox window in svg, but when I was learning threeJs, I learned that the concept of camera has something similar. I hope someone can give me some guidance.
seems to be a little similar
viewbox can be understood as a window. The closer you are to the window, the larger the thing you see, and vice versa, the smaller the window
.the camera is similar, except that the transformation of the camera is much more complicated, and the similar effect can only be achieved through the transformation of the matrix
.