Center of a Star

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
auscreely

Center of a Star

Post #1by auscreely » 26.11.2002, 02:25

Well I have been trying to make a center fore a star, on my test star 18sco :D

This is the code, just copy them into a .ssc file:
_____________________________________________________________
"Center of 18 Sco" "18 Sco"
{
Texture "bstar.jpg"
#BumpMap "mercurybump.jpg"
#BumpHeight 2.5
Radius 7000

CustomOrbit ""
EllipticalOrbit {
Period 0.2408
SemiMajorAxis 0.0
Eccentricity 0.0
Inclination 0.0
AscendingNode 48.33167
LongOfPericenter 77.456
MeanLongitude 252.251
}

RotationPeriod 1047.509
Obliquity 0.0
EquatorAscendingNode 0.0

Albedo 0.06

}
_____________________________________________________________

If you try this when you go to "18 sco" and look fore planits it will say center of 18 Sco, now go to selection.

you will notic that one side is shades :cry: If anyone can fix this or any other problems that I am unawere of pleas post it.

Sum0
Posts: 273
Joined: 10.03.2002
With us: 22 years 11 months
Location: Norwich, UK

Post #2by Sum0 » 26.11.2002, 17:30

Under radius, add

Code: Select all

emissive true

which will remove the dark side.
"I have been asked, 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question."

Topic author
auscreely

oops

Post #3by auscreely » 27.11.2002, 00:21

oops :oops:

Thank you, by the way can anyone tell me how many layres thear are in a star, when I get my test star compleat I will moove on to every other star :D

auscreely

Auscreely

problem

Post #4by Auscreely » 27.11.2002, 05:46

Another problem :cry:

The abov solution only works if vertex shading is off, pixl shading is on, and ambiant light is set to mediam

is thear another way?

MKruer
Posts: 501
Joined: 18.09.2002
With us: 22 years 5 months

oops

Post #5by MKruer » 27.11.2002, 08:33

auscreely wrote:oops :oops:

Thank you, by the way can anyone tell me how many layres thear are in a star, when I get my test star compleat I will moove on to every other star :D

auscreely


If you are referring to the convention zones in a star as a layer, then it depends on how massive the star is. Larger stars have different mechanics then smaller ones. If you are referring to the elements, then it really depends on the age of the star. Either which way it not a simple question to answer. If you are really serious about astronomy then i would recommend getting the "The Cambridge Atlas of Astronomy" this is perhaps the best book on just about anything to do with the universe.


Return to “Development”