vt clouds says "say no to cloud shadows!"

Report bugs, bug fixes and workarounds here.
Topic author
Verz Veraldi
Posts: 55
Joined: 16.09.2010
With us: 14 years 2 months
Location: In front of my computer

vt clouds says "say no to cloud shadows!"

Post #1by Verz Veraldi » 24.09.2010, 10:02

I don't know if this is outdated but, is the cloud shadows render really doesn't work with vt cloud texture? I've reinstalled my celestia and try only a vt cloud texture, and the render doesn't show.

processor: intel core 2 duo
vga card: Nvidia geforce 9600gt, 1gb vram
RAM: 4gb vgen
OS: windows vista ultimate service pack 2 (with latest open gl and directX)
Finally figured out how to add signature...
Core 2 Duo E7500 2.93 GHz, 4GB RAM, Nvidia GeForce 9600GT 1GB DDR3 Mem, Windows 7 32bit...

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 2 months

Re: vt clouds says "say no to cloud shadows!"

Post #2by John Van Vliet » 24.09.2010, 18:10

Verz Veraldi a question
is your nvidia driver FROM the nvidia web site or from "windows update"

auto updates will reinstalled there gl disabled driver ( and it WILL ) on top of the driver from nvidia's web site

you might want to check

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Re: vt clouds says "say no to cloud shadows!"

Post #3by selden » 24.09.2010, 18:56

You also have to
1. use Render path: OpenGL 2.0 (type Ctrl-V several times if necessary)
2. enable CloudShadows in the Render/View Options menu
3. look very closely. They're easier top see if you increase CloudHeight substantially.

Code: Select all

Modify "Earth" "Sol" { Atmosphere { CloudHeight 700 }}

although so high a cloud height does reveal a defect in Celestia!

To be specific, clouds beyond the rim of the planet are drawn on the night side where they should be in the planet's shadow-cone. Maybe that'll be fixed with the new shadow code which Chris has not yet finished.
Selden

Topic author
Verz Veraldi
Posts: 55
Joined: 16.09.2010
With us: 14 years 2 months
Location: In front of my computer

Re: vt clouds says "say no to cloud shadows!"

Post #4by Verz Veraldi » 25.09.2010, 00:47

Well, i believe it's not from my celestia itself because i've tried selden'd suggestion from the start (i turn on and off and on and off the render and see if there any difference), nothing work... just for info, i've installed many games in my computer that uses directX 9 or 10, and i DO update my directX from the nvidia web, not from the windows update.... maybe that's the problem? :?
Finally figured out how to add signature...
Core 2 Duo E7500 2.93 GHz, 4GB RAM, Nvidia GeForce 9600GT 1GB DDR3 Mem, Windows 7 32bit...

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 2 months

Re: vt clouds says "say no to cloud shadows!"

Post #5by John Van Vliet » 25.09.2010, 01:03

--- edit ---
Last edited by John Van Vliet on 19.10.2013, 22:51, edited 1 time in total.

Topic author
Verz Veraldi
Posts: 55
Joined: 16.09.2010
With us: 14 years 2 months
Location: In front of my computer

Re: vt clouds says "say no to cloud shadows!"

Post #6by Verz Veraldi » 25.09.2010, 04:00

i've check with opengl extension viewer, it says i've got opengl 3.3.... and about the directX, it's long ago so i forgot.. sorry
Finally figured out how to add signature...
Core 2 Duo E7500 2.93 GHz, 4GB RAM, Nvidia GeForce 9600GT 1GB DDR3 Mem, Windows 7 32bit...

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Re: vt clouds says "say no to cloud shadows!"

Post #7by selden » 25.09.2010, 15:57

I've verified that VT clouds do not cast shadows on my system, too.
I'm using Harald Smith's VT cloud texture downloaded from the MotherLode
http://celestiamotherlode.net/catalog/earthcloud.php

When I combined the two level0 dds images into a single dds, that does cast shadows.

System:
8GB, 1.6GHz, Core i7-Q720; Win7 Pro x64
512MB Nvidia NVS-3100M; ForceWare v258.96; OpenGL v3.3.0
Celestia r5053 & Celestia v1.6.0

p.s. The image below reveals that Celestia is not projecting the shadows accurately.
Apparently they're being drawn on the surface directly beneath the clouds instead
of being projected from the direction of the Sun. I have a vague recollection of Chris
mentioning that he'd changed to using this method because the algorithm he'd been
using to cast them "correctly" was using too many shaders, causing OpenGL errors.

