Reputation: 15
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
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
Android openGL ES 2.0 scene scrolling
Upvotes: 1