Free planetarium

 
Haravin
Observer
Observer
Topic Author
Posts: 10
Joined: 30 Aug 2017

Making a Star Generator

30 Aug 2017 07:57

(sorry for the spam posts in off-topic, I needed 10 posts to be able to make this thread.)

I'm trying to make a star system generator in Unity game engine. First thing, I'm making stars. It has issues with values being messed up for different startypes.

Here is my code for generating things. First, the star class is generated, then the absolute magnitude and the temperature are  generated based on that. Finally, it gets sent to this file for the rest of the values to be calculated using built in functions. 

https://pastebin.com/W9sg0McF

Here is a csv with all the star data.

https://docs.google.com/spreadsheets/d/ ... sp=sharing
 
User avatar
Mosfet
World Builder
World Builder
Posts: 717
Joined: 24 Oct 2016
Location: Italy

Making a Star Generator

30 Aug 2017 08:36

Haravin wrote:
Source of the post (sorry for the spam posts in off-topic, I needed 10 posts to be able to make this thread.)

Which is specifically not allowed per forum rules...
"Time is illusion. Lunchtime doubly so". Douglas N. Adams
My mods | My specs: Asus x555ub - cpu i5-6200u, ram 4gb, gpu nvidia geforce 940m 2gb vram | IRC freenode.net canale ##SpaceEngineITA
 
User avatar
Watsisname
Science Officer
Science Officer
Posts: 928
Joined: 06 Sep 2016
Location: Bellingham, WA

Making a Star Generator

30 Aug 2017 18:33

Haravin, well now that you've made your thread, I guess you won't be needing those spam posts anymore.  As Mosfet correctly points out, spamming is not allowed on this forum.
 
Haravin
Observer
Observer
Topic Author
Posts: 10
Joined: 30 Aug 2017

Making a Star Generator

30 Aug 2017 18:55

Well, I was on topic in those posts. So maybe its not actually spam.

Here is a bunch of utility stuff I made. I got it all working for the most part.
https://pastebin.com/n6nj71Bq

Who is online

Users browsing this forum: No registered users and 1 guest