White color texture error on moving gas giant clouds

Report bugs, bug fixes and workarounds here.
Topic author
john71
Posts: 1004
Joined: 10.08.2016
With us: 7 years 9 months

White color texture error on moving gas giant clouds

Post #1by john71 » 21.09.2017, 21:36

I found this "moving" Jupiter cloud add-on:

JupClouds.ssc.zip


Using it I made a fictional gas giant with rings and moving cloud strips.

It seems that adding rings ruined it.

White error gas giant.png


What can be the problem?

Without rings it works perfectly!

Avatar
John Van Vliet
Posts: 2940
Joined: 28.08.2002
With us: 21 years 8 months

Post #2by John Van Vliet » 22.09.2017, 01:28

well do you have a "empty" texture ?

Code: Select all

Texture            "empty.*"


or a "clouds-01" texture ?

Code: Select all

   CloudMap         "clouds-01.*"
   


also WHAT is the machine this is running on ?
high end desktop/Workstation ?
budget desktop?
laptop?
hand held tablet ?

Nvidia or AMD 3d card ?
or a inttel "chip" on the MOBO ?

and What driver is being used ( if one is used ? )

then there is WHAT OPERATING SYSTEM is this ?
one of the Linux OS's ?
apple Osx ?
windows 10 ?
win8.1 ?
win 8 ?
win7 ?

Avatar
selden
Developer
Posts: 10190
Joined: 04.09.2002
With us: 21 years 8 months
Location: NY, USA

Post #3by selden » 22.09.2017, 02:37

If you'd like someone else to test it, please provide copies of the texture images that you used. They don't have to be hires, though.1024x512 or even 512x256 would be adequate.
Selden

Avatar
John Van Vliet
Posts: 2940
Joined: 28.08.2002
With us: 21 years 8 months

Post #4by John Van Vliet » 22.09.2017, 04:21

a rework test with my textures
-- included in the zip
https://drive.google.com/file/d/0B6ZYAd08tZL-dlVCUDVSZnRyRmc/view?usp=sharing

i use " Gliese 411 " as a Testing star

Topic author
john71
Posts: 1004
Joined: 10.08.2016
With us: 7 years 9 months

Post #5by john71 » 22.09.2017, 04:40

The textures are 84 MB. I hope it can be uploaded, I try anyway.

I use an Intel i5/Radeon 1GB/Windows 10 64 bit system, Celestia 1.7 64 bit.

This uploaded add-on WORKS for me, this is not the problem.

The problem is that after I added a large dds/png ring to the planet it produced this strange white texture bug.

Have you ever seen this kind of texture error? It is like there is a "second" planet behind the moving stripes...

JupClouds.zip


Added after 11 hours 2 minutes:
By the way I changed (reworked) the original textures too, but it is not relevant.

Topic author
john71
Posts: 1004
Joined: 10.08.2016
With us: 7 years 9 months

Post #6by john71 » 23.09.2017, 14:28

OK, here is the recreation of the bug.

It creates a star system called "StarX" with one Jupiter-like planet with giant rings.

You can see it from approximately 3800000 km from the planet as a white texture error.

Here is the stc and ssc file (you have to use the 80 mb textures from the previous post):

JupClouds-starx-bug.zip


Here is the picture:

StarX Jupiter.png


Added after 6 hours 20 minutes:
Hmmm. It seems that the "empty.png" composite surface texture causes the white color bug.

But I still don't understand why. :think:

Avatar
selden
Developer
Posts: 10190
Joined: 04.09.2002
With us: 21 years 8 months
Location: NY, USA

Post #7by selden » 25.09.2017, 10:55

Specifying surface textures which don't exist has always resulted in unpredictable things being drawn. Usually you won't notice anything obvious, but sometimes very strange things happen to the appearance of the object. I've seen random text being shown, for example.
Selden

Topic author
john71
Posts: 1004
Joined: 10.08.2016
With us: 7 years 9 months

Post #8by john71 » 25.09.2017, 18:54

1.) If there is no ring, there is no texture error. Why?

2.) If I change the "empty.png" texture to a Jupiter surface texture, the "white texture" error disappears, but - as you wrote - "unpredictable things" are being drawn. But how can adding a ring to the planet cause such an error?

:think:

Avatar
selden
Developer
Posts: 10190
Joined: 04.09.2002
With us: 21 years 8 months
Location: NY, USA

Post #9by selden » 25.09.2017, 20:20

Which version of Celestia are you using?

Does 1.6.1 act differently than 1.7.0?
Selden

Topic author
john71
Posts: 1004
Joined: 10.08.2016
With us: 7 years 9 months

Post #10by john71 » 25.09.2017, 20:26

No, both versions are producing the same texture bug.

Code: Select all

