Page 1 of 1

Star Texture Placement?

Posted: 26.09.2005, 23:13
by Dollan
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...

Changing Star Textures.

Posted: 27.09.2005, 00:28
by Tech Sgt. Chen
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.

Posted: 27.09.2005, 00:38
by Dollan
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...

Posted: 27.09.2005, 11:02
by selden
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

Posted: 27.09.2005, 16:48
by Dollan
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...

Posted: 28.09.2005, 08:57
by Guckytos
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

Posted: 28.09.2005, 12:32
by selden
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.

Posted: 29.09.2005, 09:36
by Guckytos
Thanks selden,

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

STC Guides

Posted: 04.10.2005, 15:52
by Tech Sgt. Chen
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: