Help cannot replace Sol texture

Post requests, images, descriptions and reports about work in progress here.
Avatar
Topic author
fsgregs
Posts: 1307
Joined: 07.10.2002
With us: 22 years 1 month
Location: Manassas, VA

Help cannot replace Sol texture

Post #1by fsgregs » 29.12.2007, 20:18

Hi. In Celestia 1.4.1, I have been using a great texture for the sun, which tones down the size and color of the big sunspots on the default texture. it also adds Runar's great solar flares, and Cham's wonderful solar convection cells.

Here is what it looks like in 1.4.1:

Image

In 1.5.0pre5, the solar flares and convection cells work, but the sol texture does not overlay, even through the radii of the sun in 1.4.1 and 1.5.0 are similar. Instead, i get some weird spherical artifact inside sol, that can be seen only from one side (it goes away when I rotate the view). My texture has not replaced the existing sol texture, even though my ssc radius is larger than sol's.

Image

The ssc file is simple. It is:

"Sun" "Sol"
{
Texture "sun1.jpg"
Emissive true
Radius 701000
Oblateness 0.009

EllipticalOrbit {
Period 1e10
SemiMajorAxis 1e-10
Eccentricity 0.00
Inclination 0.00
}

RotationPeriod 609.6
Obliquity 7.25
EquatorAscendingNode 75.62
}


