fsgregs wrote:Boux:
I LOVE IT!!! My students would all flip out if the overlay could be added dynamically to Celestia during program run (perhaps via menu or keystroke). It fits perfectly with the external view of the Celestia 1, the ship that Jack Higgins created for me some time ago to use in the Educational Activities. Here's a screenshot of the Celestia 1. It is heavily featured in all my Activity journeys.
Please do whatever you can to provide your cockpit add-on for use in a Windows system.
Frank
Hi,
Unfortunately, this cannot be an add-on currently because the additional overlay is hard-wired into the code.
I had to make several changes to it such as adding a new class for a custom_texture that is called by Celestia from the textures folder where flare and logo are already sitting.
Some other changes process the auto re-sizing of the overlay picture to the current screen width and height and the behaviour of the existing blueish overlay console at the bottom of the screen where one can enter an object name.
Some other changes are to be done such as defining a hotkey to switch it on and off at will.
All in all, nothing really difficult but it implies changing the code and re-compiling it (btw, it is a breeze under Linux and very fast, I can test two different builds within a couple minutes!). Not everyone is able or is wanting to do that.
I have stopped this development for the time being. I am waiting for the next stable release to redo everything. There are too many changes going on on the CVS at the moment.
When it is done, I will (perhaps, I am busy like hell with my job) release a short how-to with bits of code to add or to change in the various source files for people who make their own builds out there (for any OS obviously).
A more elegant, easy to maintain solution would be to put the changes all together in a separate *.h and *.ccp pair of dedicated source files.
I am not a programmer. I work in a completely different environment.
I am just learning C++ for the fun of it and as a side-effect of my personal interest for Linux and Celestia.