Jump to content
  • Advertisement
  • entries
  • comments
  • views

Planet's revolution: done

Sign in to follow this  


Today i managed to finish the implementation of the planet's revolution. It was a bit tricky to convert the matrix to quaternions, interpolate the quaternions, and get back a matrix, especially due to precision problems. But it's now working.

In addition to this, a body near a planet follows its motion (translation AND rotation). Which means that if you land on the surface of a planet, the ground will look motionless, but the space background (stars, other planets) will look like it's slowly moving.

I tested that by travelling from Earth to Amalthea (a moon of Jupiter, of 83 Km's radius), attending a Jupiter-rise.

It was kind of magic, i must say. With correct graphics, it should look pretty amazing.

I still have to finish some basic stuff about physics (the space station must be in orbit around a planet - at the moment it's just in space void), then i'll move back on the graphics engine. Integrating the space box, the nebulaes (i got another idea to experiment), the milky way, and finally the planet terrain engine. This should take between 1 or 2 months, but don't take my word on it..
Sign in to follow this  


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!