Can anyone tell me how to place a new texture over our sun (or any other star in 1.5.0pre5)?? :(

Thanks in advance

Frank

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

Re: Help cannot replace Sol texture

Post #2by chris » 29.12.2007, 22:19

fsgregs wrote:Can anyone tell me how to place a new texture over our sun (or any other star in 1.5.0pre5)?? :(

Thanks in advance



Why not just change the texture of the Sun in the stc file?

Also, I'd suggest using FixedPosition [ 0 0 0 ] instead of the EllipticalOrbit for 1.5.0. While the EllipticalOrbit still works just fine, the new FixedPosition is easier to use.

--Chris

Avatar
Topic author
fsgregs
Posts: 1307
Joined: 07.10.2002
With us: 22 years 1 month
Location: Manassas, VA

Post #3by fsgregs » 30.12.2007, 03:50

Chris:

I don't want to sound dumb, but what stc file? Does our sun has its own stc file in the data folder somewhere?

I have been using an ssc file for the sun texture ... overlaying a planet texture onto the sun with a large radius. I guess that is not the way to do it anymore, but out of interest, does the sun have an stc file somewhere?

Frank

Vincent
Developer
Posts: 1356
Joined: 07.01.2005
With us: 19 years 10 months
Location: Nancy, France

Post #4by Vincent » 30.12.2007, 10:33

Modify, Replace and Add dispositions, that already exist for ssc bodies, would be really welcome for stc and dsc objects too...

Chris, is there a specific reason this hasn't been added yet ?
@+
Vincent

Celestia Qt4 SVN / Celestia 1.6.1 + Lua Edu Tools v1.2
GeForce 8600 GT 1024MB / AMD Athlon 64 Dual Core / 4Go DDR2 / XP SP3

buggs_moran
Posts: 835
Joined: 27.09.2004
With us: 20 years 1 month
Location: Massachusetts, USA

Post #5by buggs_moran » 30.12.2007, 14:26

I think he means in the nearstars.stc

Code: Select all

0 "Sol:Sun"

{
   Texture "yourtexture.*"
    OrbitBarycenter "Solar System Barycenter"
    CustomOrbit "vsop87-sun"


   SpectralType "G2V"
   AbsMag 4.83

   RotationPeriod      609.12  # 25.38 days
   Obliquity             7.25  # correct orientation relative to ecliptic
   EquatorAscendingNode 75.77  #
   RotationOffset       23.00  # standard meridian
}
Homebrew:
WinXP Pro SP2
Asus A7N8X-E Deluxe
AMD Athlon XP 3000/333 2.16 GHz
1 GB Crucial RAM
80 GB WD SATA drive
ATI AIW 9600XT 128M

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

Post #6by chris » 30.12.2007, 17:16

Vincent wrote:Modify, Replace and Add dispositions, that already exist for ssc bodies, would be really welcome for stc and dsc objects too...

Chris, is there a specific reason this hasn't been added yet ?


Lack of time, mostly . . . There are probably some complications with stars that I haven't thought of, but nothing that should ultimately prevent Modify and Replace from working.

--Chris

Slartibartfast
Posts: 52
Joined: 21.12.2007
With us: 16 years 11 months

Post #7by Slartibartfast » 03.02.2008, 09:39

After updating to 1.5, I too am now experiencing a strange spherical darkness at the center of the sun, the size of which changes depending on which angle you look at it from. I'm using Runar's "A portrait of our sun" add-on. I want to keep the add-on. What is going on? What should I do? It worked in 1.4.

rthorvald
Posts: 1223
Joined: 20.10.2003
With us: 21 years 1 month
Location: Norway

Post #8by rthorvald » 03.02.2008, 17:38

Slartibartfast wrote:After updating to 1.5, I too am now experiencing a strange spherical darkness at the center of the sun, the size of which changes depending on which angle you look at it from. I'm using Runar's "A portrait of our sun" add-on. I want to keep the add-on. What is going on? What should I do? It worked in 1.4.


Download the 1.5 update from the CM. It is a small text file that makes it behave in 1.5

Frank: you can download it too, and use the STC file it contains for your own texture.

- rthorvald
Image

Slartibartfast
Posts: 52
Joined: 21.12.2007
With us: 16 years 11 months

Post #9by Slartibartfast » 03.02.2008, 21:10

Thanks! That worked great!

So, I was thinking of putting this texture on other stars. At first I figured I'd just need to change the name of the star from "Sol" to "Whateverstar". But that didn't work. I changed the radius... and that didn't help either. I even made both a stc file and a ssc file for the new star... to no avail. Is there an easier way?

danielj
Posts: 1477
Joined: 15.08.2003
With us: 21 years 3 months

Post #10by danielj » 03.02.2008, 23:38

Regarding this,I??m pretty disappointed.In the last pre versions of Celestia 1.5.0,there was an effort to improve star rendering.But NOW in the final version,the bland version returned and the only stars with textures are the Sun and Gliese 581.
I would like to know WHY Chris came back in his initial proposal?

danielj
Posts: 1477
Joined: 15.08.2003
With us: 21 years 3 months

Post #11by danielj » 03.02.2008, 23:42


PlasticMan
Posts: 19
Joined: 27.10.2006
With us: 18 years

Post #12by PlasticMan » 06.02.2008, 17:39

rthorvald wrote:
Slartibartfast wrote:After updating to 1.5, I too am now experiencing a strange spherical darkness at the center of the sun, the size of which changes depending on which angle you look at it from. I'm using Runar's "A portrait of our sun" add-on. I want to keep the add-on. What is going on? What should I do? It worked in 1.4.

Download the 1.5 update from the CM. It is a small text file that makes it behave in 1.5

Frank: you can download it too, and use the STC file it contains for your own texture.

- rthorvald


Im gettting the Dark spot too. Can someone point me to this update? I cant seem to find it on motherload.

tech2000
Posts: 258
Joined: 14.02.2006
Age: 52
With us: 18 years 9 months
Location: Skepplanda, Sweden

Post #13by tech2000 » 06.02.2008, 17:49

PlasticMan wrote:
rthorvald wrote:
Slartibartfast wrote:After updating to 1.5, I too am now experiencing a strange spherical darkness at the center of the sun, the size of which changes depending on which angle you look at it from. I'm using Runar's "A portrait of our sun" add-on. I want to keep the add-on. What is going on? What should I do? It worked in 1.4.

Download the 1.5 update from the CM. It is a small text file that makes it behave in 1.5

Frank: you can download it too, and use the STC file it contains for your own texture.

- rthorvald

Im gettting the Dark spot too. Can someone point me to this update? I cant seem to find it on motherload.

CM is NOT Celestia Motherlode, CM = CelestialMatters
http://celestialmatters.org.test.ibibli ... =48#oursun
Bye, Anders
Last edited by tech2000 on 07.02.2008, 17:40, edited 1 time in total.

PlasticMan
Posts: 19
Joined: 27.10.2006
With us: 18 years

Post #14by PlasticMan » 07.02.2008, 00:24

Ahh, No wonder I couldent find it. That fixed it! Thanks!


Return to “Add-on development”