Another preview - cloud shadows

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 10 months
Location: Seattle, Washington, USA

Another preview - cloud shadows

Post #1by chris » 11.07.2006, 16:48

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

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

Post #2by bh » 11.07.2006, 16:54

Wow! Chris what a difference that makes. Not for 1.4.1 then I guess?
regards...bh.

Paolo
Posts: 502
Joined: 23.09.2002
With us: 22 years 2 months
Location: Pordenone/Italy

Post #3by Paolo » 11.07.2006, 17:08

8O 8O 8O 8O . I have no words. :D
Remember: Time always flows, it is the most precious thing that we have.
My Celestia - Celui

Johaen
Posts: 341
Joined: 14.01.2006
With us: 18 years 10 months
Location: IL, USA

Post #4by Johaen » 11.07.2006, 18:31

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?
AMD Athlon X2 4400+; 2GB OCZ Platinum RAM; 320GB SATA HDD; NVidia EVGA GeForce 7900GT KO, PCI-e, 512MB, ForceWare ver. 163.71; Razer Barracuda AC-1 7.1 Gaming Soundcard; Abit AN8 32X motherboard; 600 watt Kingwin Mach1 PSU; Windows XP Media Center SP2;

buggs_moran
Posts: 835
Joined: 27.09.2004
With us: 20 years 2 months
Location: Massachusetts, USA

Post #5by buggs_moran » 11.07.2006, 18:38

HOORAY!
Homebrew:
WinXP Pro SP2
Asus A7N8X-E Deluxe
AMD Athlon XP 3000/333 2.16 GHz
1 GB Crucial RAM
80 GB WD SATA drive
ATI AIW 9600XT 128M

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

Post #6by t00fri » 11.07.2006, 18:40

I think what we URGENTLY would need next at the OpenGl front is better atmospheres!!

Cheers,
Fridger
Image

Topic author
chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 10 months
Location: Seattle, Washington, USA

Post #7by chris » 11.07.2006, 19:08

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

Dollan
Posts: 1150
Joined: 18.12.2003
Age: 54
With us: 20 years 11 months
Location: Havre, Montana

Post #8by Dollan » 11.07.2006, 20:13

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...
"To make an apple pie from scratch, you must first create the universe..."
--Carl Sagan

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

Post #9by t00fri » 11.07.2006, 20:32

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
Image

julesstoop
Posts: 408
Joined: 27.03.2002
With us: 22 years 8 months
Location: Leiden, The Netherlands

Post #10by julesstoop » 11.07.2006, 20:55

Very nice progress you are making Chris!
Thank you and the other developers for keeping Celestia alive and kicking.
Lapinism matters!
http://settuno.com/

Dollan
Posts: 1150
Joined: 18.12.2003
Age: 54
With us: 20 years 11 months
Location: Havre, Montana

Post #11by Dollan » 11.07.2006, 23:23

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...
"To make an apple pie from scratch, you must first create the universe..."
--Carl Sagan

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

Re: Another preview - cloud shadows

Post #12by ElChristou » 12.07.2006, 01:12

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?
Image

rthorvald
Posts: 1223
Joined: 20.10.2003
With us: 21 years 1 month
Location: Norway

Post #13by rthorvald » 12.07.2006, 03:13

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
Image

Avatar
PlutonianEmpire M
Posts: 1374
Joined: 09.09.2004
Age: 40
With us: 20 years 2 months
Location: MinneSNOWta
Contact:

Post #14by PlutonianEmpire » 12.07.2006, 03:52

Question: how will all the new stuff affect performance, especially on low end computers like mine?
Terraformed Pluto: Now with New Horizons maps! :D

Topic author
chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 10 months
Location: Seattle, Washington, USA

Post #15by chris » 12.07.2006, 04:48

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

Avatar
PlutonianEmpire M
Posts: 1374
Joined: 09.09.2004
Age: 40
With us: 20 years 2 months
Location: MinneSNOWta
Contact:

Post #16by PlutonianEmpire » 12.07.2006, 05:56

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.
Terraformed Pluto: Now with New Horizons maps! :D

Topic author
chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 10 months
Location: Seattle, Washington, USA

Post #17by chris » 12.07.2006, 06:25

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

Avatar
Chuft-Captain
Posts: 1779
Joined: 18.12.2005
With us: 18 years 11 months

Post #18by Chuft-Captain » 12.07.2006, 14:04

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
"Is a planetary surface the right place for an expanding technological civilization?"
-- Gerard K. O'Neill (1969)

CATALOG SYNTAX HIGHLIGHTING TOOLS LAGRANGE POINTS

Topic author
chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 10 months
Location: Seattle, Washington, USA

Post #19by chris » 12.07.2006, 15:22

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

Topic author
chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 10 months
Location: Seattle, Washington, USA

Post #20by chris » 12.07.2006, 16:40

Another screenshot, this time using Don Edwards's 4k cloud texture:

Image

--Chris


Return to “Development”