Pointing Hubble

Post requests, images, descriptions and reports about work in progress here.
Avatar
Topic author
selden
Developer
Posts: 10064
Joined: 04.09.2002
With us: 16 years 11 months
Location: NY, USA

Pointing Hubble

Post #1by selden » 30.11.2006, 02:31

One of the things one will be able to do with Celestia v1.5.0 will be to point Celestia's model of the Hubble Space Telescope toward any object in Celestia.

This Addon adds an image of Hubble's field of view so you can see just how small an area of the sky the HST actually looks at.

http://www.lepp.cornell.edu/~seb/Celestia/files/pointing_hubble.zip
(470 KB)

You can edit the included pointing_hubble.ssc to direct the telescope and its fov to look at the eye candy that you've installed.

This picture shows the HST investigating "The Pillars of Creation" in the Eagle Nebula.

Image

[edit]6-jul-07
pointing_hubble_v0.7 is now available at
http://www.lepp.cornell.edu/~seb/celest ... le_v07.zip (86KB)

It now asks how many views to show.
It also allows you to rotate Hubble's field-of-view on the sky.


Image

[/edit]
Last edited by selden on 06.07.2007, 18:11, edited 3 times in total.
Selden

Malenfant
Posts: 1412
Joined: 24.08.2005
With us: 13 years 11 months

Post #2by Malenfant » 30.11.2006, 02:54

That's a pretty neat little addon :) - puts things in perspective somewhat (no pun intended ;))
My Celestia page: Spica system, planetary magnitudes script, updated demo.cel, Quad system

rra
Posts: 171
Joined: 17.07.2004
With us: 15 years 1 month
Location: The Netherlands

Post #3by rra » 30.11.2006, 08:54

Selden,

One of the things one will be able to do with Celestia v1.5.0 will be to point Celestia's model of the Hubble Space Telescope toward any object in Celestia


how is this new feature (for Celestia 1.5.0) to be used
can one just select the object and use some
keyboard controls to adjust the orientation ?
Does this allready work on the latest CVS version ?


Ren?©

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 14 years 6 months

Post #4by ElChristou » 30.11.2006, 10:43

Hey, seems cool! I go for a test. Tx Selden!
Image

produit
Posts: 9
Joined: 29.08.2006
With us: 12 years 11 months
Location: Geneva, Switzerland

Post #5by produit » 30.11.2006, 10:46

Hi,

I will love to have that for INTEGRAL.
For INTEGRAL, the problem is simpler as
if you download the files in my account
http://isdc.unige.ch/~produit/celesia
you will have always INTEGRAL pointing at the proper
direction. So the FOV has a well defined direction (along the long
axis of the satellite).
So it is just a matter of defining the good
size and form of the FOV.
This will in fact be very useful for INTERAL users.
If you can give me instruction how to achieve this
I will do it.

In INTEGRAL there are two concept of FOV:
The fully coded field of view (FCFOV) in which we have
maximal sensitivity. Then the sensitivity is decreasing
and reach 0 at the 0 coded field of view (0CFOV)

The FCFOV of the different instrument are
(all FOV are aligned with the fixed solar panels)
IBIS: square of 9x9 degree
OMC: square of 5x5 degree (this is in fact a real FOV)
JEMX: circle of radius 2.4 degree
SPI: Hexagon 16 degree on a side

The 0CFOV:
IBIS: square of 27x27 degree
JEMX: circle of 5 degree
SPI: Hexagon of 30 degree on a side

Degree are not typos, FOV of INTEGRAL are realy huge compred
to Hubble.

Thanks
Nicolas Produit

Avatar
Topic author
selden
Developer
Posts: 10064
Joined: 04.09.2002
With us: 16 years 11 months
Location: NY, USA

Post #6by selden » 30.11.2006, 11:01

Ren?©,

This Addon was tested using Celestia built from CVS on 29 November. I suspect there will be changes to the Frame definitions which will require changes to the Addon for the final release of v1.5.0.

Unfortunately, Celestia does not yet support interactive realtime control of SSC objects, including Hubble. One can hope that realtime control will be available in a future version of Celestia.

