Welcome, Guest

Author Topic: is it possible to make a star blue?  (Read 10056 times)

Andreas

  • Universe Sandbox 1 Beta Team
  • *****
  • Posts: 158
is it possible to make a star blue?
« on: January 26, 2009, 11:22:07 AM »
i want a blue star. How can i change the color?

atomic7732

  • Global Moderator
  • *****
  • Posts: 3849
  • caught in the river turning blue
    • Paladin of Storms
Re: is it possible to make a star blue?
« Reply #1 on: January 26, 2009, 03:37:51 PM »
edit the XML files.

Andreas

  • Universe Sandbox 1 Beta Team
  • *****
  • Posts: 158
Re: is it possible to make a star blue?
« Reply #2 on: January 26, 2009, 04:08:13 PM »
thanks...but how can i change the color of the star? I already know, that i must edit the file.

Dan Dixon

  • Creator of Universe Sandbox
  • Developer
  • *****
  • Posts: 3244
    • Personal Site
Re: is it possible to make a star blue?
« Reply #3 on: January 26, 2009, 06:27:08 PM »
You can use the <Color> tag to change the color of bodies:

Code: [Select]
<Body>
<Appearance>Spacecraft</Appearance>
<Name>L5</Name>
<Action>L5=Earth, Moon</Action>
<Color>Blue</Color>
</Body>

This example is from the file:
Lagrangian Points - Earth & Moon.xml

There are 3 types of values accepted by <Color>:
- Named Vales: Red, Orange, Yellow, and a few others
- RGB Values:  <Color>255,128,0</Color>
- Hex Values:  <Color>FFAA44</Color>

Although it appears that the color is overridden if it is a star (as the color is calculated to be representative).
I'm sorry it's not working for stars; I've made a note to fix this in the upcoming release.
(And thanks for helping me find a bug.)

Andreas

  • Universe Sandbox 1 Beta Team
  • *****
  • Posts: 158
Re: is it possible to make a star blue?
« Reply #4 on: January 27, 2009, 04:38:10 AM »
ha ha thats cool than finally my Eta Carinae will get his real color :D

SuperNova

  • Universe Sandbox 1 Beta Team
  • *****
  • Posts: 387
  • ROW ROW, FIGHT THE POWAH!
    • Dreadnaught BG
Re: is it possible to make a star blue?
« Reply #5 on: January 29, 2009, 06:29:23 AM »
If your ready plaze the XML file here

sorry bad english

Dan Dixon

  • Creator of Universe Sandbox
  • Developer
  • *****
  • Posts: 3244
    • Personal Site
Re: is it possible to make a star blue?
« Reply #6 on: March 02, 2009, 06:19:11 PM »
Although it appears that the color is overridden if it is a star (as the color is calculated to be representative).
I'm sorry it's not working for stars; I've made a note to fix this in the upcoming release.
(And thanks for helping me find a bug.)

This has been fixed in the latest release (version 1.0.424.0).

monmarfori

  • Universe Sandbox 1 Beta Team
  • *****
  • Posts: 788
Re: is it possible to make a star blue?
« Reply #7 on: March 03, 2009, 02:50:36 AM »
Zeta Puppis is a spectral type of O5Iaf. It is a Blue Supergiant
« Last Edit: March 04, 2009, 03:34:21 AM by monmarfori »

Dan Dixon

  • Creator of Universe Sandbox
  • Developer
  • *****
  • Posts: 3244
    • Personal Site
Re: is it possible to make a star blue?
« Reply #8 on: March 03, 2009, 06:57:35 PM »
I have included the spectral type for some stars in the 'Stars.xml' file in the data folder where the program is installed. This file is basically a large database of stars, their positions, and their properties.

Not all of the properties in the database are used by Universe Sandbox. I decided that when creating these files (these large lists of stars and other objects) that when in doubt I should just include the information in case it might be useful later. That is the case with the spectral type. In the latest version it is completely ignored.

monmarfori

  • Universe Sandbox 1 Beta Team
  • *****
  • Posts: 788
Re: is it possible to make a star blue?
« Reply #9 on: March 04, 2009, 03:38:25 AM »
Hot Star zeta puppis is my favorite star

Naru523

  • Universe Sandbox 1 Beta Team
  • *****
  • Posts: 1295
  • let's walk the true path of life
Re: is it possible to make a star blue?
« Reply #10 on: March 05, 2009, 04:54:05 PM »
Rigel is also a Blue-Supergiant.