Author Topic: The distortion of the sphere.  (Read 891 times)

Offline Zemalax

  • byte
  • *
  • Posts: 10
    • View Profile
The distortion of the sphere.
« on: November 25, 2011, 09:30:44 am »
Hello! I have a problem, I create a sphere and displays it in the world. When she is at the center of the display - a round sphere (right), but when I ask her to the upper-right corner (where it generally move), it is distorted and looks like an ellipse or oval. Of course, I thought at the expense of what is due to camera angle, but I thought always that which side and the angle at which the sphere does not look - it will remain a sphere. Could you explain me or suggest how to fix it and what is the error.

Code - create sphere in the world
Code: [Select]
sph=Primitives.getSphere(15f);
sph.setAdditionalColor(new RGBColor(0, 255, 0));
sph.calcNormals();
sph.compile();
world.addObject(sph);
world.buildAllObjects();

sph.translate(0.0f,-7.85f, 0.0f);



[attachment deleted by admin]

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11745
    • View Profile
    • http://www.jpct.net
Re: The distortion of the sphere.
« Reply #1 on: November 25, 2011, 09:42:34 am »
That's perspective projection. It's totally fine this way.