quote:Original post by C Coder
p.s. Any ideas on calculating which part of spheres to draw when camera is near by?
I am not sure what your program does. If you are writing a planet
engine then I think there is probably a very simple solution
for determining the horizon. It has to be based on the perspective
projection matrix. If you found the circular horizon then you
could render a large rectangluar patch for the terrain. The
corners would wrap around the edges of the circular viewing
section ( it would be circular at all times ).
That''s my best answer - I apologize for not having the
algorithm handy.