Page 1 of 1

Moon shadow yes, moon shadow no...

Posted: 12.06.2013, 14:39
by Goofy
Hi. I'm using Global Water Volume by ParticleGrasp, found in Motherlode here
http://celestiamotherlode.net/catalog/s ... on_id=1635
It shows three water globes on Earth surface, the large one giving all Earth's water, the median the liquid fresh water, the smaller the water in lakes and rivers, as in image 1.
But I have a strange effect (bug?): whatever setting I'm using, the two larger spheres have their shadow, the snaller doesn't, see image 2.

This is the ssc file, that IMO looks correct:

Code: Select all

Replace "Earth" "Sol"
{
   Texture         "GWVEarth.*"
    NormalMap       "GWVEarthNormal.*"
    Radius          6378.140
    CustomOrbit     "vsop87-earth"
    BodyFrame { EclipticJ2000 {} }
   CustomRotation  "earth-p03lp"
    Albedo          0000.300
}

"All Earth's Water" "Sol/Earth"
{
    Texture         "GWVH2O.*"
    Radius          0691.870
   SpecularColor   [ 0.8 0.8 0.85 ]
   SpecularPower   0025.000
    OrbitFrame { BodyFixed { Center "Sol/Earth" }}
    FixedPosition {Planetographic [ 85 143 691.87 ]}
    InfoURL "http://ga.water.usgs.gov/edu/2010/gallery/global-water-volume.html"
}

"Liquid Fresh Water" "Sol/Earth"
{
    Texture         "GWVH2O.*"
    Radius          0136.400
   SpecularColor   [ 0.8 0.8 0.85 ]
   SpecularPower   0025.000
    OrbitFrame { BodyFixed { Center "Sol/Earth" }}
    FixedPosition {Planetographic [ 95 143 136.4 ]}
    InfoURL "http://ga.water.usgs.gov/edu/2010/gallery/global-water-volume.html"
}

"Water in Lakes and Rivers" "Sol/Earth"
{
    Texture         "GWVH2O.png"
    Radius          0028.100
   SpecularColor   [ 0.8 0.8 0.85 ]
   SpecularPower   0025.000
    OrbitFrame { BodyFixed { Center "Sol/Earth" }}
    FixedPosition {Planetographic [ 97 145 28.1 ]}
    InfoURL "http://ga.water.usgs.gov/edu/2010/gallery/global-water-volume.html"
}

Any help, please?
Thabnk you very much.

Goofy :D

Re: Moon shadow yes, moon shadow no...

Posted: 13.06.2013, 19:18
by Marco Klunder
Probably a "partial" eclipse ?
Check and move in the expected shadow area on the surface of Earth, to see if it should be a total eclipse with a shadow...

Re: Moon shadow yes, moon shadow no...

Posted: 13.06.2013, 21:10
by Hungry4info
I'm pretty sure this is programmatic. I believe Celestia only renders moon shadows for moons above a certain size.

Re: Moon shadow yes, moon shadow no...

Posted: 14.06.2013, 08:24
by John Van Vliet
--- edit----

Re: Moon shadow yes, moon shadow no...

Posted: 14.06.2013, 16:22
by Goofy
Marco Klunder wrote:Probably a "partial" eclipse ?
Check and move in the expected shadow area on the surface of Earth, to see if it should be a total eclipse with a shadow...
Hi Marco.
No, I tried in all the possible positions amd sun angles, times etc., always the same behaviour. :(
john Van Vliet wrote:That add on was a bit "odd" when i checked it- there is a bit of planet shine
Correct, I noted it, and it shows clearly in my NO-SHADOWS-2.jpg image.
Any idea about the reason of this?
Anyway I fear that Hungry4info gave the right solution to the missing shadow, and now I remember something about this problrm in a very old thread, but I didn't find it again.
So I made some test, and here the results. The moon was in original ssc 28 Km radius, but the minimum size to have its shadow is just a little more, 32 Km.
I think this is a strange limitation, cannot find any reason for it.
Any idea?
Bye and many thanks to all of you.

Goofy :D

Re: Moon shadow yes, moon shadow no...

Posted: 15.06.2013, 12:10
by Fenerit
lodgy wrote:
Goofy wrote:So I made some test, and here the results. The moon was in original ssc 28 Km radius, but the minimum size to have its shadow is just a little more, 32 Km.
I think this is a strange limitation, cannot find any reason for it.
Any idea?Goofy :D
I thought the same thing that Hungry4info gave the right solution to the missing shadow...

32 like 32 bits ??? (or 2 x 2 x 2 x 2 x 2 or 2 ^5)

2 = 0,1;
5 = x,y,z,normal,tangent;
:)