Updated DeepSpaceTour_v1.0.celx ready for download

All about writing scripts for Celestia in Lua and the .cel system
Topic author
TimMc
Posts: 48
Joined: 09.03.2004
With us: 20 years 8 months
Location: Danbury, London, U.K.

Updated DeepSpaceTour_v1.0.celx ready for download

Post #1by TimMc » 10.03.2004, 10:47

Hi all.

I've tweaked the way the script creates the pos_table so that it steps through objects more cleanly, hopefully avoiding problems under Celestia 1.3.2 like those encountered in the early version of SolarSystemTour_v1.2.celx.

I've also added object numbering during the tour.

I've started uploading lots of Celestia deep-space objects to my web-site. I'll do a post when there are enough to make it worthwhile advertising - I've only uploaded 10 so far. I easily have 50 DSO's on my system at present, and will be making more 2D "billboard" models as Selden calls them. It is my intention to find or create a DSC and associated files for every Messier object.

Hope you enjoy the new improved script.

http://myweb.tiscali.co.uk/timmcmahon/DeepSpaceTour_v1_0.zip

Regards, Tim Mc

don
Posts: 1709
Joined: 12.07.2003
With us: 21 years 4 months
Location: Colorado, USA (7000 ft)

Post #2by don » 12.03.2004, 01:50

Looks good on 1.3.1 and 1.3.2.

-Don G.

don
Posts: 1709
Joined: 12.07.2003
With us: 21 years 4 months
Location: Colorado, USA (7000 ft)

Re: Updated DeepSpaceTour_v1.0.celx ready for download

Post #3by don » 16.03.2004, 07:40

Tim or Harald,

Since these are Deep Space Objects, and not solid objects such as planets or moons, why don't we fly INTO the objects? How would one go about modifying the script thusly:

* Approach the DSO at a slight angle (looking at the face of the picture).

* Go all the way to the center of the DSO, or close.

* Slow down more while IN the DSO.

* More rotation.

* THEN, change direction to to exit the DSO at the same slight angle approached (like a laser beam hitting a mirror at a slight angle).

Thanks a bunch guys!
-Don G.
My Celestia Scripting Resources page

Avatar: Total Lunar Eclipse from our back yard, Oct 2004. Panasonic FZ1 digital camera (no telescope), 36X digital zoom, 8 second exposure at f6.5.

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

Post #4by selden » 16.03.2004, 12:02

Don,

Don't forget that most Nebula objects are fake. They're usually pictures on a flat surface or a slightly rippled one to make it visible from more than just straight on. Hopefully someday someone will be able to provide a fully 3D model of some of them.

Celestia has a very strong bias against taking you past a distance that it thinks corresponds to the surface of an object. It assumes all bodies are spheres and won't take you closer than an object's radius value -- which corresponds to a distance of 0.

To go into an object -- close to the surface of a flat billboard, so it fills your screen -- either the designer has to provide a small named object somewhere "inside", or you have to specify a negative distance. And this causes other numerical complications...

I'm not saying it's not possible, just more coding than a simple "GoTo".
Selden

Toti
Developer
Posts: 338
Joined: 10.02.2004
With us: 20 years 9 months

Post #5by Toti » 16.03.2004, 16:15

TimMc:
Your script is excellent, and the object numbering is a good addition. As you already said, support for alternate names -and maybe partial syntax- is really necessary (I had to change almost all object names at the end lines of the script)

Selden:
now that you wrote about it:
Some time ago I downloaded a Hayden Planetarium CG animation of the Orion nebula, based on a model made from scientific 3D data:

Working with infrared and visible light observations from Hubble and ground-based imagery, C.R. O'Dell and Zheng Wen, of Rice University, USA, derived a 3D model of the inner surface of the hollowed out center of the nebula. Their model shows that the region is a wrinkled, shallow "valley," the surface of which glows from the influence of the young stars above.


So my question is: are there any scientific models of nebulae available? (no matter about the description formats, it should be possible to convert them)

Thanks in advance

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

Post #6by selden » 16.03.2004, 16:49

Toti,

You wondered
are there any scientific models of nebulae available?


Not so far as I know.

