Posts by marc

by marc
10.06.2004, 08:07
Forum: Development
Topic: Solar System Generator - 100,000 stars.
Replies: 29
Views: 29922

Re: Solar System Generator - 100,000 stars.

OK, you might be on an older version. Latest is 0.3.0 and it runs independent of Celestia.
by marc
10.06.2004, 08:02
Forum: Development
Topic: Solar System Generator - 100,000 stars.
Replies: 29
Views: 29922

Re: Solar System Generator - 100,000 stars.

OK, you might be on an older version. Latest is 0.3.0 and it runs independent of Celestia.
by marc
09.06.2004, 10:27
Forum: Development
Topic: Solar System Generator - 100,000 stars.
Replies: 29
Views: 29922

Re: Solar System Generator - 100,000 stars.

I discarded the use of the gzipped ssc file a while ago and am now using the database to store planetary information. It solves the problem of too many files and uses 10% of the space. Can I ask what version you are running?
by marc
24.05.2004, 01:18
Forum: Development
Topic: Help With Star Generator
Replies: 10
Views: 9028

Re: Help With Star Generator

In that case just bring the sample set a little closer by adding this to the queries:

Code: Select all

AND distFromSol < 200

Or use a sample from pascals star database which has a lot more of the dimmer stars.
by marc
21.05.2004, 04:02
Forum: Development
Topic: Help With Star Generator
Replies: 10
Views: 9028

Re: Help With Star Generator

What following? Either way, I wasn't clear. This: SELECT COUNT(*) FROM star WHERE CONCAT(spectralClass,spectralSubClass,luminosityClass) = 'G2V'; Would return the number of G2V stars in the database. You could then use a bunch of similar queries to retrieve your statistics. There are...
by marc
20.05.2004, 13:48
Forum: Development
Topic: Random SSC generator.
Replies: 18
Views: 11573

Re: Random SSC generator.

I think Rass means C cant handle to a negative power.
Here is an equivalent method, I'm a bit rusty on my math so anyone correct me if I'm wrong.

x^-2 = 1/(x^2)

(T/5860)^-2 * (L)^0.5 = 1/((T/5860)^2) * (L)^0.5
by marc
19.05.2004, 09:45
Forum: Development
Topic: Help With Star Generator
Replies: 10
Views: 9028

Re: Help With Star Generator

I am missing is the masses, radii, and the statistical probability of each star class. You could extract this information from celestias star database using some queries with my database backend. It is possible to write a query that will place the data directly into a csv text file for import into ...
by marc
17.05.2004, 13:28
Forum: Development
Topic: Help With Star Generator
Replies: 10
Views: 9028

Re: Help With Star Generator

I am missing is the masses, radii, and the statistical probability of each star class. You could extract this information from celestias star database using some queries with my database backend. It is possible to write a query that will place the data directly into a csv text file for import into ...
by marc
09.05.2004, 14:32
Forum: Physics and Astronomy
Topic: Calculating oblateness.
Replies: 6
Views: 7944

Re: Calculating oblateness.

I ended up using this formula for calculating the oblateness for the jovians ((-1.05E-15)* rotationPeriod * mass * POW(radius,-3) ) + 0.122 I found it works well for the fictional planets. I also want to apply oblateness to stars, here is a star with a fairly extreme oblateness hard coded. http://mo...
by marc
09.05.2004, 03:16
Forum: Development
Topic: GLUT Celestia for Windows.
Replies: 44
Views: 25258

Re: GLUT Celestia for Windows.

Marc I think its time I asked if you need help in creating your game? I can in any event create planets for you...but in a small part some coding as I learn more about OpenGL... You have already helped, a great deal of the system generator textures are yours. Thanks again. :) Of course I'm always o...
by marc
09.05.2004, 02:09
Forum: Development
Topic: I need a compiler
Replies: 11
Views: 7362

Re: I need a compiler

There is a service pack for visual studio. sp5 I think.
by marc
08.05.2004, 16:19
Forum: Development
Topic: I need a compiler
Replies: 11
Views: 7362

Re: I need a compiler

I have never used it but you might like to look at dev c++
http://www.bloodshed.net/

I think if you look for it you will find that the visual studio compiler is also freely available. (command line that is)
by marc
08.05.2004, 16:08
Forum: Development
Topic: GLUT Celestia for Windows.
Replies: 44
Views: 25258

Re: GLUT Celestia for Windows.

Ok, sorry I misunderstood. I'm no expert but I for programming under linux but I guess that a search on gcc and make tutorials would be a good start. Also try typing man gcc and man make at a shell prompt.
by marc
07.05.2004, 12:20
Forum: Development
Topic: GLUT Celestia for Windows.
Replies: 44
Views: 25258

Re: GLUT Celestia for Windows.

Hi Paolo, Good to here your project is progressing. To get started on glut/freeglut. All you will need in regards to documentation is both the glut and freeglut reference docs. I can recommend having a good read of the Glut reference first before you start any coding. It will save you time in the lo...
by marc
29.04.2004, 23:44
Forum: Development
Topic: Mostly Harmless 0.3.0
Replies: 15
Views: 11937

Re: Mostly Harmless 0.3.0

Yup, I'll be changing the main menu into something else. Keep in mind that the sql console is just there for debugging and wont be in the game.
by marc
29.04.2004, 10:33
Forum: Development
Topic: Mostly Harmless 0.3.0
Replies: 15
Views: 11937

Re: Mostly Harmless 0.3.0

How much have you changed Stargen to make it pump out accurate solar systems? The only change I have made to stargen is to make it output moons, and to output into the database. I make other changes after the data is in the database: These include: Ring systems for jovians. Convert the large jovian...
by marc
28.04.2004, 09:24
Forum: Celestia Users
Topic: Poll: Allow full scripting capabilities in Celestia?
Replies: 20
Views: 12713

Re: Poll: Allow full scripting capabilities in Celestia?

Harry wrote:- add io+os libraries when some option in celestia.cfg is set

If any I'm for this method, with the default being false.

I havn't tried it yet but lua also has the ability to use dll's, I'm not sure if it needs the os library however. Perhaps there is already a security hole?
by marc
23.04.2004, 11:12
Forum: Development
Topic: Mostly Harmless 0.3.0
Replies: 15
Views: 11937

Re: Mostly Harmless 0.3.0

Yes, I was in Nav mode, and thought this function was available, due to your write-up saying, "I have replaced the internet info for a star with data from the database. You can right click on a star and click Info to bring up all the information that is stored in a star's row." Or does this apply o...
by marc
22.04.2004, 08:48
Forum: Development
Topic: Mostly Harmless 0.3.0
Replies: 15
Views: 11937

Re: Mostly Harmless 0.3.0

I imagine this MySQL backend would have many uses, not just for the game, but also for "serious" star-browsing. Has it been considered to merge it into the official code of celestia (maybe, as an option at compile-time)? I would really love to be able to run mysql-queries even with 'normal' celesti...

Go to advanced search