Instrument/Control Panel add-on?

Post requests, images, descriptions and reports about work in progress here.
Topic author
JazziFan19
Posts: 2
Joined: 20.05.2005
With us: 19 years 6 months

Instrument/Control Panel add-on?

Post #1by JazziFan19 » 20.05.2005, 20:38

Hi, everyone!

I'm new to this board, although I've been using Celestia for several years now.

I'm thinking about starting a project - adding an instrument/control panel to Celestia, similar to an aircraft's. Before starting, I'm trying to contact everyone who is involved with other Celestia projects. There are two qustions I'd like to ask you:

1. How would you go about adding a 2D instrument and control panel to Celestia?
2. Are you aware of anyone else who's tried this?

Thanks a lot for your response! Hope to see you "out there"!

-- Jerry
-- Jerry

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 8 months
Location: Hamburg, Germany

Re: Instrument/Control Panel add-on?

Post #2by t00fri » 20.05.2005, 20:52

JazziFan19 wrote:1. How would you go about adding a 2D instrument and control panel to Celestia?
-- Jerry


I would not want to add a 2D instrumetn and control panel to Celestia...

Just switch to 'Orbiter' if you tend to like that sort of stuff.

Bye Fridger

trenner
Posts: 58
Joined: 27.09.2002
With us: 22 years 2 months
Location: Nanaimo, B.C., Canada

Post #3by trenner » 21.05.2005, 05:59

If a joystick could be set up to work like it does inFS2002 and FS2004, that would be really nice. Especially the top hat

Regards
Terry Renner

Avatar
fsgregs
Posts: 1307
Joined: 07.10.2002
With us: 22 years 1 month
Location: Manassas, VA

Post #4by fsgregs » 22.05.2005, 03:17

Dear Jerry:

I write the Educational Activities for Celestia. In them, I ask the readers to imagine themselves riding in a hyperdrive spacecraft. We even have a model of it. Its called the Celestia 1.


The effect works well, and the kids who journey through Celestia space in my activities enjoy the idea of flying through space. It animates their imagination as they take the trip.

As such, I would be very interested in an add-on which superimposes a cockpit/instrument control panel of sorts in the Celestia window. I have no idea how to do it, and I would not want it taking up much room in the scene, but some hint of glowing dials near the bottom of the screen would be a very nice touch for my purposes.

If you do find out how to do it, I for one would be excited to download the add-on, and use it in my Activities.

Regards,

Frank G

Larryman
Posts: 1
Joined: 27.08.2005
With us: 19 years 3 months

Post #5by Larryman » 24.11.2005, 02:39

YES! Lets get this function working. I think it would be like a 'skin' function for Celestia. Personally I would like to fly the Celestia universe by looking out the forward viewport of the TV series "Lost In Space" Jupiter 2 flying saucer. It had a good sized view port. Or sometimes seeing it through the Star Trek TOS bridge main view screen. And surely there are many other sci-fi ship viewscreens to overlay the Celestia display with. Of course make the skin optional: on/off menu-switchable.

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

Post #6by selden » 24.11.2005, 12:13

A way to provide a graphical overlay for Celestia's window would be welcome, I think. It should not be described only as a way to create spacecraft control panels, however. There are many other uses for it.
Selden

maxim
Posts: 1036
Joined: 13.11.2003
With us: 21 years
Location: N?rnberg, Germany

Post #7by maxim » 24.11.2005, 18:12

Isn't there a image overlay patch from doctorjoe already available???

maxim
Get my stuff from celestia.ziegelstein.net

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

Post #8by ElChristou » 24.11.2005, 18:55

selden wrote:...It should not be described only as a way to create spacecraft control panels, however. There are many other uses for it.


If we can add fonctionality to such garphics (button, menus, guides, grids etc) why not... if not appart for the SciFi fans I don't see the interest...
Image

Malenfant
Posts: 1412
Joined: 24.08.2005
With us: 19 years 3 months

Post #9by Malenfant » 24.11.2005, 19:01

ElChristou wrote:
selden wrote:...It should not be described only as a way to create spacecraft control panels, however. There are many other uses for it.

If we can add fonctionality to such garphics (button, menus, guides, grids etc) why not... if not appart for the SciFi fans I don't see the interest...


Actually, having clickable buttons/control panels etc might be useful. The outreach centre at the observatory near me has a computer running an interactive 'solar system tour' type thing where you can fly round the solar system in a spaceship. You can go to any planet by selecting it on the control panel, and launch a probe to investigate it further and access more info. It's pretty good, but the graphics are really lousy.

If you could do this in Celestia then you could link each button to a script that would run and show info on the screen.
My Celestia page: Spica system, planetary magnitudes script, updated demo.cel, Quad system

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

Post #10by Cham » 24.11.2005, 19:21

I TOTALLY disagree with that idea. NO COCKPIT in Celestia, PLEASE ! This is useless and reduces the view, ... for what ? For nothing !

The very limited coding ressources we currently have for Celestia should concentrate on the important things only, and there are already a lot of them. IMO, this cockpit idea is completelly futile.

Geez ! :roll:
"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!"

Malenfant
Posts: 1412
Joined: 24.08.2005
With us: 19 years 3 months

