Page 1 of 1

Different colour for orbit of dwarf planets

Posted: 16.12.2009, 14:29
by ianmacfarlane
Is it possible for the orbit colour for dwarf planets to be a different colour than that for the main planets? The solar system looks pretty messy if they're both the same colour :) It would be nice to be easily able to distinguish between them.

Perhaps a similar or slightly different shade of colour would be best, as they're similar types of objects.

Please take as a suggestion for the next version of Celestia - also, if this is possible to do in a configuration file in the current version, would someone mind telling me how to do this?

Many thanks

Re: Different colour for orbit of dwarf planets

Posted: 15.04.2010, 19:32
by Marco Klunder
Hello ianmacfarlane,

Probably better a late answer than no answer.
You can change the color of specific orbits, using the celestia:setlinecolor() method within e CELX script

To turn the color for Darf Planets into cyan, make a CELX: orbitcolor.celx which contains the following code:

Code: Select all

celestia:setlinecolor("dwarfplanetorbits", 0, 1, 1)

You can call it for instance each time after you startup Celestia.

The celestia:setlinecolor() method is further documented at:
http://en.wikibooks.org/wiki/Celestia/Celx_Scripting/CELX_Lua_Methods/Celx_celestia#setlinecolor

Marco