My attempt to code celestia...

The place to discuss creating, porting and modifying Celestia's source code.
Evil Dr Ganymede
Posts: 1386
Joined: 06.06.2003
With us: 21 years 5 months

Post #21by Evil Dr Ganymede » 07.01.2004, 08:34

Rassilon wrote:After a bit of star tweaking Ive come up with some changes to the way the stars look including a few extras...

Image
from top left to bottom right:
K star, Wolf-Rayet, O Star, R star...


This is all great stuff, Rass :).

One thing - what you label as a Wolf-Rayet star in this picture actually looks a lot more like a very fine rendition of an old, fading Brown Dwarf
(see http://spider.ipac.caltech.edu/staff/da ... rison.html ) for a picture. The BD is the one next to Jupiter, your one is a deeper purple colour which means it's mostly emitting in the infrared. That'd make a nice alternative texture for the BDs currently in Celestia.

Since you're tinkering with Binary stars, are you going to tweak this so that you get planets illuminated by multiple light sources?

Topic author
Rassilon
Posts: 1887
Joined: 29.01.2002
With us: 22 years 9 months
Location: Altair

Post #22by Rassilon » 07.01.2004, 14:34

Thanks!

originally I had the idea WR stars were UV type stars but I changed that...Refer to the image just above the red giants...there more like a O star with a hint of violet...

On binaries...emissive class has been added so far to render planets to look just like stars....As for a light source...I have to figure out first what chris uses to control the lights when all shaders are enabled...GL_LIGHT seems to affect the mesh only with basic shaders etc...

If chris sees this he might just point me in the right direction...or I may just stumble upon it myself...Mostly getting used to the source layout right now...
I'm trying to teach the cavemen how to play scrabble, its uphill work. The only word they know is Uhh and they dont know how to spell it!

bh
Posts: 1547
Joined: 17.12.2002
With us: 21 years 11 months
Location: Oxford, England

Post #23by bh » 11.01.2004, 23:31

Bloody hell Rass!...these look great! Keep it up. Sorry, I've been offline for a few weeks...happy new year to you!

Regards...bh.

Topic author
Rassilon
Posts: 1887
Joined: 29.01.2002
With us: 22 years 9 months
Location: Altair

Post #24by Rassilon » 12.01.2004, 20:42

Thanks bh!

Ive put the celestia code down for a while due to my inexperience with OpenGL and my rusty knowledge on C++...In order to learn what is happening in Celestia I will do much like Paolo and reinvent the wheel...Thing is the program I will develop will be more like what marc is doing....it will be game based...And much like Noctis IV will allow one to explore planets...but I want to make it similar to this method: http://baddoggames.com/planet/

Using the ROAM engine for terrain generation...This is the best way to use a LOD method Im aware of...so wish me luck...Ill be back to coding Celestia once I learn what its all about...

In the meantime Ive got my exe back to the way it was and plan at some point releasing another addon when I find time...
I'm trying to teach the cavemen how to play scrabble, its uphill work. The only word they know is Uhh and they dont know how to spell it!

Darkbolt
Posts: 32
Joined: 11.07.2002
With us: 22 years 4 months
Contact:

Post #25by Darkbolt » 12.01.2004, 21:26

Rassilon wrote:Well it looks like I finally got somewhere...Thing is would my edits be submissable or would I simply just release the exe with my addons??

I think I might do the latter...unfortunately this means all other platforms would have to just settle without the extras...

You may as well do both....If you do decide to do the latter though, remember that you are required to release the sourcecode along with any binaries you redistribute, as celestia is published under the GPL.

You've got some nice work there though, and if youre not going to work on it anymore (or for a while) you should submit it to chris, so he can see what you've done, and possibly use it as a base to implement it more completely, and cross platform, so everyone can enjoy it.
Image

ArneB
Posts: 48
Joined: 04.01.2004
With us: 20 years 10 months
Location: Norway

Post #26by ArneB » 17.01.2004, 14:27

I really liked the one in the upper right corner!
Gal yuh fi jump an prance

-Shaggy


Return to “Development”