Page 1 of 1
Rings in 1.2.3
Posted: 19.03.2002, 09:35
by Rassilon
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....
Posted: 19.03.2002, 17:18
by chris
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
Posted: 19.03.2002, 17:56
by Rassilon
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
}
Posted: 19.03.2002, 19:20
by chris
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
Posted: 19.03.2002, 20:30
by Rassilon
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...
Posted: 21.03.2002, 16:14
by chris
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
Posted: 22.03.2002, 03:18
by Rassilon
Thanks Chris, Yes I have been making the texes 1024 x 512 or 2048 x 1024...