i am searching solar system code

mugnebot's Avatar
Go4Expert Member
i need solar system code can anyone find? i m so glad
SaswatPadhi's Avatar, Join Date: May 2009
~ Б0ЯИ Τ0 С0δЭ ~
(1) Why do you keep posting this again and again ?
(2) Why do you ask for complete code ? We will help if you are stuck.
mugnebot's Avatar
Go4Expert Member
Quote:
Originally Posted by SaswatPadhi View Post
(1) Why do you keep posting this again and again ?
(2) Why do you ask for complete code ? We will help if you are stuck.
guy i need too. i have no time.
xpi0t0s's Avatar, Join Date: Aug 2004
Mentor
Personally I haven't got a clue what you're asking for. What is "solar system code"? Is it something like the Da Vinci Code?
SaswatPadhi's Avatar, Join Date: May 2009
~ Б0ЯИ Τ0 С0δЭ ~
LOL, nothing like Da Vinci code !

Look at his other thread. The guy is asking for a 3D solar system like model using OpenGL, in C++.
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Quote:
Originally Posted by mugnebot View Post
guy i need too. i have no time.
We also have no time to write your code and try to avoid creating the same thread more than once.
xpi0t0s's Avatar, Join Date: Aug 2004
Mentor
Oh right. Well that's not such a difficult program to write; you just need to know how to draw a sphere, maybe with a bitmap representation of the surface, then draw 10 spheres (sun+9 planets), to whatever scale is appropriate, and move the planets around the sun at comparatively realistic rates.
Do the orbits need to be circular or elliptical?
Do you need to include moons? Asteroids?
How much time should the longest revolution of a planet around the sun take?
Is it OK for the planets to be spherical or do they have to be more realistic than that?

mugnebot: could you clarify the comment "I need too. I have no time"? Is this a programming assignment of some kind (college etc)? Why do you have no time? Are you on an programming course that includes OpenGL? If you want us to help you out here then you need to be honest with us about your situation.

Also how much code have you written so far and where are you stuck?
SaswatPadhi's Avatar, Join Date: May 2009
~ Б0ЯИ Τ0 С0δЭ ~
Solar system = Sun + 8 planets = 9 spheres
(If you consider dwarf planets then Solar system = sun + 8 planets + 5 dwarf planets)

Source Wikipedia : http://en.wikipedia.org/wiki/File:Planets2008.jpg
xpi0t0s's Avatar, Join Date: Aug 2004
Mentor
Hey satwat you're really on form picking up all my silly mistakes aren't you.
Must be careful to triple check my posts from now on before pressing Post.
SaswatPadhi's Avatar, Join Date: May 2009
~ Б0ЯИ Τ0 С0δЭ ~
Yeah. LOL