Page 1 of 1

Rapidly change shine on Earth

Posted: 04.12.2011, 11:31
by Limax7
Take a look to shine on Earth from sun, it's change rapidly.
I made a video from this bug.

http://www.youtube.com/watch?v=hCAATrJ5x5I

I use:
Win7 Ultimate (Intel(R) Core(TM)2 Duo CPU E7300 @ 2.66GHz) + Nvidia GeForce 9500 GT
Celestia 1.6.1
Earth VT textures


Anybody can confirm the same on yours computers ?


Adam

Re: Rapidly change shine on Earth

Posted: 04.12.2011, 14:04
by Limax7
I think this is something wrong in SolarSystemSPICE
When I delete file spice-terrestrials.ssc (or modify - deleting Earth only)

Code: Select all

Modify "Earth" "Sol"
{

    Timeline
    [
    # Before Spice
   {
        Ending "1899 07 30 00:00"
        CustomOrbit "vsop87-earth"
        BodyFrame { EquatorJ2000 { Center "Sol" } }
        CustomRotation "iau-earth"
    }
    # de421
    {
        Ending    "2053 10 08 00:00"
        OrbitFrame { EclipticJ2000 { Center "Sol/Earth_bary"}}
        SpiceOrbit
        {
            Kernel "de421.bsp"
            Target "399"
            Origin "3"
         Period 366
            BoundingRadius 1e10
        }

        BodyFrame { EquatorJ2000 { Center "Sol" } }
        CustomRotation "iau-earth"
    }
       
    # After Spice
    {
        CustomOrbit "vsop87-earth"
        BodyFrame { EquatorJ2000 { Center "Sol" } }
        CustomRotation "iau-earth"
    }
    ]
}


, the problem of changing shine is disapears.


strange, hmm ?

Re: Rapidly change shine on Earth

Posted: 04.12.2011, 20:26
by John Van Vliet
--- edit ---

Re: Rapidly change shine on Earth

Posted: 05.12.2011, 17:39
by Limax7
john Van Vliet wrote:how have you implemented spice ?
where did you put the 16 Meg file "de421.bsp"
ftp://naif.jpl.nasa.gov/pub/naif/generi ... k/planets/

I download this from this forum:
The Solar System using NAIF SPICE kernels
viewtopic.php?f=6&t=13540

and de421.bsp is in data folder

------
I try many combinations (modify relpace add) and still have this problem :(

Take a look from 3 screenshots (OpenGL 2.0, vertex, vertex/Nvidia)
shortcut (Ctrl + W)

20111205_171244.png


20111205_171245.png


20111205_171245 (2).png


My solarsys.ssc is:

Code: Select all

"Earth" "Sol"
{
   Class "planet"
   Texture "earth-png.*"
   NormalMap "EarthNormal.*"
   NightTexture "earthnight.*"
   SpecularTexture "EarthSpec.*"   
   # Color [ 0.85 0.85 1.0 ]
   SpecularColor [ 0.2 0.2 0.25 ]
   SpecularPower 4.0
   HazeColor [ 1 1 1 ]
   HazeDensity 0.3
   # SemiAxes [ 6378.1366 6378.1366 6356.7519 ]
   Radius 6378.1366  # equatorial
   Oblateness 0.0034

   Atmosphere {
      Height 60
      Lower [ 0.43 0.52 0.65 ]
      Upper [ 0.26 0.47 0.84 ]
      Sky [ 0.20 0.4 0.8 ]
      Sunset [ 1.0 0.6 0.2 ]

      CloudHeight 20
      CloudSpeed 5
      CloudMap "earth-clouds.*"
      CloudShadowDepth 1.0

   Mie 0.001
   MieAsymmetry -0.25
   Rayleigh [ 0.001 0.0025 0.006 ]
   MieScaleHeight 12
   }

   CustomOrbit "vsop87-earth"

   # Overridden by CustomOrbit
   # EllipticalOrbit {   
   #   Period            1.0000
   #   SemiMajorAxis     1.0000
   #   Eccentricity      0.0167
   #   Inclination       0.0001
   #   AscendingNode   348.739
   #   LongOfPericenter 102.947
   #        MeanLongitude   100.464
   # }

        # Orientation of Earth's axis with respect to the ecliptic plane and
        # equinox of J2000 is computed with the long period extension of
        # extension of the the P03 precession model presented in
        # "Long-periodic Precession Parameters", J. Vondrak (2006)
        BodyFrame { EquatorJ2000 { Center "Sol" } }
        CustomRotation "iau-earth"

   # Overriden by CustomRotation
   # UniformRotation
   # {
   #    Period         23.93447117
   #    Inclination   -23.4392911
   #    MeridianAngle 280.147
   # }

   Albedo            0.30
}



aaBarycenters.ssc in extras/aaBarycenters folder is:

Code: Select all

ReferencePoint "Earth_bary" "Sol"
{
   Class "planet"
    Visible true
    Clickable true

    Beginning "1899 07 30 00:00"
    Ending    "2053 10 08 00:00"

    OrbitFrame { EclipticJ2000 { Center "SSB"}}
    Visible true
    Clickable true
   
    SpiceOrbit
    {
        Kernel "de421.bsp"
        Target "3"
        Origin "0"
     Period 1
        BoundingRadius 1e3
    }
}


spice-terrestrials.ssc in extras/aaBarycenters folder is:
PS. I have deleted orbit before and after SPICE

Code: Select all

Modify "Earth" "Sol"
{
   OrbitFrame { EclipticJ2000 { Center "Sol/Earth_bary"}}
   
        SpiceOrbit
        {
            Kernel "de421.bsp"
            Target "399"
            Origin "3"
         Period 1

            BoundingRadius 1e3
        }

        BodyFrame { EquatorJ2000 { Center "Sol" } }
        CustomRotation "iau-earth"
}



So any sugestions ?

Adam

Re: Rapidly change shine on Earth

Posted: 05.12.2011, 21:28
by John Van Vliet
--- edit ---

Re: Rapidly change shine on Earth

Posted: 06.12.2011, 08:18
by Limax7
john Van Vliet wrote:but a change on dec. 2011
no
that might then be a driver problem

did you by chance just "update" using "auto update"
a newer opengl DISABLED( provided by Microsoft) driver might have replaced the good one from the nvidia website.


the only suggestion is
check the driver , make sure that it IS the one from the nvidia web site and not from MS
second
use "replace" in the ssc to change the orbit data in the ssc instead of "modify "
but that will requite rewriting the spice ssc file

Today I updated drivers from Nvidia.com and nothing :(

I'll try to reinstall Celestia... ehhh