Apparently the American Museum of Natural History has all the rights to the Orion Nebula model, and are very reluctant to make it publicly available. :(

Akira Inaka and John Wattie have created artistic models of nebulas and starfields, and have provided stereo images of them
(links are at http://www.lns.cornell.edu/~seb/celestia/index.html#5.3). I have not asked either of them if any of their models might be available for public use. Like the AMNH, most artists who make money from their work would be very reluctant to do that.
Selden

don
Posts: 1709
Joined: 12.07.2003
With us: 21 years 4 months
Location: Colorado, USA (7000 ft)

Post #7by don » 16.03.2004, 18:27

Howdy Selden,

selden wrote:Don't forget that most Nebula objects are fake. They're usually pictures on a flat surface or a slightly rippled one to make it visible from more than just straight on.
Of the 21 DSO add-ons I have, I think ALL of them are either rippled in some way, contain multiple images to give them "thickness", and/or contain a local starfield description. These options usually give them a bit more "depth" than a mere flat photo.


selden wrote:Hopefully someday someone will be able to provide a fully 3D model of some of them.
I would imagine this to be quite a complex task unless someone gathers field-of-depth information on these objects and their surroundings.


selden wrote:Celestia has a very strong bias against taking you past a distance that it thinks corresponds to the surface of an object.

Not when you are "flying", using the speed and navigation controls, which are also available in scripting. I *think* this is how this script functions, but I'm not positive.
-Don G.

My Celestia Scripting Resources page



Avatar: Total Lunar Eclipse from our back yard, Oct 2004. Panasonic FZ1 digital camera (no telescope), 36X digital zoom, 8 second exposure at f6.5.

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

Post #8by selden » 16.03.2004, 19:40

don wrote:I would imagine this to be quite a complex task unless someone gathers field-of-depth information on these objects and their surroundings.

Yup. Doing it as accurately as possible is a real research project, perhaps worthy of a Master's Degree. My understanding is that it took quite a while to do all the calculations to determine the shapes of the surfaces of the portion of the Orion Nebula that was modelled.
Selden

TERRIER
Posts: 717
Joined: 29.04.2003
With us: 21 years 6 months
Location: West Yorkshire, England

Post #9by TERRIER » 17.03.2004, 00:03

Don / Seldon

Do you happen to have a copy of Astroboys 3D Eskimo Nebula by any chance ?
I don't know whether it's still available ?

Here's the familiar view of it, looking at it head-on;

Image

And the next view of it, from almost side-on;

Image

Not a bad attempt at modelling a planetary nebula. Maybe it was based on Hubble images of Eta Carinae and also the side-on Ant Nebula ?

regards
TERRIER
1.6.0:AMDAth1.2GHz 1GbDDR266:Ge6200 256mbDDR250:WinXP-SP3:1280x1024x32FS:v196.21@AA4x:AF16x:IS=HQ:T.Buff=ON Earth16Kdds@15KkmArctic2000AD:FOV1:SPEC L5dds:NORM L5dxt5:CLOUD L5dds:
NIGHT L5dds:MOON L4dds:GALXY ON:MAG 15.2-SAP:TIME 1000x:RP=OGL2:10.3FPS

don
Posts: 1709
Joined: 12.07.2003
With us: 21 years 4 months
Location: Colorado, USA (7000 ft)

Post #10by don » 17.03.2004, 00:12

Hi TERRIER,

Yes, I do. This is a good example of a multi-image (two PNG images) nebula. Selden's M16 (four JPG images) is another good example.
-Don G.

My Celestia Scripting Resources page



Avatar: Total Lunar Eclipse from our back yard, Oct 2004. Panasonic FZ1 digital camera (no telescope), 36X digital zoom, 8 second exposure at f6.5.

TERRIER
Posts: 717
Joined: 29.04.2003
With us: 21 years 6 months
Location: West Yorkshire, England

Post #11by TERRIER » 17.03.2004, 00:24

Mustn't forget about the spherical Abell 39 Nebula either :wink:
1.6.0:AMDAth1.2GHz 1GbDDR266:Ge6200 256mbDDR250:WinXP-SP3:1280x1024x32FS:v196.21@AA4x:AF16x:IS=HQ:T.Buff=ON Earth16Kdds@15KkmArctic2000AD:FOV1:SPEC L5dds:NORM L5dxt5:CLOUD L5dds:
NIGHT L5dds:MOON L4dds:GALXY ON:MAG 15.2-SAP:TIME 1000x:RP=OGL2:10.3FPS

don
Posts: 1709
Joined: 12.07.2003
With us: 21 years 4 months
Location: Colorado, USA (7000 ft)

Post #12by don » 17.03.2004, 00:51

Is that the one that looks like a partially shredded, empty shell of a planet? 8O
-Don G.

My Celestia Scripting Resources page



Avatar: Total Lunar Eclipse from our back yard, Oct 2004. Panasonic FZ1 digital camera (no telescope), 36X digital zoom, 8 second exposure at f6.5.

Toti
Developer
Posts: 338
Joined: 10.02.2004
With us: 20 years 9 months

Post #13by Toti » 17.03.2004, 22:38

Selden:
thank you for your answer.
I made a Google search on this topic, and found that several groups are working in 3D modeling of nebulae objects. Some of them still seem to be WIPs.
This page has a link to an animation of the Crab Nebula.

http://arxiv.org/abs/astro-ph/0403153

I couldn't find any downloadable data, though. :(

danielj
Posts: 1477
Joined: 15.08.2003
With us: 21 years 3 months

Re: Updated DeepSpaceTour_v1.0.celx ready for download

Post #14by danielj » 22.03.2004, 12:15

I put this script to begin,but nothing happened.I am using Celestia 1.3.1.

TimMc wrote:Hi all.

I've tweaked the way the script creates the pos_table so that it steps through objects more cleanly, hopefully avoiding problems under Celestia 1.3.2 like those encountered in the early version of SolarSystemTour_v1.2.celx.

I've also added object numbering during the tour.

I've started uploading lots of Celestia deep-space objects to my web-site. I'll do a post when there are enough to make it worthwhile advertising - I've only uploaded 10 so far. I easily have 50 DSO's on my system at present, and will be making more 2D "billboard" models as Selden calls them. It is my intention to find or create a DSC and associated files for every Messier object.

Hope you enjoy the new improved script.

http://myweb.tiscali.co.uk/timmcmahon/DeepSpaceTour_v1_0.zip

Regards, Tim Mc

danielj
Posts: 1477
Joined: 15.08.2003
With us: 21 years 3 months

Re: Updated DeepSpaceTour_v1.0.celx ready for download

Post #15by danielj » 22.03.2004, 12:15

I put this script to begin,but nothing happened.I am using Celestia 1.3.1.

TimMc wrote:Hi all.

I've tweaked the way the script creates the pos_table so that it steps through objects more cleanly, hopefully avoiding problems under Celestia 1.3.2 like those encountered in the early version of SolarSystemTour_v1.2.celx.

I've also added object numbering during the tour.

I've started uploading lots of Celestia deep-space objects to my web-site. I'll do a post when there are enough to make it worthwhile advertising - I've only uploaded 10 so far. I easily have 50 DSO's on my system at present, and will be making more 2D "billboard" models as Selden calls them. It is my intention to find or create a DSC and associated files for every Messier object.

Hope you enjoy the new improved script.

http://myweb.tiscali.co.uk/timmcmahon/DeepSpaceTour_v1_0.zip

Regards, Tim Mc

Topic author
TimMc
Posts: 48
Joined: 09.03.2004
With us: 20 years 8 months
Location: Danbury, London, U.K.

DanielJ

Post #16by TimMc » 22.03.2004, 20:11

Hi Daniel

Check that the Galaxies flag is ticked under Render -> View Options when you are running the script. If it isn't, you won't see any deep space objects. If this doesn't fix the problem, I'll need more info about your Celestia configuration to work out what is going on.

Regards, Tim Mc

danielj
Posts: 1477
Joined: 15.08.2003
With us: 21 years 3 months

Re: DanielJ

Post #17by danielj » 22.03.2004, 23:46

I don?t know if helps,but my Celestia is 1.3.1,not 1.3.1-1.My computer usually turn Celestia screen in a white one,and the mouse coursor usually disappear for a while.It is happening more frequently when too many things are toggled at the same time.

TimMc wrote:Hi Daniel

Check that the Galaxies flag is ticked under Render -> View Options when you are running the script. If it isn't, you won't see any deep space objects. If this doesn't fix the problem, I'll need more info about your Celestia configuration to work out what is going on.

Regards, Tim Mc

Topic author
TimMc
Posts: 48
Joined: 09.03.2004
With us: 20 years 8 months
Location: Danbury, London, U.K.

Post #18by TimMc » 23.03.2004, 07:42

Daniel, it sounds like your difficulties running the script may be because Celestia has loaded many deep space objects with large textures (or none at all?). See the Readme document for DeepSpaceTour to explain the issues about this. The script runs fine under Celestia 1.3.1 - it does not need 1.3.1-1.
Regards, Tim Mc


Return to “Scripting”