ok so planets in sol system have blue orbits others are brown
what i want to do it change some brown orbits to blue like pluto ceres UB-313 and others is there a way to do this ???
help in customizing my celestia
Forum rules
Please help to make this forum more useful by checking the FAQs before posting! Keep it clean, keep it civil, keep it truthful, stay on topic, be responsible, share your knowledge.
Please help to make this forum more useful by checking the FAQs before posting! Keep it clean, keep it civil, keep it truthful, stay on topic, be responsible, share your knowledge.
- John Van Vliet
- Posts: 2944
- Joined: 28.08.2002
- With us: 22 years 2 months
Re: help in customizing my celestia
--- edit ---
Last edited by John Van Vliet on 19.10.2013, 03:59, edited 1 time in total.
Re: help in customizing my celestia
nope there is no orbit color
"Earth" "Sol"
{
Texture "earth.*"
NightTexture "earthnight.*"
# SpecularTexture "earth-spec.*"
Color [ 0.85 0.85 1.0 ]
SpecularColor [ 0.8 0.8 0.85 ]
SpecularPower 25.0
HazeColor [ 1 1 1 ]
HazeDensity 0.3
Radius 6378.140 # equatorial
# Oblateness 0.0034
Atmosphere {
Height 60
Lower [ 0.43 0.52 0.65 ]
Upper [ 0.26 0.47 0.84 ]
Sky [ 0.40 0.6 1.0 ]
Sunset [ 1.0 0.6 0.2 ]
CloudHeight 7
CloudSpeed 65
CloudMap "earth-clouds.*"
CloudShadowDepth 1.0
Mie 0.001
MieAsymmetry -0.25
Rayleigh [ 0.001 0.0025 0.006 ]
MieScaleHeight 12
}
"Earth" "Sol"
{
Texture "earth.*"
NightTexture "earthnight.*"
# SpecularTexture "earth-spec.*"
Color [ 0.85 0.85 1.0 ]
SpecularColor [ 0.8 0.8 0.85 ]
SpecularPower 25.0
HazeColor [ 1 1 1 ]
HazeDensity 0.3
Radius 6378.140 # equatorial
# Oblateness 0.0034
Atmosphere {
Height 60
Lower [ 0.43 0.52 0.65 ]
Upper [ 0.26 0.47 0.84 ]
Sky [ 0.40 0.6 1.0 ]
Sunset [ 1.0 0.6 0.2 ]
CloudHeight 7
CloudSpeed 65
CloudMap "earth-clouds.*"
CloudShadowDepth 1.0
Mie 0.001
MieAsymmetry -0.25
Rayleigh [ 0.001 0.0025 0.006 ]
MieScaleHeight 12
}
Re: help in customizing my celestia
Of course there is currently no orbit color line in the SSC. If you have the normal Celestia installation.
In the normal Celestia installation the orbit color is derived from the object class (i.e. Planet, BaryCenter etc.) and then automatically assigned.
You can change the orbit color for each individual object by creating your own SSC for it.
The two things in bold are the key parameters. With "Replace" you tell Celestia to just use your own definitions. And "OrbitColor" defines the color of the orbit for that particular object.
Best regards,
Guckytos
In the normal Celestia installation the orbit color is derived from the object class (i.e. Planet, BaryCenter etc.) and then automatically assigned.
You can change the orbit color for each individual object by creating your own SSC for it.
With this the OrbitColor for the earth would now be red.Replace "Earth" "Sol"
{
orbit definition
OrbitColor [ 1.0 0.2 0.2 ] # red
}
The two things in bold are the key parameters. With "Replace" you tell Celestia to just use your own definitions. And "OrbitColor" defines the color of the orbit for that particular object.
Best regards,
Guckytos
Re: help in customizing my celestia
Hi,
Let me add an explanation for those who are not familiar with ssc files.
suppose we want
You must create a plain text file with the extension ssc
call this file myorbitscolors.ssc
Record this file in the celestia/extras directory
Here is the content of this file :
Words in a ssc file are case sensitive.
"Modify" is better than "Replace"
This allows to change only what is necessary without having to rewrite the entire definition of the planet.
The parameters of "OrbitColor" are the proportions of red, green and blue (from 0 to 1).
If a planet is selected, its orbit will be in red anyway.
Let me add an explanation for those who are not familiar with ssc files.
suppose we want
- * Venus with a light gray orbit
* The Earth with a green orbit
* Mars with an orange orbit
You must create a plain text file with the extension ssc
call this file myorbitscolors.ssc
Record this file in the celestia/extras directory
Here is the content of this file :
Code: Select all
Modify "Venus" "Sol"
{
OrbitColor [0.7 0.7 0.7]
}
Modify "Earth" "Sol"
{
OrbitColor [0 1 0]
}
Modify "Mars" "Sol"
{
OrbitColor [1 0.4 0]
}
Words in a ssc file are case sensitive.
"Modify" is better than "Replace"
This allows to change only what is necessary without having to rewrite the entire definition of the planet.
The parameters of "OrbitColor" are the proportions of red, green and blue (from 0 to 1).
If a planet is selected, its orbit will be in red anyway.
- t00fri
- Developer
- Posts: 8772
- Joined: 29.03.2002
- Age: 22
- With us: 22 years 7 months
- Location: Hamburg, Germany
Re: help in customizing my celestia
jogad wrote:Hi,
Let me add an explanation for those who are not familiar with ssc files.
...
"Modify" is better than "Replace"
This allows to change only what is necessary without having to rewrite the entire definition of the planet.
I was about to recommend "Modify" instead of "Replace" when I found your nicely illustrated post making mine superfluous
Fridger
- Marco Klunder
- Posts: 181
- Joined: 20.02.2008
- Age: 62
- With us: 16 years 9 months
- Location: The Netherlands
Re: help in customizing my celestia
AND ...
we also have a CELX scripting possibility here.
See explenation and example on: http://en.wikibooks.org/wiki/Celestia/Celx_Scripting/CELX_Lua_Methods/Celx_object#setorbitcolor
we also have a CELX scripting possibility here.
See explenation and example on: http://en.wikibooks.org/wiki/Celestia/Celx_Scripting/CELX_Lua_Methods/Celx_object#setorbitcolor
Marco Klunder
email: marco.klunder@xs4all.nl
Windows10 PD 3.0 GHz, 2 GB of RAM, Nvidia GeForce 6700 XL
Celestia161 / SVN + Lua Edu Tools v1.2 Beta9, Celestia160-ED and Celestia1621
email: marco.klunder@xs4all.nl
Windows10 PD 3.0 GHz, 2 GB of RAM, Nvidia GeForce 6700 XL
Celestia161 / SVN + Lua Edu Tools v1.2 Beta9, Celestia160-ED and Celestia1621
Re: help in customizing my celestia
ok thank you i understand now