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.
Solar System Generators
-
- 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.
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
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
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
See http://www.eldacur.com/~brons/NerdCorner/StarGen/StarGen.html
Selden
Yes I knew that program but is too much imprecise
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
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?
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?
Marc Griffith http://mostlyharmless.sf.net
My Solar System Gen + Scource code
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
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