I have been curious about how this kind of seamless transition from space to planet can be implemented. It would be nice if someone could explain this as I can't really wrap my head around the solution.

  • \$\begingroup\$ What part of it specifically? It would be similar to any other continuous world implementation. Only loading the content near the player and using a level of detail system to keep resource use low. \$\endgroup\$
    – MichaelHouse
    Nov 29 '12 at 15:36
  • 3
    \$\begingroup\$ Perhaps this post from the Infinity developers might help. \$\endgroup\$ Nov 29 '12 at 19:06
  • \$\begingroup\$ Ahh, Infinity. Such a beautiful project. \$\endgroup\$
    – Djentleman
    Jan 5 '13 at 6:24

Over time, move the camera from far away from the planet to close to the planet surface. This is analogous to the way that you can seamlessly transition from one side of a Quake level to the other side, merely by moving the camera from one side to the other.

There really is no fundamental difference between the two.

  • 2
    \$\begingroup\$ I'm adding "completely seamless transitions from one side of a level to the other" to my engine's feature list. ;) \$\endgroup\$ Nov 30 '12 at 1:52
  • 1
    \$\begingroup\$ One thing I notice in the video that you don't mention in your answer is a fairly obvious LOD technique. en.wikipedia.org/wiki/Level_of_detail \$\endgroup\$ Nov 30 '12 at 3:03
  • \$\begingroup\$ I haven't watched the video. But honestly, there's nothing magic about going from space to a planet surface. It's all just triangles. :) \$\endgroup\$ Nov 30 '12 at 4:26
  • \$\begingroup\$ Ah, so easy. I was overthinking it. This would require translating the point of orbit entry into what "level" should be loaded in front of the player. But that's another question I guess. \$\endgroup\$
    – Phil
    Nov 30 '12 at 15:07
  • \$\begingroup\$ @TrevorPowell Nothing magic, but if you try to render all the triangles present on the planet's surface (watch the video) when you are very far away, you are going to have a fractional frame rate. You must use a level of detail technique to do this. It is not simply transforming the camera closer to the planet. \$\endgroup\$ Nov 30 '12 at 16:08

Write a Function that describes your Surface, and then do low sampling on far distances and tight sampling on near distances. And then add some shiny visual effects.




This guy did exactly what your looking to do, his site goes into tons of details.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.