Star Texture Placement?

General discussion about Celestia that doesn't fit into other forums.
Topic author
Dollan
Posts: 1150
Joined: 18.12.2003
Age: 54
With us: 20 years 11 months
Location: Havre, Montana

Star Texture Placement?

Post #1by Dollan » 26.09.2005, 23:13

Hi folks...

I'm away from the good computer for a bit, so I can't test this, but....

Using different textures for specific stars, I found that I could only get the new texture to show up if I placed the file itself in the default "textures>medres" folder, rather than under the same folder included with the add-on that I am working on. Is this a bug, or is there some way around this?

I was hoping to have all add-on textures for stars included in the same file as the other add-on textures....

...John...
"To make an apple pie from scratch, you must first create the universe..."
--Carl Sagan

Tech Sgt. Chen
Posts: 187
Joined: 04.11.2003
With us: 21 years
Location: Northern NJ/USA

Changing Star Textures.

Post #2by Tech Sgt. Chen » 27.09.2005, 00:28

I'm not certain of this but, in version 1.3.2 you can only change the general spectral class textures by renaming the new texture and placing it in the same file as the old one. In version 1.4.0 you have to modify the specific STC (or related) code parameters. I myself don't know how to do this yet. I know Selden's website has a veritable treasure trove of information and references for Add-Ons and their modifications.
Hi guys. Listen, they're telling me the uh,
generators won't take it, the ship is breaking apart and all that. Just, FYI.
(Athlon X2 6000+ Dual Core 3Ghz, 8GB DDR2-800, 500GB SATA 7200RPM HD, 580W,
GeForce 9600GT-512, 64Bit, Vista Home Premium)

Topic author
Dollan
Posts: 1150
Joined: 18.12.2003
Age: 54
With us: 20 years 11 months
Location: Havre, Montana

Post #3by Dollan » 27.09.2005, 00:38

Hey there...

Yeah, I followed Selden's instructions on his site to get the texture to work, but it doesn't mention anything about the placement of the repplacement texture. It's no bif problem if it has to go into the default folders, but for those who might download the add-on, it would be more convenient to have them in the same folders as the other add-on textures.

When I get home, I'll plug about a bit and see what I can come up with.

Thanks!

...John...
"To make an apple pie from scratch, you must first create the universe..."
--Carl Sagan

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #4by selden » 27.09.2005, 11:02

My simple test works fine with the texture in the same tree with the STC file.

test.stc:

Code: Select all

Star "test" {
   Distance 420.86
   RA    1
   Dec   1
        Texture "radio.*"

   SpectralType "F0V"
   AbsMag 2.5
}


and the files are in these directories:
\extras\Addons\test-stc\test.stc
\extras\Addons\test-stc\textures\medres\radio.jpg
Selden

Topic author
Dollan
Posts: 1150
Joined: 18.12.2003
Age: 54
With us: 20 years 11 months
Location: Havre, Montana

Post #5by Dollan » 27.09.2005, 16:48

Hmm. I have no idea what the problem was, because it works fine now. I suppose there is the probability that I had made some sort of typo in the initial stc and simply didn't catch it.

At any rate, I just copied the whole entry for Alpha Centauri over to the add-on folder and made the neccessary adjustments.

Thanks, guys!

...John...
"To make an apple pie from scratch, you must first create the universe..."
--Carl Sagan

Guckytos
Posts: 439
Joined: 01.06.2004
With us: 20 years 5 months
Location: Germany

Post #6by Guckytos » 28.09.2005, 08:57

That's interesting.

I tried what Selden did myself yesterday and it didn't work! I took the brwondwarf.jpg from the Celestia distribution and moved it (medres and lowres) to a folder /textures/medres; /textures/lowres under my test.stc. and nothing showed up.
Will try it again just to be sure.

Btw. I think this looks strange:
Image

It's an O7V star with the browndwarf-texture on it.
Does anyone know if there is also parameter (planned) for changing the emitted light of the stars??

@ Tech Sgt. Chen
And I have updated the STC Guide once again. Take a look at my website for the download.

Selden could you please take a close look at the STC-Guide and tell me if something is wrong in it or parameters missing?

Regards,

Guckytos

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #7by selden » 28.09.2005, 12:32

There are some typos in the STC document:

"und" instead of "and"
Example 1 on page 6: "HIP number 100000" should be "HIP number 450000"

There are two Example 3s on page 7
(Suggestion: don't reuse Example numbers: Have only one "Example 1" in the entire document.)

If you specify OrbitBarycenter, then you need to specify EllipticalOrbit, too.
That isn't obvious on page 7.

Otherwise, it looks OK to me.
Selden

Guckytos
Posts: 439
Joined: 01.06.2004
With us: 20 years 5 months
Location: Germany

Post #8by Guckytos » 29.09.2005, 09:36

Thanks selden,

changed the document in the specified points and uploaded the new one.

Tech Sgt. Chen
Posts: 187
Joined: 04.11.2003
With us: 21 years
Location: Northern NJ/USA

STC Guides

Post #9by Tech Sgt. Chen » 04.10.2005, 15:52

Guckytos wrote:
@ Tech Sgt. Chen
And I have updated the STC Guide once again. Take a look at my website for the download.


Thanks, I downloaded both copies of your STC guides. Now, I just have to find the time to read them. Not that I couldn't have learned them myself but, anything to shorten my already overburdened schedule!
Much obliged! :wink:
Hi guys. Listen, they're telling me the uh,
generators won't take it, the ship is breaking apart and all that. Just, FYI.
(Athlon X2 6000+ Dual Core 3Ghz, 8GB DDR2-800, 500GB SATA 7200RPM HD, 580W,
GeForce 9600GT-512, 64Bit, Vista Home Premium)


Return to “Celestia Users”