Rings in 1.2.3

Report bugs, bug fixes and workarounds here.
Topic author
Rassilon
Posts: 1887
Joined: 29.01.2002
With us: 22 years 9 months
Location: Altair

Rings in 1.2.3

Post #1by Rassilon » 19.03.2002, 09:35

Chris,

I just downloaded version 1.2.3 tonight and noticed one of the planetary rings I created came out as a solid ring, even though I made it the same texture size as saturns rings...It has a new texture and all...Have you hardcoded the rings somehow not allowing new ones to be added?

The problem disappeared when I reinstalled 1.2.2....
I'm trying to teach the cavemen how to play scrabble, its uphill work. The only word they know is Uhh and they dont know how to spell it!

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

Post #2by chris » 19.03.2002, 17:18

There's nothing that should keep the rings from working . . . Could you post a link to the texture file and to a .ssc file that uses it?

--Chris

Topic author
Rassilon
Posts: 1887
Joined: 29.01.2002
With us: 22 years 9 months
Location: Altair

Post #3by Rassilon » 19.03.2002, 17:56

NP...Heres what I mean...

This is the 1.2.3. Version of the custom rings made...

http://cybermindtraveller.freewebspace.com/pics/zeph1.jpg

Heres the actual png file I used...I simply used Uranus-Rings and modified it a bit...

http://cybermindtraveller.freewebspace.com/pics/zeph-rings.png

And as you can see all I changed was the inner rings color to produce a lavender effect...which worked fine in 1.2.2...

Heres the extrasolar.ssc excerpt:

Code: Select all

"Zephryous" "Na'ir al Saif"
{   Texture "zephryous.jpg"
   Radius 9099
   SpecularColor [ 0.2 0.1 0.2 ]
   SpecularPower 24.0
   Color [ 0.5 0.5 0 ]
   HazeColor [ 0.4 0.1 0 ]
   HazeDensity 0.8
   Atmosphere {
      Height 50
      Lower [ 0 0 0.2 ]
      Upper [ 0.6 0 0.6 ]
      Sky [ 0.6 0 0.6 ]
   }
   EllipticalOrbit {   
      Period            3.334
      SemiMajorAxis     48
      Eccentricity      0.002
      Inclination       0.556
      AscendingNode   9877.0
      LongOfPericenter 56.0
             MeanLongitude    166.0
   }
   Rings {
      Inner   13000
      Outer  26000
      Texture "zeph-rings.png"
      Color  [ 0.5 0 0 ]
   }
   RotationPeriod   20.12
   RotationOffset   1.1121    # offset at default epoch J2000
   Obliquity         22.444
   LongOfRotationAxis 0.0
   Albedo            0.5
}
I'm trying to teach the cavemen how to play scrabble, its uphill work. The only word they know is Uhh and they dont know how to spell it!

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

Post #4by chris » 19.03.2002, 19:20

Celestia now enforces the restriction that textures have power of two dimensions. Your ring texture's height is 72 pixels--if you resize it so that the height is 64 pixels, it should load properly.

--Chris

Topic author
Rassilon
Posts: 1887
Joined: 29.01.2002
With us: 22 years 9 months
Location: Altair

Post #5by Rassilon » 19.03.2002, 20:30

Hey thanks, that worked...Its wierd because its the Uranus-rings texture, just modified a bit...so the height wasn't changed or anything, but yet the origional is 1024 x 72 and it works on Uranus...

Also I would suspect this applies to ALL textures? surface, bump maps, etc...In multiples of 64? i.e. 64, 128, 256, 512, 1024 etc...
I'm trying to teach the cavemen how to play scrabble, its uphill work. The only word they know is Uhh and they dont know how to spell it!

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

Post #6by chris » 21.03.2002, 16:14

Rassilon wrote:Hey thanks, that worked...Its wierd because its the Uranus-rings texture, just modified a bit...so the height wasn't changed or anything, but yet the origional is 1024 x 72 and it works on Uranus...

Also I would suspect this applies to ALL textures? surface, bump maps, etc...In multiples of 64? i.e. 64, 128, 256, 512, 1024 etc...

Yes, this restriction applies to all textures . . . Valid sizes are any power of two, not necessarily just multiples of 64. For planets, it's best to use textures that are twice as wide as they are high, as this gives the same number of pixels/km along the equator and a meridian.

--Chris

Topic author
Rassilon
Posts: 1887
Joined: 29.01.2002
With us: 22 years 9 months
Location: Altair

Post #7by Rassilon » 22.03.2002, 03:18

Thanks Chris, Yes I have been making the texes 1024 x 512 or 2048 x 1024...
I'm trying to teach the cavemen how to play scrabble, its uphill work. The only word they know is Uhh and they dont know how to spell it!


Return to “Bugs”