Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   i am searching solar system code (http://www.go4expert.com/forums/i-searching-solar-code-t17897/)

mugnebot 7Jun2009 20:13

i am searching solar system code
 
i need solar system code can anyone find? i m so glad

SaswatPadhi 7Jun2009 20:25

Re: i am searching solar system code
 
(1) Why do you keep posting this again and again ? :mad:
(2) Why do you ask for complete code ? We will help if you are stuck.

mugnebot 8Jun2009 00:41

Re: i am searching solar system code
 
Quote:

Originally Posted by SaswatPadhi (Post 49145)
(1) Why do you keep posting this again and again ? :mad:
(2) Why do you ask for complete code ? We will help if you are stuck.

guy i need too. i have no time.

xpi0t0s 8Jun2009 04:27

Re: i am searching solar system code
 
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 8Jun2009 06:43

Re: i am searching solar system code
 
LOL, nothing like Da Vinci code ! :rofl:

Look at his other thread. The guy is asking for a 3D solar system like model using OpenGL, in C++.

shabbir 8Jun2009 07:36

Re: i am searching solar system code
 
Quote:

Originally Posted by mugnebot (Post 49149)
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 8Jun2009 12:40

Re: i am searching solar system code
 
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 8Jun2009 12:44

Re: i am searching solar system code
 
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 8Jun2009 13:43

Re: i am searching solar system code
 
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 8Jun2009 13:49

Re: i am searching solar system code
 
Yeah. LOL ;)


All times are GMT +5.5. The time now is 12:56.