Atm I need only the OSG part.
It's just a quick work for some1 who knows something about OSG.
I got ready template and Your work will be only to add few small things.
You can find more details in the description:
The code you have to demonstrate will have to implement a system of planets. All planets will have to spin about their own axis and orbit around a sun, which spins only about its own axis. The planets may defy gravity and orbit in different directions. All planets are texture mapped. The sun emits light. There are distant stars that shine and space has small lights in the distance. There are asteroids passing by, but not colliding with the planets, they have linear trajectory. In order to make this more interesting, you have to implement 8 spot lights than shine on the planets' scene. Spotlights are represented by small spheres. A billboard for each one of the planets and the sun is used to indicate the name of the planet. Each planet spins about an axis which is indicated by a short and thin cylinder that comes out of the planet. Planets can be picked and moved; their trajectory would change, but the picked planet will orbit around the sun. The sun cannot be picked.
I got the template with solar system, all what need to be done is to make changes that you can see above