Skip to content Skip to sidebar Skip to footer

Three.js Orthographic Camera: Zoom All For A Cube With Perspective

I have developed a simple three.js application that renders a cube. I have created three files: index.html, viewer_style.css and viewer.js. The content of index.html is the followi

Solution 1:

Your code is correct if you change aspect < 1 to aspect > 1, as suggested. Here is a jsfiddle with your code that demonstrates this: https://jsfiddle.net/holgerl/kk5h39qa/


Post a Comment for "Three.js Orthographic Camera: Zoom All For A Cube With Perspective"