Post #11by Malenfant » 24.11.2005, 19:40

Cham wrote:I TOTALLY disagree with that idea. NO COCKPIT in Celestia, PLEASE ! This is useless and reduces the view, ... for what ? For nothing !


Did you read what I just posted? This could potentially have a beneficial use for some situations (ie as an interface for an educational activity).

I agree though that the usual crowd of developers should focus on more important issues. But that shouldn't stop anyone else from giving it a go.
My Celestia page: Spica system, planetary magnitudes script, updated demo.cel, Quad system

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

Post #12by Cham » 24.11.2005, 19:49

Malenfant wrote:
Cham wrote:I TOTALLY disagree with that idea. NO COCKPIT in Celestia, PLEASE ! This is useless and reduces the view, ... for what ? For nothing !

Did you read what I just posted? This could potentially have a beneficial use for some situations (ie as an interface for an educational activity).

I agree though that the usual crowd of developers should focus on more important issues. But that shouldn't stop anyone else from giving it a go.


Then what you are asking for are floating palettes (which could be moved around), not a cockpit.
"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!"

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

Post #13by ElChristou » 24.11.2005, 20:02

In all case this kind of stuff should be really optional, better at addon level, and better by people not working in the principal dev...
Image

Boux
Posts: 435
Joined: 25.08.2004
With us: 20 years 3 months
Location: Brittany, close to the Ocean

Post #14by Boux » 24.11.2005, 21:07

Wait a minute guys,
looks like some people are willing to re-invent some kind of KDE user interface :D

Malenfant
Posts: 1412
Joined: 24.08.2005
With us: 19 years 3 months

Post #15by Malenfant » 24.11.2005, 21:14

Cham wrote:Then what you are asking for are floating palettes (which could be moved around), not a cockpit.


No, I'm saying that the software that the outreach centre had was a cockpit. If you want to make something that random people can sit down and interact with for educational purposes then something simple and fixed is better than floating palettes. Though I'm talking about a specific use for a cockpit type addon here - I definitely wouldn't want to see this become a part of Celestia though.
My Celestia page: Spica system, planetary magnitudes script, updated demo.cel, Quad system

Tanketai
Posts: 86
Joined: 06.01.2005
With us: 19 years 10 months
Location: Brasil

Post #16by Tanketai » 26.11.2005, 05:41

...

I was wondering about this 'cockpit' view and and I came up with this:

Image

The green square is actually being rendered by celestia (not a montage[is this spelled right?]), as the logo image. I found out that celestia only uses multiples of the original image's size. (the original logo was 256x64, the green square is 1024x256 [I used this on the star flares too, it gives more detail using a 512x512 pic])

So, the question is: How to turn the 'logo fade-out' off? It isn't in the start.cel file, nor in the celestia.cfg, so it seems that there is no quick-fix addon for this, right?

Well, at least it was worth something; now I have a custom logo (crappy, but custom) :D
"There's nothing beyond the sky. The sky just is, it goes on and on, and we play all of our games beneath it."

Boux
Posts: 435
Joined: 25.08.2004
With us: 20 years 3 months
Location: Brittany, close to the Ocean

Post #17by Boux » 26.11.2005, 09:02

Hi,
The fade out effect, sizing of picture and time are hard-wired in the code in celestiacore.ccp, lines 3393 to 3435 where the logo is called to show at start.
I have tampered a little bit with the code to make a picture stay as an overlay.
It works, but there is a problem with visual artifacts in Celestia in the background where some textures are disappearing (when too many of them stacked? I don't know).
It is probably not the right place to play with in the code I believe, because the logo is drawn and removed before Celestia actually starts rendering.
There is also a piece of code that is entirely commented out that states "Experimental code for overlaying images". See lines 3361-3389 in celestiacore.ccp.
This may be the proper toy to play with. :D

Boux
Posts: 435
Joined: 25.08.2004
With us: 20 years 3 months
Location: Brittany, close to the Ocean

Post #18by Boux » 26.11.2005, 12:26

OK, its works.
No artifact whatsoever.
Only issue is that the console window is hidden behind the overlay.
Should'nt be very tricky to fix it.
I borrowed a cockpit shot from Orbiter to do a /very/ quick and dirty test.
Here's the result:

Edit: old picture deleted.
Please see other post below.
Last edited by Boux on 27.11.2005, 20:30, edited 1 time in total.

Malenfant
Posts: 1412
Joined: 24.08.2005
With us: 19 years 3 months

Post #19by Malenfant » 26.11.2005, 19:16

Y'know, that actually looks damn cool. Doesn't obstruct too much of the view either.
My Celestia page: Spica system, planetary magnitudes script, updated demo.cel, Quad system

Boux
Posts: 435
Joined: 25.08.2004
With us: 20 years 3 months
Location: Brittany, close to the Ocean

Post #20by Boux » 26.11.2005, 19:42

Yep, it's damn cool.
After some time, you find the Celestia experience changes a lot.
Perception is different. It's no longer an "anonymous window".
You're like being there. Strapped in the pilot's seat.
If you add your favorites KDE buttons as another overlay on the cockpit foreground, it feels like you ARE THERE! ... With full control.
Still working on it.
Will post a new result
8)


Return to “Add-on development”