Solar System Generators

Post requests, images, descriptions and reports about work in progress here.
Topic author
ajtribick
Developer
Posts: 1855
Joined: 11.08.2003
With us: 21 years 3 months

Solar System Generators

Post #1by ajtribick » 27.01.2004, 21:27

I'm quite interested in programming one of my own. Anyone know any tips on how to do it, and any available source code?

I'm a Visual Basic programmer at the moment, but previously I used Pascal, and I also know enough JavaScript and C syntax to get by so long as advanced OOP stuff isn't used.

High Dark Templar
Posts: 30
Joined: 30.05.2002
With us: 22 years 5 months
Location: Madrid (Spain)

I started long ago this project, but I don't have time now.

Post #2by High Dark Templar » 28.01.2004, 00:38

I started long ago this project, but I don't have time now to continue, all my works had been made in excel and it is not finish already but you visit :

http://usuarios.lycos.es/darktemplars/Index.html


I have the rest of formulae to create REAL random planetary systems, if you want please contact me at:

j_omar7@hotmail.com

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #3by selden » 28.01.2004, 00:53

Brons' solar system generator StarGen, based on Accrete, can be persuaded to generate Celestia compatible output. The current version is a command-line program. A windows-GUI version is in development.

See http://www.eldacur.com/~brons/NerdCorner/StarGen/StarGen.html
Selden

Guest

Yes I knew that program but is too much imprecise

Post #4by Guest » 28.01.2004, 01:00

Yes I knew that program but is too much imprecise and it doesn't take into account several magnitudes, it is too simple for a real representation, it is a bit old and doesn't tale into account the last discovers in planet formation and the use of REAL random is to much simplistic

marc
Posts: 426
Joined: 13.03.2002
With us: 22 years 8 months
Location: Outback Australia

Post #5by marc » 28.01.2004, 02:33

Brons' StarGen:

This is the one I have been modyfing for my MH project. It is not quite as random as you think and there is some pretty heavy math in there.
So far I've tweaked it to produce moons and pushed all the output into a database. For each star in Celestia it reads the mass and luminosoty, then generates a solarsystem for it. Im still working on getting Celestia to read the generated systems from the database, (almost there).

I do intend to make some changes to reflect current knowledge. Exactly what should change, I'm not 100% sure of yet.

One simple one was to skip the generation for stars that shouldn't have planets.
Another was turning the smallar moons into rings according to roches limit.

Any others?

Ianmillar
Posts: 22
Joined: 24.10.2003
With us: 21 years
Location: Canada

My Solar System Gen + Scource code

Post #6by Ianmillar » 28.01.2004, 11:15

Hi

I have made a program called SolarGen and it is a Dos program that generates a ssc file output >

# This was created by SolargenVer2.0 with GUI (c) By Ian Millar >
###########
# PLANETS #
###########
"Planet 1" "Altair"
{
Texture"19.jpg"
Color [ 0.85 0.85 1.0 ]
Radius 208.1883
EllipticalOrbit
{
Period 6.400597
SemiMajorAxis 9.122054E-02
Eccentricity 9.518488E-03
Inclination 0
AscendingNode 251.4429
LongOfPericenter 354.8442
MeanLongitude 87.24522
}
RotationPeriod 314.7979
Obliquity 5.757213E-02
RotationOffset 239.8954
Albedo 1.760849E-02
}
#--------------------------------
#########
# MOONS #
#########
"Planet 1 moon 1" "Altair/Planet 1"
{
Texture"moon.jpg"
Color [ 0.85 0.85 1.0 ]
Radius 580
EllipticalOrbit
{
Period 0.9554608
SemiMajorAxis 13868.37
Eccentricity 6.052256E-06
Inclination 305.1605
AscendingNode 34.41154
LongOfPericenter 63.8826
MeanLongitude 321.2971
}
RotationPeriod 65.29744
Obliquity 9.221756E-02
RotationOffset 35.96952
Albedo 6.380403E-02
}
# MOON MOON MOON MOON
#--------------------------------

############
# ASTROIDS #
############

"Astroid 1" "Altair"

{
Class"asteroid"
Texture"asteroid.jpg"
Color [ 0.85 0.85 1.0 ]
Mesh"roughsphere.cms"
Radius 16.56103
Albedo 9.220105E-02
EllipticalOrbit
{
Epoch 20031111
Period 288.0402
SemiMajorAxis 0.7878297
Eccentricity 0
Inclination 0
AscendingNode 251.4429
ArgOfPericenter 154.6155
MeanAnomaly 0
MeanLongitude 115.7854
}
RotationPeriod 39.73464
}
# This was created by SolargenVer2.0 with GUI (c) By Ian Millar >

Where "19.jpg" is a texture of your choice.

the source code is included with the program and it is made by Qbasic 4.5
My website is http://members.shaw.ca/ianmillar
Here you can download Qbasic 4.5 also
(Note: You must run in full screen to work properly)

Enjoy


Return to “Add-on development”