"Jupiter" "StarX"
{
   Texture "jupiter.*"
   HazeColor [ 0.4 0.45 0.5 ]
   HazeDensity 0.3

   Radius 71492
   Oblateness 0.0649

   EllipticalOrbit
    {
       Period           11.8622
       SemiMajorAxis     5.2034
       Eccentricity      0.0484
       Inclination       1.3053
       AscendingNode   100.556
       LongOfPericenter 14.7539
        MeanLongitude    34.404
    }

   Atmosphere
     {
   Height              300
   Lower               [ 0.7 0.6 0.5 ]
   Upper               [ 0.5 0.45 0.4 ]
   Sky                 [ 0.8 0.8 0.5 ]
     Sunset              [ 1.0 0.6 0.2 ]
     }

UniformRotation
   {
   Period           9.927953 
   Inclination     2.22
   AscendingNode 337.80
   MeridianAngle 334       
   }
   Albedo 0.51
   
   Rings {   
Inner   194999
Outer   7300023
Texture "saturn-rings.png"
   }
}

"Cl0" "StarX/Jupiter"
{
   Class "component"
   Radius            71302
   Oblateness         0.0649
   Texture            "empty.*"
   Atmosphere
   {
      Height            10
      Lower            [0.43 0.52 0.65]
      Upper            [0.26 0.47 0.84]
      Sky            [0.40 0.6 1.0]
      Sunset            [1.0 0.6 0.2]
      CloudHeight         390
      CloudSpeed         0.
      CloudMap         "clouds-00.*"
   }
   EllipticalOrbit
   {
      Period            9E+12
      SemiMajorAxis      0
      Inclination         0
   }   
   BodyFrame { EclipticJ2000 {} }
   UniformRotation
   {
   Period           9.927953
   Inclination     2.22
   AscendingNode 337.80
   MeridianAngle 334
   }
    Clickable            false
}

"Cl1" "StarX/Jupiter"
{
   Class "component"
   Radius            71312
   Oblateness         0.0649
   Texture            "empty.*"
   Atmosphere
   {
      Height            10
      Lower            [0.43 0.52 0.65]
      Upper            [0.26 0.47 0.84]
      Sky            [0.40 0.6 1.0]
      Sunset            [1.0 0.6 0.2]
      CloudHeight           360
      CloudSpeed         5.58
      CloudMap         "clouds-01.*"
   }
   EllipticalOrbit
   {
      Period            9E+12
      SemiMajorAxis      0
      Inclination         0
   }   
   BodyFrame { EclipticJ2000 {} }
   UniformRotation
   {
   Period           9.927953
   Inclination     2.22
   AscendingNode 337.80
   MeridianAngle 334
   }
    Clickable            false
}

"Cl2" "StarX/Jupiter"
{
   Class "component"
   Radius            71322
   Oblateness         0.0649
   Texture            "empty.*"
   Atmosphere
   {
      Height            10
      Lower            [0.43 0.52 0.65]
      Upper            [0.26 0.47 0.84]
      Sky            [0.40 0.6 1.0]
      Sunset            [1.0 0.6 0.2]
      CloudHeight         330
      CloudSpeed         7.12
      CloudMap         "clouds-02.*"
   }
   EllipticalOrbit
   {
      Period            9E+12
      SemiMajorAxis      0
      Inclination         0
   }   
   BodyFrame { EclipticJ2000 {} }
   UniformRotation
   {
   Period           9.927953
   Inclination     2.22
   AscendingNode 337.80
   MeridianAngle 334
   }
    Clickable            false
}

"Cl3" "StarX/Jupiter"
{
   Class "component"
   Radius            71332
   Oblateness         0.0649
   Texture            "empty.*"
   Atmosphere
   {
      Height            10
      Lower            [0.43 0.52 0.65]
      Upper            [0.26 0.47 0.84]
      Sky            [0.40 0.6 1.0]
      Sunset            [1.0 0.6 0.2]
      CloudHeight           300
      CloudSpeed         9.04
      CloudMap         "clouds-03.*"
   }
   EllipticalOrbit
   {
      Period            9E+12
      SemiMajorAxis      0
      Inclination         0
   }   
   BodyFrame { EclipticJ2000 {} }
   UniformRotation
   {
   Period           9.927953
   Inclination     2.22
   AscendingNode 337.80
   MeridianAngle 334
   }
    Clickable            false
}

"Cl4" "StarX/Jupiter"
{
   Class "component"
   Radius            71342
   Oblateness         0.0649
   Texture            "empty.*"
   Atmosphere
   {
      Height            10
      Lower            [0.43 0.52 0.65]
      Upper            [0.26 0.47 0.84]
      Sky            [0.40 0.6 1.0]
      Sunset            [1.0 0.6 0.2]
      CloudHeight           270
      CloudSpeed         -2.12
      CloudMap         "clouds-04.*"
   }
   EllipticalOrbit
   {
      Period            9E+12
      SemiMajorAxis      0
      Inclination         0
   }   
   BodyFrame { EclipticJ2000 {} }
   UniformRotation
   {
   Period           9.927953
   Inclination     2.22
   AscendingNode 337.80
   MeridianAngle 334
   }
    Clickable            false
}

