Skip to content
Advertisement

Why when I change position about the axis(x, y), my figure change shape like in picture below?

When I change position about the axis(x, y), my figure change shape like in picture below. How can I fix it? I’m using Three.js.

JavaScript

enter image description here

Advertisement

Answer

If you want to maintain the shape of your figure when you change the position, you’ll need to switch to an orthographic projection.

To do so in three.js you’ll need to replace your PerspectiveCamera with an OrthographicCamera.

Here’s a link to the docs that’ll help you.

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement