Red Moon

General discussion about Celestia that doesn't fit into other forums.
Topic author
David
Posts: 24
Joined: 03.11.2004
With us: 19 years 10 months
Location: Bolton, England

Red Moon

Post #1by David » 07.11.2004, 02:14

is there any way of getting the moon on Celestia to go red!

it just disapears

David
Celestia 1.3.2-1 and 1.4.0-6
iMac G3
Mac OS X 10.3.7
500 MHz CPU
512Mb SDRAM
ATI Rage 128 Pro 2 16Mb VRAM

Evil Dr Ganymede
Posts: 1386
Joined: 06.06.2003
With us: 21 years 3 months

Re: Red Moon

Post #2by Evil Dr Ganymede » 07.11.2004, 02:29

David wrote:is there any way of getting the moon on Celestia to go red!

it just disapears

David


I presume you mean during a Lunar Eclipse? Nope. Celestia doesn't handle the diffraction of light through the atmosphere that makes the moon go red when it's in Earth's shadow, so it just goes black instead because no light is directly reaching it..

EDIT: BTW, you posted this on the wrong board - best place for this sort of thing is on the Users board. This board is for people who are actually developing new material for Celestia. (Selden, maybe you could move this?)

praesepe
Posts: 220
Joined: 15.10.2002
Age: 44
With us: 21 years 11 months
Location: Barcelona, Spain

Post #3by praesepe » 07.11.2004, 02:42

Ummm.. :?

If I'm not wrong, there was a little hack (modified source code) of an old version of Celestia that rendered eclipse shadows in red colour, wich was great for Moon eclipses but a totally unrealistic when on other planet/moons eclipses... :mrgreen:
Greets :P

praesepe

MB
Posts: 128
Joined: 19.07.2002
With us: 22 years 2 months
Location: Paris France

Post #4by MB » 07.11.2004, 23:55

I was the guy who make this long time ago.
However, Preasepe Don't say that it was not realistic with other moons since this reddish color was only applied to our moon exclusively. Nothing for the moons of the other planets.
MB

Guest

Post #5by Guest » 08.11.2004, 02:06

MB, Would you consider making a hack for pre5?? It would be really cool
to see a red total Lunar eclipse.

MB
Posts: 128
Joined: 19.07.2002
With us: 22 years 2 months
Location: Paris France

Post #6by MB » 08.11.2004, 17:55

Anonymous wrote:MB, Would you consider making a hack for pre5?? It would be really cool
to see a red total Lunar eclipse.

I will look if the code of Celestia has not changed too much concerning this peculiar aspect. This hack was 2 years old :roll:
Unfortunately I am not optimistic:
1: I cannot anymore compile under Windows since Chris use the last Visual C++ developing set.
2: The situation is somewhat better with Linux, but I stiill have some problems.
It is rather obvious that the continuous improvement ( change, at least) :wink: does not help for the developer amateur like me.
Sorry, MB

Guest

Post #7by Guest » 08.11.2004, 20:53

MB, Tell me if Im wrong but I think it can be compiled from the sorce code with the included makefile.exe or some other simular file?
If not perhapes Cris would consider building this feature into celestia.
along with stars that are more radiant in brightness.
Thanks for responding.

Avatar
selden
Developer
Posts: 10190
Joined: 04.09.2002
With us: 22 years
Location: NY, USA

Post #8by selden » 08.11.2004, 21:14

Anonymous Guest,

makerelease.bat works fine, but only if you have a compatible compiler installed on your system. In particular, it has to be Windows C++ v7.0 or later.

e.g. the version that's included with Microsoft Visual Studio 2003 Professional.

My understanding is that a "cookbook" explaining how to use the free version of Microsoft's Windows C++ compiler is in development.

Unfortunately, compiling under Linux has prerequisites which aren't explicitly documented. Several of the "auto" configuration tools have to be invoked which create an appropriate makefile, for example.
Selden

wcomer
Posts: 179
Joined: 19.06.2003
With us: 21 years 3 months
Location: New York City

Post #9by wcomer » 09.11.2004, 15:40

The "cookbook" has had a draft for some time now. I just need to find the time to make it user freindly and get it up to the forums. Hopefully it wil be out soon. The good news is that I've done daily builds off of the cvs and not had any problems aside from the cvs not always being accesible.

MB
Posts: 128
Joined: 19.07.2002
With us: 22 years 2 months
Location: Paris France

Post #10by MB » 09.11.2004, 23:33

Sorry for this late answer. I am not presently at home and I do not look at the forum as frequently as it would be. I need to clarify some points.
1. I devoted at least one thread about this topic where I developped my view point in details, I don't remember when, but you should easily find these posts using the "Search" function with my forum id: MB, or by searching the word Eclipse.

2. I don't have the corresponding source code available here, I have to wait when I will be back at home (end of the week).
3. I only have Visual C++ V6.0, installed, therefore as explained by Selden I cannot compile the new code. Even more, only the file I have to modify (render;cpp) cannot be compiled with C++ V6.0 !!! Actually I have the material to install C++ V7.0. However, It is a apparently a very heavy stuff, I tried to install it but the install complained saying that I have to install something else in Windows. Furthermore I read (or I heard ), as a warning, that it is hasardous to install it! Therefore I am still in a kind of an expectation state.
4. In addition, you may easily understand that it is very boring to apply such change to the many successive prereleased versions of celestia. It is the reason why I gave up. If I can solve the above problems, I will try to make such hack, at least for the released version.
5. The best solution would be that the developpers consider this effect ( by treating the light scattering by our dusty atmosphere) but it is clearly not in their priority.
MB


Return to “Celestia Users”