(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.
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?
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++.
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?
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
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.
hey if it is so the plz tel me wat to do to place planets at a desired position n i kow hw to create an circular orbit but hw to create an eleptical one?? answer needed asap
wl u cn strt wth a crcl orb an wen u gorrit dun u cn eezli swch 2 elips coz winapi has a func 2 do tat.