need tips

Started by
0 comments, last by V-man 17 years, 6 months ago
Hey, I'm "helping" my brother to do his master thesis on real time orbits calculation for satellites. What I want to do is a 3d visualization of this: show the earth with the satellites orbiting around. I want the earth to look as good as possible (like one sees it in celestia, or other apps alike). What CG techniques could make an opengl earth look like earth? Thanks
"Through me the road to the city of desolation,Through me the road to sorrows diuturnal,Through me the road among the lost creation."
Advertisement
Your question is not GL specific.
There is no "GL earth". GL has its graphics pipeline defined in its specification. If you want to use it, you need to study it.
You could do something simple like a textured sphere that shows the continents and oceans. Draw another larger sphere with a transparent regions and cloudy regions for the sky.
You can go futher with bumpmaping and scatter lighting, glow effect, ...
Sig: http://glhlib.sourceforge.net
an open source GLU replacement library. Much more modern than GLU.
float matrix[16], inverse_matrix[16];
glhLoadIdentityf2(matrix);
glhTranslatef2(matrix, 0.0, 0.0, 5.0);
glhRotateAboutXf2(matrix, angleInRadians);
glhScalef2(matrix, 1.0, 1.0, -1.0);
glhQuickInvertMatrixf2(matrix, inverse_matrix);
glUniformMatrix4fv(uniformLocation1, 1, FALSE, matrix);
glUniformMatrix4fv(uniformLocation2, 1, FALSE, inverse_matrix);

This topic is closed to new replies.

Advertisement