Lua display ON/OFF command for bodies

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
mjoubert
Posts: 58
Joined: 02.04.2007
With us: 17 years 7 months

Lua display ON/OFF command for bodies

Post #1by mjoubert » 05.04.2007, 11:07

Hi all,

when I display a spacecraft in Celestia, it's usefull to display its axis. So I made a 3-axis 3ds model which has the same ssc definition.

When using ScriptedOrbit, I use a hack to toggle display of these axis. A command set axis OFF : axis body is located at earth center (not visible). Axis ON makes axis at spacecraft location.

It would be very usefull to have a lua command like object.display( OFF ) to avoid this hack.

Is this possible and scheduled?

Mathieu (spacebel)

Avatar
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 20 years 10 months
Location: Montreal

Post #2by Cham » 05.04.2007, 11:24

I'm also asking for "layers" in Celestia, to display various kind of custom classes of objects : coordinates grids, magnetic field lines, etc, with some keyboard shortcuts. It's in my "wishes list".
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 9 months
Location: Seattle, Washington, USA

Post #3by chris » 05.04.2007, 17:05

Yes, this feature is planned for the near future. There will be the ability to turn off individual objects as well as whole classes of objects.

--Chris


Return to “Development”