The observation currently has to be defined in advance by editing pointing_hubble.ssc to specify the target and Hubble's roll angle. Beginning and Ending directives or a .q quaternion file could be used to observe a sequence of targets, but I didn't make it that elaborate.

In principle, one could simulate realtime control by using a screen overlay with the Lua Edu package to display the field of view, adjusting the size of Hubble's FOV overlay to match the viewpoint, but I haven't investigated that, either.
Selden

Avatar
Topic author
selden
Developer
Posts: 10064
Joined: 04.09.2002
With us: 16 years 11 months
Location: NY, USA

Post #7by selden » 30.11.2006, 11:27

Nicolas,

Is a graphical image available of INTEGRAL's fields of view? Or a parametric description of their relative and opening angles? They're large enough that the method I used for Hubble's fov might need some modification.

The method used to display Hubble's fov is relatively simple: a square model is placed 1km in front of the telescope with an appropriate radius. A diagram of the fov is used as its surface texture. Another object is defined immediately in front of Hubble to be used as the viewpoint destination.

To make an observation, after defining the object and roll angle in the SSC, you GoTo the viewpoint object and Track the FOV object.

There are several things that can be done to improve the addon, but I didn't want to spend a lot of time "polishing the apple" :)

For example, a model consisting of OpenGL lines could be used instead of a surface texture image. This would improve the representation of the fov outlines.

Also, there is a slight parallax offset of the fov since the viewpoint won't be exactly at the correct pov: Celestia stops before you get there. This can be reduced by placing the fov object much further away from the telescope. I'll do that for the final release for v1.5.0. One also can eliminate this parallax by specifying a precise pov location relative to the telescope either in the GoTo menu or by using gotolonglat in a script. I'll add such a script in the final version.
Selden

rra
Posts: 171
Joined: 17.07.2004
With us: 15 years 1 month
Location: The Netherlands

Post #8by rra » 30.11.2006, 11:55

Selden , regarding your add-on :

I tried it at work, but al I get is a white flat square, non-transparant ,
with black lines and markers as shown in your previous post.
At my work I don't have openGL 2.0,
could that be the problem ??


Ren?©

Avatar
Topic author
selden
Developer
Posts: 10064
Joined: 04.09.2002
With us: 16 years 11 months
Location: NY, USA

Post #9by selden » 30.11.2006, 12:36

Ren?©,

I think this has to be considered a bug in Celestia. I'll make sure Chris hears about it, just in case he doesn't read this thread.

The CMOD model specifies an emissivemap texture so that the lines glow. Emissivemaps are new in v1.5.0.

I don't see anything in what Chris wrote about the new cmod texture maps which says that they require OpenGL 2.0. I don't think they should and that the failure is just due to an oversight.
Selden

buggs_moran
Posts: 835
Joined: 27.09.2004
With us: 14 years 10 months
Location: Massachusetts, USA

Post #10by buggs_moran » 30.11.2006, 17:14

I wonder if there is a file out there containing the dates, RA and Dec pointing info for things like Hubble, Chandra, etc. that could be used to create an ssc with all pertinent directions over the years...

For that matter, I wonder if there is a similar spreadsheet that contains mission dates, and orbit data for all of the shuttle flights so when the shuttle was in orbit we could go "see" it... like we do with a spacecraft like Voyager...
Homebrew:
WinXP Pro SP2
Asus A7N8X-E Deluxe
AMD Athlon XP 3000/333 2.16 GHz
1 GB Crucial RAM
80 GB WD SATA drive
ATI AIW 9600XT 128M

Avatar
Topic author
selden
Developer
Posts: 10064
Joined: 04.09.2002
With us: 16 years 11 months
Location: NY, USA

Post #11by selden » 30.11.2006, 19:48

I've generated an updated Addon which works around the transparency bug.

http://www.lepp.cornell.edu/~seb/Celest ... le_v02.zip
(1.1MB)

The original images were not a power-of-two on a side. I've resized the fov image from 901x901 to 1024x1024. New graphics cards, like Nvidia 6nnn or greater, can use non-power-of-two sizes. Celestia v1.5.0 will automatically scale non-power-of-two images so they'll work on older cards, but there seems to be a bug.

