How to create planes, lines, curves ?

All about writing scripts for Celestia in Lua and the .cel system
Topic author
Astro_Fox
Posts: 5
Joined: 01.01.2009
With us: 15 years 11 months
Location: Coburg, Germany

How to create planes, lines, curves ?

Post #1by Astro_Fox » 01.01.2009, 14:46

Hello Celestia users,

please help me with the following:
I am practising astrology and want to illustrate the creation of a birth chart using Celestia.

I want to create such things like planes and lines around the earth.

Is there a posibility to do it as script in Celestia or Lua?
Do You have a recommendation for me or a source to read?

Thanks for Your support

Astro-Fox

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 3 months
Location: NY, USA

Re: How to create planes, lines, curves ?

Post #2by selden » 01.01.2009, 16:36

Celestia does not yet have the functions to draw lines using a script.
I can think of several possibilities. Roughly in order of increasing difficulty:

1. Use your favorite paint program to merge a Celestia screengrab with a 2D chart

2. Create a flat 3D model with a 2D chart on one of its sides and place it appropriately within Celestia

http://www.lepp.cornell.edu/~seb/celest ... -cmod.html

3. Create a fully 3D model containing "rods" which form the appropriate lines.

http://en.wikibooks.org/wiki/Celestia/3D_Models
http://www.lepp.cornell.edu/~seb/celest ... cules.html
Selden

Topic author
Astro_Fox
Posts: 5
Joined: 01.01.2009
With us: 15 years 11 months
Location: Coburg, Germany

Re: How to create planes, lines, curves ?

Post #3by Astro_Fox » 01.01.2009, 19:17

Hello selden,

thanks for the quick response!
That's what I assumed: to create a spacecraft just a line or plane.

For anyone else, if there are more options, please post...

Thanks

Astro-Fox


Return to “Scripting”