does anybody know where i can change the sol texture? im guessing its in data somewhere i cant open the stars files its says its a nero movie?
i looked in solsystem but thats just the planets
what i want to do is integrate the addons AKA have them be in there respective folders not in addons
thanks Brian
sol texture location
Re: sol texture location
Brian,
You don't need to manually edit any file to change the texture used for a star: use the Modify prefix in an STC catalog file.
Create a directory in /extras/ named
mysun
In the directory extras/mysun create a file named
mysun.stc
which contains the text
In the directory extras/mysun create a directory named
textures
In the directory extras/mysun/textures create a directory named
medres
In the directory extras/mysun/textures/medres create the image file named
mysun.jpg
You don't need to manually edit any file to change the texture used for a star: use the Modify prefix in an STC catalog file.
Create a directory in /extras/ named
mysun
In the directory extras/mysun create a file named
mysun.stc
which contains the text
Code: Select all
Modify Sol { Texture "mysun.jpg" }
In the directory extras/mysun create a directory named
textures
In the directory extras/mysun/textures create a directory named
medres
In the directory extras/mysun/textures/medres create the image file named
mysun.jpg
Selden
Re: sol texture location
thats is how it is now what im wanting to do is download and install over whats there now to keep file size down
last time i did this was about 4 years ago i did everything in extras but celestia grew from 25 MB to almost 10 GB
for example mercury
fresh install from data/solarsys
"Mercury" "Sol"
{
Texture "mercury.*"
Radius 2440
CustomOrbit "vsop87-mercury"
# Overridden by CustomOrbit
# EllipticalOrbit {
# Period 0.2408
# SemiMajorAxis 0.3871
# Eccentricity 0.2056
# Inclination 7.0049
# AscendingNode 48.33167
# LongOfPericenter 77.456
# MeanLongitude 252.251
# }
BodyFrame { EquatorJ2000 {} }
CustomRotation "iau-mercury"
# Overridden by CustomRotation
# UniformRotation
# {
# Period 1407.509405
# Inclination 28.55
# AscendingNode 11.01
# MeridianAngle 329.548
# }
Albedo 0.06
}
i have a addon thats says this in a SSC file
Modify "Mercury" "Sol"
{
Texture "Mercury.7.08.ctx"
}
AltSurface "limit of knowledge" "Sol/Mercury"
{
Texture "Mercury.7.08.ctx"
OverlayTexture "MercuryLOK.7.08.png"
}
and this in a CTX file in Hires
VirtualTexture
{
ImageDirectory "Mercury.7.08"
BaseSplit 0
TileSize 256
TileType "png"
}
what i want to do is delete all mercury (photos) that came with celestia and put the new ones in its place and have it referance the new data from the soloarsys file i tryed replacing mercury.* with Mercury.7.08.ctx but i still get the old stock mercury
i figured this would work but it didnt
"Mercury" "Sol"
{
Texture "Mercury.7.08.ctx*"
Radius 2440
CustomOrbit "vsop87-mercury"
# Overridden by CustomOrbit
# EllipticalOrbit {
# Period 0.2408
# SemiMajorAxis 0.3871
# Eccentricity 0.2056
# Inclination 7.0049
# AscendingNode 48.33167
# LongOfPericenter 77.456
# MeanLongitude 252.251
# }
BodyFrame { EquatorJ2000 {} }
CustomRotation "iau-mercury"
# Overridden by CustomRotation
# UniformRotation
# {
# Period 1407.509405
# Inclination 28.55
# AscendingNode 11.01
# MeridianAngle 329.548
# }
Albedo 0.06
}
AltSurface "limit of knowledge" "Sol/Mercury"
{
Texture "Mercury.7.08.ctx"
OverlayTexture "MercuryLOK.7.08.png"
}
im trying to give a quick crash course in celestia cuz my buddy and I came up with a nice sol sun addon it would downlaod like 6 hour old photos of sunspots and put into celestia but i fig i better get into the planets first
last time i did this was about 4 years ago i did everything in extras but celestia grew from 25 MB to almost 10 GB
for example mercury
fresh install from data/solarsys
"Mercury" "Sol"
{
Texture "mercury.*"
Radius 2440
CustomOrbit "vsop87-mercury"
# Overridden by CustomOrbit
# EllipticalOrbit {
# Period 0.2408
# SemiMajorAxis 0.3871
# Eccentricity 0.2056
# Inclination 7.0049
# AscendingNode 48.33167
# LongOfPericenter 77.456
# MeanLongitude 252.251
# }
BodyFrame { EquatorJ2000 {} }
CustomRotation "iau-mercury"
# Overridden by CustomRotation
# UniformRotation
# {
# Period 1407.509405
# Inclination 28.55
# AscendingNode 11.01
# MeridianAngle 329.548
# }
Albedo 0.06
}
i have a addon thats says this in a SSC file
Modify "Mercury" "Sol"
{
Texture "Mercury.7.08.ctx"
}
AltSurface "limit of knowledge" "Sol/Mercury"
{
Texture "Mercury.7.08.ctx"
OverlayTexture "MercuryLOK.7.08.png"
}
and this in a CTX file in Hires
VirtualTexture
{
ImageDirectory "Mercury.7.08"
BaseSplit 0
TileSize 256
TileType "png"
}
what i want to do is delete all mercury (photos) that came with celestia and put the new ones in its place and have it referance the new data from the soloarsys file i tryed replacing mercury.* with Mercury.7.08.ctx but i still get the old stock mercury
i figured this would work but it didnt
"Mercury" "Sol"
{
Texture "Mercury.7.08.ctx*"
Radius 2440
CustomOrbit "vsop87-mercury"
# Overridden by CustomOrbit
# EllipticalOrbit {
# Period 0.2408
# SemiMajorAxis 0.3871
# Eccentricity 0.2056
# Inclination 7.0049
# AscendingNode 48.33167
# LongOfPericenter 77.456
# MeanLongitude 252.251
# }
BodyFrame { EquatorJ2000 {} }
CustomRotation "iau-mercury"
# Overridden by CustomRotation
# UniformRotation
# {
# Period 1407.509405
# Inclination 28.55
# AscendingNode 11.01
# MeridianAngle 329.548
# }
Albedo 0.06
}
AltSurface "limit of knowledge" "Sol/Mercury"
{
Texture "Mercury.7.08.ctx"
OverlayTexture "MercuryLOK.7.08.png"
}
im trying to give a quick crash course in celestia cuz my buddy and I came up with a nice sol sun addon it would downlaod like 6 hour old photos of sunspots and put into celestia but i fig i better get into the planets first
Re: sol texture location
ok i finialy figured it out about the planets but i still dont know where the star list is
- Hungry4info
- Posts: 1133
- Joined: 11.09.2005
- With us: 19 years 3 months
- Location: Indiana, United States
Re: sol texture location
FCVPI99 wrote:ok i finialy figured it out about the planets but i still dont know where the star list is
Celestia's default stars are located in Stars.stc, in the data folder. For an add-on, any stars defined there will also be in an .stc file.
Current Setup:
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics
Re: sol texture location
i dont have a stars.STC i have a Stars.DAT which shows up as a nero movie that cant be opened
Re: sol texture location
Hungry made a typo.
stars.dat is a binary file containing information about most of the stars that Celestia knows about. The text file that it is created from is not an STC file. stars.txt and the program which translates it into binary are both available on SourceForge. There's also a program which claims to translate the stars.dat binary file into a text file. If you don't want to write STC files, you'll have to learn C++ programming and how to compile and run programs written in that language
See http://celestia.svn.sourceforge.net/vie ... ls/stardb/
stars.dat is a binary file containing information about most of the stars that Celestia knows about. The text file that it is created from is not an STC file. stars.txt and the program which translates it into binary are both available on SourceForge. There's also a program which claims to translate the stars.dat binary file into a text file. If you don't want to write STC files, you'll have to learn C++ programming and how to compile and run programs written in that language
See http://celestia.svn.sourceforge.net/vie ... ls/stardb/
Selden
- Hungry4info
- Posts: 1133
- Joined: 11.09.2005
- With us: 19 years 3 months
- Location: Indiana, United States
Re: sol texture location
Ah yes. My mistake.selden wrote:Hungry made a typo.
Current Setup:
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics
Windows 7 64 bit. Celestia 1.6.0.
AMD Athlon Processor, 1.6 Ghz, 3 Gb RAM
ATI Radeon HD 3200 Graphics
-
- Posts: 122
- Joined: 02.06.2010
- With us: 14 years 6 months
Re: sol texture location
Open nearstars.stc in a plain-text editor like Notepad. Add the following line after the last line in Sol's definition but before the }:
Code: Select all
Texture "your-texture-here.jpg" #replace jpg with png, bmp, or dds