We help IT Professionals succeed at work.

Graphics Engine Ideas...

oxygen_728 asked
Medium Priority
Last Modified: 2013-12-04

I'm interested in making a graphics engine where the user can zoom out to "globe" level but zoom in to "state and city" level ...

Any interesting implementation ideas?

Any advice?

Watch Question

Technology Lead

Well the first thing you need to know i distortion at great distances.  The greater the distance the less detail that is shown.  Doing this will allow the complex zoom out that you want.  In OpenGL this is a rather simple thing to do... with a camera and moving the camera to the desired position and then scoping the camera back towards the surface of your oblique sphereoid...  

Not really an engine being what you need more or less just a simple program.


Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts


Are you basically referring to mip mapping & decreasing the number of vertices on models being shown as distance from the object increases?
Andrew BeersTechnology Lead
*nods*  The only thing your going to have to focus on in doing this with OpenGL is the clipping planes.  You'll need to adjust the far clipping plane in openGL so it allows for backing off from the surface of the sphere without starting to clip the sphere at larger distances.  In OpenGL you can create a huge sphere (or mesh to allow for city and state creation and populate it with the objects you wish, as you back away from the scene you can begin to remove things from the rendering list such as buildings, streets, etc.  and leave only the things that you can see from larger distances such as coast lines, cloud cover...  

....This is a frequent process used in MMO's with space and flight simulation where the sky height is not limited.  For instance from the moon if you render both celestial bodies the earth is visible and vice versa but with less detail than flying @ 2miles from the surface of the earth.  The sphere is still the same object just things were flagged and removed from the rendering list.



Sounds like fun. Thanks for the advice =)

I'm going to go ahead and leave the question open for a few days for further input if anybody passes by.

Thanks a lot
Dushan De SilvaTechnology Architect
This might help for you, you can have a idea with

BR Dushan
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.