Graphics Engine Ideas...

Posted on 2006-03-23
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?

Question by:oxygen_728
    LVL 10

    Accepted Solution


    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.


    Author Comment

    Are you basically referring to mip mapping & decreasing the number of vertices on models being shown as distance from the object increases?
    LVL 10

    Assisted Solution

    by:Andrew Beers
    *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.


    Author Comment

    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
    LVL 17

    Assisted Solution

    This might help for you, you can have a idea with

    BR Dushan

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Suggested Solutions

    What is RenderMan: RenderMan is a not any particular piece of software. RenderMan is an industry standard, defining set of rules that any rendering software should use, to be RenderMan-compliant. Pixar's RenderMan is a flagship implementation of …
    As game developers, we quickly learn that Artificial Intelligence (AI) doesn’t need to be so tough.  To reference Space Ghost: “Moltar, I have a giant brain that is able to reduce any complex machine into a simple yes or no answer. (http://www.youtu…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now