Laura
06-27-2001, 04:28 AM
I have an OpenGL window under Delphi 4.0.
I'm trying to represent a view of the Solar System. I've defined the viewport as the size of the client area of the window, which is square and I've defined the clipping volume as follows:
glFrustum(-10,10,-10,10,2,37).
I've put the Sun just in the (0,0) which is the center point of the window. All of this is OK but the problem appears when I try to put a planet in another point. I use the quadric "Sphere" but it doesn't appear as a perfect round sphere at all and the situation is worst if I put the planet far away from the center point (0,0).
I hope you can help me. Thanks a lot and excuse my english.
I'm trying to represent a view of the Solar System. I've defined the viewport as the size of the client area of the window, which is square and I've defined the clipping volume as follows:
glFrustum(-10,10,-10,10,2,37).
I've put the Sun just in the (0,0) which is the center point of the window. All of this is OK but the problem appears when I try to put a planet in another point. I use the quadric "Sphere" but it doesn't appear as a perfect round sphere at all and the situation is worst if I put the planet far away from the center point (0,0).
I hope you can help me. Thanks a lot and excuse my english.