Page 1 of 5

Another preview - cloud shadows

Posted: 11.07.2006, 16:48
by chris
It's about time that I got around to this:

No cloud shadows:
Image

With cloud shadows:
Image

Unfortunately, there's no way that cloud shadows will work with tiled cloud textures.

--Chris

Posted: 11.07.2006, 16:54
by bh
Wow! Chris what a difference that makes. Not for 1.4.1 then I guess?

Posted: 11.07.2006, 17:08
by Paolo
8O 8O 8O 8O . I have no words. :D

Posted: 11.07.2006, 18:31
by Johaen
How do the shadows work? Are they directly beneath the clouds? Are they all off to one specific side at a certain distance? Or are they like real shadows, and depend on the angle of the Sun, kinda like the eclipse shadows work?

Posted: 11.07.2006, 18:38
by buggs_moran
HOORAY!

Posted: 11.07.2006, 18:40
by t00fri
I think what we URGENTLY would need next at the OpenGl front is better atmospheres!!

Cheers,
Fridger

Posted: 11.07.2006, 19:08
by chris
t00fri wrote:I think what we URGENTLY would need next at the OpenGl front is better atmospheres!!


I agree completely. Here's my list of priorities right now:

- Finish cloud shadows (easy)
- Fix bugs in new star rendering code
- Prerelease? (if everyone on the dev list agrees)
- New atmosphere code
- Realistic planet surface illumination (Lommel-Seeliger or some approximation)
- Lots of work on accuracy--better orbital calculations, precession, coordinates systems

--Chris

Posted: 11.07.2006, 20:13
by Dollan
Oh, that is absolutely outstanding! I hope this will be in the next pre-release, indeed (but I'm patient if it won't be).

...John...

Posted: 11.07.2006, 20:32
by t00fri
chris wrote:
t00fri wrote:I think what we URGENTLY would need next at the OpenGl front is better atmospheres!!

I agree completely. Here's my list of priorities right now:

- Finish cloud shadows (easy)
- Fix bugs in new star rendering code
- Prerelease? (if everyone on the dev list agrees)
- New atmosphere code
- Realistic planet surface illumination (Lommel-Seeliger or some approximation)
- Lots of work on accuracy--better orbital calculations, precession, coordinates systems

--Chris


Just to complement from my side:

-- adding in the rendering of lacking DSO's in PNG format:

** galactic clusters
** (planetary, bipolar) nebulae

-- asteroids??

-- implementing /extended/ Hubble classses of galaxies
-- implementing /custom/ templates (Milky way...)
-- experimenting with PNG alpha channels in the context of DSO's!

Bye Fridger

Posted: 11.07.2006, 20:55
by julesstoop
Very nice progress you are making Chris!
Thank you and the other developers for keeping Celestia alive and kicking.

Posted: 11.07.2006, 23:23
by Dollan
t00fri wrote:Just to complement from my side:

...
** (planetary, bipolar) nebulae
...


Just out of curiosity, and if you don't mind my asking, what are you thinking of in regards to planetary nebulae? Would you go with (at least initially) a uniform model for all of them?

...John...

Re: Another preview - cloud shadows

Posted: 12.07.2006, 01:12
by ElChristou
chris wrote:...
Unfortunately, there's no way that cloud shadows will work with tiled cloud textures.


What a pity... no way to imagine a trick? I mean if the elegant way (true shadows) are impossible, perhaps allowing another layer of something else to create a fake shadow?

Posted: 12.07.2006, 03:13
by rthorvald
This is great! Really! Thanks!

chris wrote:Here's my list of priorities right now:
- Prerelease?


If there is going to be a prerelease soon, i hope and wish that Christophe??s small InfoUrl patch goes into it:
http://celestiaproject.net/forum/viewtopic.php?t=9475
... It would do wonders for my current project...

- rthorvald

Posted: 12.07.2006, 03:52
by PlutonianEmpire
Question: how will all the new stuff affect performance, especially on low end computers like mine?

Posted: 12.07.2006, 04:48
by chris
PlutonianEmpire wrote:Question: how will all the new stuff affect performance, especially on low end computers like mine?


The performance of the new rendering code mostly depends on your graphics card. What do you have in your system?

--Chris

Posted: 12.07.2006, 05:56
by PlutonianEmpire
chris wrote:
PlutonianEmpire wrote:Question: how will all the new stuff affect performance, especially on low end computers like mine?

The performance of the new rendering code mostly depends on your graphics card. What do you have in your system?

--Chris

A nvidia GeForce FX go5200 graphics card.

Posted: 12.07.2006, 06:25
by chris
Johaen wrote:How do the shadows work? Are they directly beneath the clouds? Are they all off to one specific side at a certain distance? Or are they like real shadows, and depend on the angle of the Sun, kinda like the eclipse shadows work?


The shadows are 'real' and do depend upon the angle of the Sun. The calculation must be done at each vertex and is therefore rather computationally expensive (though I've no trouble running at 60Hz on my computer.)

--Chris

Posted: 12.07.2006, 14:04
by Chuft-Captain
Firstly I'd just like to say this work and your other work on improved rendering looks absolutely awesome Chris. Unfortunately I won't be able to benefit from any of this as I don't have OpenGL 2.0 graphics.
This could well be the release that finally forces me to upgrade my desktop memory and graphics (perhaps to a Nvidia card).
Although I use the laptop to do most of my modelling etc, there's probably no way to upgrade the laptop :sad: )

Just one question about the following list of priorities. I see that depth-sorting issues is not on the list. Have you given up on that Chris?, or just forgot to mention it? Or have you fixed it already? (***typed with a hopeful tone*** :wink: )
chris wrote:I agree completely. Here's my list of priorities right now:

- Finish cloud shadows (easy)
- Fix bugs in new star rendering code
- Prerelease? (if everyone on the dev list agrees)
- New atmosphere code
- Realistic planet surface illumination (Lommel-Seeliger or some approximation)
- Lots of work on accuracy--better orbital calculations, precession, coordinates systems

Posted: 12.07.2006, 15:22
by chris
Chuft-Captain wrote:Firstly I'd just like to say this work and your other work on improved rendering looks absolutely awesome Chris. Unfortunately I won't be able to benefit from any of this as I don't have OpenGL 2.0 graphics.
This could well be the release that finally forces me to upgrade my desktop memory and graphics (perhaps to a Nvidia card).
Celestia will continue to support older graphics hardware, but a lot of the new rendering methods are only practical on OpenGL 2.0/DX9 capable hardware.

Just one question about the following list of priorities. I see that depth-sorting issues is not on the list. Have you given up on that Chris?, or just forgot to mention it? Or have you fixed it already? (***typed with a hopeful tone*** :wink: )


I should have put that on the list too. I recently fixed one depth sorting bug that Selden had alerted me about. But, if you're talking about depth sorting of transparent objects, that's a ways off.

--Chris

Posted: 12.07.2006, 16:40
by chris
Another screenshot, this time using Don Edwards's 4k cloud texture:

Image

--Chris