"Cl5" "StarX/Jupiter"
{
   Class "component"
   Radius            71352
   Oblateness         0.0649
   Texture            "empty.*"
   Atmosphere
   {
      Height            10
      Lower            [0.43 0.52 0.65]
      Upper            [0.26 0.47 0.84]
      Sky            [0.40 0.6 1.0]
      Sunset            [1.0 0.6 0.2]
      CloudHeight           240
      CloudSpeed         2.5
      CloudMap         "clouds-05.*"
   }
   EllipticalOrbit
   {
      Period            9E+12
      SemiMajorAxis      0
      Inclination         0
   }   
   BodyFrame { EclipticJ2000 {} }
   UniformRotation
   {
   Period           9.927953
   Inclination     2.22
   AscendingNode 337.80
   MeridianAngle 334
   }
    Clickable            false
}

"Cl6" "StarX/Jupiter"
{
   Class "component"
   Radius            71362
   Oblateness         0.0649
   Texture            "empty.*"
   Atmosphere
   {
      Height            10
      Lower            [0.43 0.52 0.65]
      Upper            [0.26 0.47 0.84]
      Sky            [0.40 0.6 1.0]
      Sunset            [1.0 0.6 0.2]
      CloudHeight           210
      CloudSpeed         -0.962
      CloudMap         "clouds-06.*"
   }
   EllipticalOrbit
   {
      Period            9E+12
      SemiMajorAxis      0
      Inclination         0
   }   
   BodyFrame { EclipticJ2000 {} }
   UniformRotation
   {
   Period           9.927953
   Inclination     2.22
   AscendingNode 337.80
   MeridianAngle 334
   }
    Clickable            false
}

"Cl7" "StarX/Jupiter"
{
   Class "component"
   Radius            71372
   Oblateness         0.0649
   Texture            "empty.*"
   Atmosphere
   {
      Height            10
      Lower            [0.43 0.52 0.65]
      Upper            [0.26 0.47 0.84]
      Sky            [0.40 0.6 1.0]
      Sunset            [1.0 0.6 0.2]
      CloudHeight           180
      CloudSpeed         3.27
      CloudMap         "clouds-07.*"
   }
   EllipticalOrbit
   {
      Period            9E+12
      SemiMajorAxis      0
      Inclination         0
   }   
   BodyFrame { EclipticJ2000 {} }
   UniformRotation
   {
   Period           9.927953
   Inclination     2.22
   AscendingNode 337.80
   MeridianAngle 334
   }
    Clickable            false
}

"Cl8" "StarX/Jupiter"
{
   Class "component"
   Radius            71382
   Oblateness         0.0649
   Texture            "empty.*"
   Atmosphere
   {
      Height            10
      Lower            [0.43 0.52 0.65]
      Upper            [0.26 0.47 0.84]
      Sky            [0.40 0.6 1.0]
      Sunset            [1.0 0.6 0.2]
      CloudHeight           150.
      CloudSpeed         0.769
      CloudMap         "clouds-08.*"
   }
   EllipticalOrbit
   {
      Period            9E+12
      SemiMajorAxis      0
      Inclination         0
   }   
   BodyFrame { EclipticJ2000 {} }
   BodyFrame { EclipticJ2000 {} }
   UniformRotation
   {
   Period           9.927953
   Inclination     2.22
   AscendingNode 337.80
   MeridianAngle 334
   }
    Clickable            false
}

"Cl9" "StarX/Jupiter"
{
   Class "component"
   Radius            71392
   Oblateness         0.0649
   Texture            "empty.*"
   Atmosphere
   {
      Height            10
      Lower            [0.43 0.52 0.65]
      Upper            [0.26 0.47 0.84]
      Sky            [0.40 0.6 1.0]
      Sunset            [1.0 0.6 0.2]
      CloudHeight           120
      CloudSpeed         4.62
      CloudMap         "clouds-09.*"
   }
   EllipticalOrbit
   {
      Period            9E+12
      SemiMajorAxis      0
      Inclination         0
   }   
   BodyFrame { EclipticJ2000 {} }
   UniformRotation
   {
   Period           9.927953
   Inclination     2.22
   AscendingNode 337.80
   MeridianAngle 334
   }
    Clickable            false
}


Added after 1 minute 10 seconds:
This is the source of the problem:

Code: Select all

Rings {   
Inner   194999
Outer   7300023
Texture "saturn-rings.png"
   }


Added after 1 minute 9 seconds:
But why? :insane:

WarnerNIT
Posts: 1
Joined: 21.12.2018
With us: 5 years 4 months

White color texture error on moving gas giant clouds

Post #11by WarnerNIT » 30.12.2018, 07:52

Try looking for a Graphics Card update.
Or maybe your pc is using the in-board graphics card and not the one thats suppose to use?


Return to “Bugs”