user3363468
user3363468

Reputation: 15

Sphere changes its shape when it moves to corner in webgl(three.js)

Sphere is changing its shape to egg when it is moved corners of browser. Is there any possible solution so that its shape is not distorted. It is live example of three.js.

Upvotes: 1

Views: 412

Answers (1)

Kromster
Kromster

Reputation: 7436

This is how perspective distortions work with too wide angle. You might heard of it from the photography - called "Fish-Eye" effect.

To fix that you need a narrower field-of-view setting (usually supplied to camera on initialization). Or switch to Orthographic camera altogether.

Similar answered questions:

(OpenGL ES) Objects away from view centre are stretched

OpenGL ES 2.0 Camera Issues

Android openGL ES 2.0 scene scrolling

Upvotes: 1

Related Questions