Note that the shadows of clouds in the northern hemisphere are cast to their south,
while shadows of clouds in the southern hemisphere are cast to their north.
The viewpoint is Celestia's initial default, with the sun directly behind the viewpoint.
No shadows should be visible because they should be obscured by the clouds above them
But VTs don't cast any shadows no matter what viewpoint is used.
Selden

Avatar
Fenerit M
Posts: 1880
Joined: 26.03.2007
Age: 17
With us: 17 years 8 months
Location: Thyrrenian sea

Re: vt clouds says "say no to cloud shadows!"

Post #8by Fenerit » 26.09.2010, 00:22

I think that clouds doesn't cast shadows because the alpha level isn't a true alpha level but it seem to be. With the rubber tool of a paint program, do try to erase the alpha parts; they will be erased too. The fainty remnants of the cloud's color, prevent the shadows because is as it were a global tint.

EDIT LATER:
It should be the loss dds compression that "moves" the colors on the alpha part, whether the original were good png's.
Never at rest.
Massimo

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Re: vt clouds says "say no to cloud shadows!"

Post #9by selden » 26.09.2010, 01:46

The alpha channels in the DDS images are fine. Otherwise the clouds wouldn't be transparent.
Selden

Avatar
Fenerit M
Posts: 1880
Joined: 26.03.2007
Age: 17
With us: 17 years 8 months
Location: Thyrrenian sea

Re: vt clouds says "say no to cloud shadows!"

Post #10by Fenerit » 26.09.2010, 02:12

selden wrote:The alpha channels in the DDS images are fine. Otherwise the clouds wouldn't be transparent.

I do not understood. From your images seem that you have the same my cloud map, I reckon it from the sharp profile bordering the South America. But mine is a 2k PNG no longer available on ML now. If I'd wish to see the shadows, I'd wish to pass again the rubber tool on the alpha parts. And when I passed on the rubber, I'd saw the faintest white color, that superficially seemed the alpha part, erased during the tool's movement. :roll:
Never at rest.
Massimo

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Re: vt clouds says "say no to cloud shadows!"

Post #11by selden » 26.09.2010, 02:48

I'm not sure what you mean by "rubber tool" -- "eraser" maybe?

Most of Celestia's cloud textures are entirely solid white in the color channels. The shapes of the clouds are only in the Alpha channel, not in the color channels. (This makes them easier to compress, since all of the pixels are exactly the same color.) When you erase using a paint program, it will change both the color channels and the Alpha channel. Maybe you're seeing the change that's happening in the color channels.
Selden

Avatar
Fenerit M
Posts: 1880
Joined: 26.03.2007
Age: 17
With us: 17 years 8 months
Location: Thyrrenian sea

Re: vt clouds says "say no to cloud shadows!"

Post #12by Fenerit » 26.09.2010, 03:21

selden wrote:I'm not sure what you mean by "rubber tool" -- "eraser" maybe?

Most of Celestia's cloud textures are entirely solid white in the color channels. The shapes of the clouds are only in the Alpha channel, not in the color channels. (This makes them easier to compress, since all of the pixels are exactly the same color.) When you erase using a paint program, it will change both the color channels and the Alpha channel. Maybe you're seeing the change that's happening in the color channels.

Yes, I mean the "eraser"; sometime is named "rubber" :mrgreen: For the second question, there is one fault in my way of expression, indeed. I know what you mean with "alpha channel", you mean the correct, original, "way of style". Unfortunately, I call "alpha" also the simple transparent canvas, on which is painted on. Thus, I consider the parts of an image which are "transparents" the "alpha channel" of the image. My fault. :o
Never at rest.
Massimo

Topic author
Verz Veraldi
Posts: 55
Joined: 16.09.2010
With us: 14 years 2 months
Location: In front of my computer

Re: vt clouds says "say no to cloud shadows!"

Post #13by Verz Veraldi » 26.09.2010, 04:07

see that? the second image of selden's post still cast shadows... i've tried setting the height to 200.. nothing work... but, when i tried removing the vt cloud addon, the default cloud still cast shadows.... so, i bet it's a bug. i hope it's fixed in the next version.. :(
Finally figured out how to add signature...
Core 2 Duo E7500 2.93 GHz, 4GB RAM, Nvidia GeForce 9600GT 1GB DDR3 Mem, Windows 7 32bit...

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Re: vt clouds says "say no to cloud shadows!"

Post #14by selden » 26.09.2010, 16:35

Verz,

Yes, it is a bug (or missing feature).
Selden


Return to “Bugs”