The Hubble fov image looks much better in the OpenGL 2.0 render path than it does in the other paths. I suspect not much can be done to improve the older rendering paths. I guess I'll have to investigate using a model instead of an image sooner rather than later :(
Selden

produit
Posts: 9
Joined: 29.08.2006
With us: 12 years 11 months
Location: Geneva, Switzerland

Post #12by produit » 30.11.2006, 20:37

Hi,

there is a sketch of the FOV of INTEGRAL in:
http://integral.esac.esa.int/AO4/AO4_Policies.pdf
page 21
This sketch with numbers and explanations in my email should do it.
The best will be to have lines drawn the same way the coordinate Ra Dec
grid line are done.

Tell me if this is sufficient or if you need more explanations.

Thanks
Nicolas Produit

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 14 years 6 months

Post #13by ElChristou » 30.11.2006, 20:54

selden wrote:...I guess I'll have to investigate using a model instead of an image sooner rather than later :(...


I confirm the white square if not under OGL2.0...
A model would be really great for a better resolution in all case...
Image

Avatar
Topic author
selden
Developer
Posts: 10064
Joined: 04.09.2002
With us: 16 years 11 months
Location: NY, USA

Post #14by selden » 30.11.2006, 21:04

Nicolas,

That should be enough.

Thanks!
Selden

Avatar
Topic author
selden
Developer
Posts: 10064
Joined: 04.09.2002
With us: 16 years 11 months
Location: NY, USA

Post #15by selden » 01.12.2006, 02:59

I've updated the Addon to be
http://www.lepp.cornell.edu/~seb/celest ... le_v03.zip
(500KB)

I replaced the image of the fov by a 3d model. It doesn't use lines. Getting those right would have taken too much time and effort. Instead, it's a translucent model of the various detectors and labels.

Image

It seems to work reasonably well.
Selden

Avatar
Cham M
Posts: 4325
Joined: 14.01.2004
Age: 54
With us: 15 years 7 months
Location: Montreal

Post #16by Cham » 01.12.2006, 05:01

Selden,

your fov model could be improved easily :

you don't need to add any depth to the pieces (green arcs and letters). Made them flat (no depth), so they'll look better (no transparent parts with confused rendering) and they'll have less polygons. And the green arcs really need a smoother edge (it looks crude).
"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!"

Avatar
Topic author
selden
Developer
Posts: 10064
Joined: 04.09.2002
With us: 16 years 11 months
Location: NY, USA

Post #17by selden » 01.12.2006, 10:35

Cham,

Yes, all of those could be improved.

This is only v0.4. v1.0 will be better ;)
Selden

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 14 years 6 months

Post #18by ElChristou » 01.12.2006, 15:51

selden wrote:Cham,

Yes, all of those could be improved.

This is only v0.4. v1.0 will be better ;)


Selden, have a look at your mailbox... :wink:
Image

Avatar
Topic author
selden
Developer
Posts: 10064
Joined: 04.09.2002
With us: 16 years 11 months
Location: NY, USA

Post #19by selden » 02.12.2006, 04:26

Nicolas (and anyone else who is interested),

An Addon is now available to display the fov of Integral:

http://www.lepp.cornell.edu/~seb/celest ... tegral.zip (31KB)

(Yes, it's misnamed: it assumes that the ssc which defines Sol/Earth/INTEGRAL is doing the pointing.)

It uses glowing lines in space (a CMOD line model) to outline the fields of view. Please let me know if it's OK.
Selden

Avatar
Cham M
Posts: 4325
Joined: 14.01.2004
Age: 54
With us: 15 years 7 months
Location: Montreal

Post #20by Cham » 02.12.2006, 04:41

Selden

your model is crashing Celestia. Total lock-up.

Apparently, it is the cmod which is doing this, but I didn't wanted to reproduce the painfull crash, so it need a confirmation.
"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!"


Return to “Add-on development”

Who is online

Users browsing this forum: 6 guests