Page 1 of 1

What went wrong?HIP 300002 refuses to be PSR 1257

Posted: 18.10.2003, 16:48
by danielj
I download PSR 1257 system from Rassilon and organize the files like this :
Celestia>Textures>medres>psr1257.jpg files
Celestia>Extras>PSR1257.stc
Celestia>Extras>data>PSR1257.ssc

I tried to change the ssc entrie of PSR 1257 to change HIP 300002 to a pulsar.Today,it is a R star,but I couldn?t do.What is the problem?
The original is like this :

"Pulsar Jet" "PSR1257"
{
Class "comet"
Texture "asteroid.jpg"
Mesh "roughsphere.3ds"
Color [ 0 0 0 ]
BlendTexture true
Radius 0.0001
EllipticalOrbit {
Period 0.001
SemiMajorAxis 0.0001
Eccentricity 0.0
Inclination 45
MeanAnomaly 90
}
Albedo 0.8
}

"Pulsar Jet" "PSR1257"
{
Class "comet"
Texture "asteroid.jpg"
Mesh "roughsphere.3ds"
Color [ 0 0 0 ]
BlendTexture true
Radius 0.0001
EllipticalOrbit {
Period 0.001
SemiMajorAxis 0.0001
Eccentricity 0.0
Inclination 45
MeanAnomaly 270
}
Albedo 0.8
}

And below,are the changes :
#HIP 300002
"Pulsar Jet" "PSR1257" "HIP 300002"
{
Class "pulsar"
Texture "PSR1257b.jpg"
Mesh "pulsar.3ds"
Color [ 0 0 0 ]
BlendTexture true
Radius 0.0001
EllipticalOrbit {
Period 0.001
SemiMajorAxis 0.0001
Eccentricity 0.0
Inclination 45
MeanAnomaly 90
}
Albedo 0.8
}

"Pulsar Jet" "PSR1257" "HIP 300002"
{
Class "pulsar"
Texture "PSR1257.jpg"
Mesh "psr1257.3DS"
Color [ 0 0 0 ]
BlendTexture true
Radius 0.0001
EllipticalOrbit {
Period 0.001
SemiMajorAxis 0.0001
Eccentricity 0.0
Inclination 45
MeanAnomaly 270
}
Albedo 0.8
}

Posted: 19.10.2003, 21:41
by selden
danielj,

There are many things wrong with with what you've written. You really need to take the time to learn what the different declarations mean.

You need to create both STC and SSC files in order to do what you want. You also need to run Celestia v1.3.1 pre4 or later in order to be able to use the necessary STC features -- to give the star an alternate name.

Please reread the documentaion that Thomas Guilpain wrote for STC and SSC files. His Web site is at http://members.fortunecity.com/guilpain/
although it doesn't mention the new STC feature that you need to use.

That starname feature is described on my Web page http://www.lns.cornell.edu/~seb/celestia/addon-intro.html#sidebar

HIP 300002 refuses to turn in a pulsar

Posted: 07.11.2003, 23:11
by danielj
I have downloaded the Celestia 1.3.1 pre 11,and created the Addons folder.But didn?t work.The star is still a red R star.
Look to my ssc.I renamed psr1257.ssc to hip300002.ssc.What I did wrong?
HIP 300002
"Pulsar Jet" "PSR1257" "HIP 300002"
{
Class "pulsar"
Texture "PSR1257b.jpg"
Mesh "pulsar.3ds"
Color [ 0 0 0 ]
BlendTexture true
Radius 0.0001
EllipticalOrbit {
Period 0.001
SemiMajorAxis 0.0001
Eccentricity 0.0
Inclination 45
MeanAnomaly 90
}
Albedo 0.8
}

"Pulsar Jet" "PSR1257" "HIP 300002"
{
Class "pulsar"
Texture "PSR1257.jpg"
Mesh "psr1257.3DS"
Color [ 0 0 0 ]
BlendTexture true
Radius 0.0001
EllipticalOrbit {
Period 0.001
SemiMajorAxis 0.0001
Eccentricity 0.0
Inclination 45
MeanAnomaly 270
}
Albedo 0.8
}

"a" "PSR1257" "HIP 300002"
{
Texture "psr1257_i.jpg"
Mesh "roughsphere.cms"
Radius 95.67

EllipticalOrbit
{
Period 0.0694
SemiMajorAxis 0.19
Eccentricity 0.0
Inclination 0.0
MeanAnomaly 0
}
Albedo 0.20
}

"b" "PSR1257"
{
Texture "psr1257_ii.jpg"
BumpMap "psr1257_ii-bump.jpg"
BumpHeight 1.5
Radius 21685.2

EllipticalOrbit
{
Period 0.1823
SemiMajorAxis 0.36
Eccentricity 0.0182
Inclination 0.0
MeanAnomaly 0
}
RotationPeriod 100
Albedo 0.10
}

Posted: 07.11.2003, 23:28
by JackHiggins
daniel

There's no pulsar class

There should be a # before "HIP 300002 " in the first line

It should be in the "extras" folder, not "Addons"

Renaming an ssc file won't actually have any effect on what you're trying to do.

From what I understand, the star itself won't change into a pulsar anyway, the pulsar will be orbiting around the star. (I could be wrong there though)

hip 300002 refsues to turn in a pulsar

Posted: 08.11.2003, 00:01
by danielj
Well,the pulsar class is Q.
But I did what you tell me,and there isn?t any effect.Nothing is orbiting this star HIP 300002



JackHiggins wrote:daniel

There's no pulsar class

There should be a # before "HIP 300002 " in the first line

It should be in the "extras" folder, not "Addons"

Renaming an ssc file won't actually have any effect on what you're trying to do.

From what I understand, the star itself won't change into a pulsar anyway, the pulsar will be orbiting around the star. (I could be wrong there though)

Posted: 08.11.2003, 00:07
by JackHiggins
No no, I meant there's no

Code: Select all

Class "pulsar"


Try changing it to planet or moon or asteroid & it might show up.

Posted: 08.11.2003, 08:16
by TERRIER
I have the old version of this add-on installed which has been working fine.

I've just downloaded and installed the new patch from Rass's site and I must admit it does not appear to work for me either. There is a new STC file that looks like it changes the star class from the original version (this seems ok) and the SSC file as shown above by Daniel in his original post. The problem seems to lie in the new SSC, perhaps it needs to be looked at? The lines in the SSC regarding 'class comet', 'texture asteroid' and 'mesh roughsphere' seem mighty dodgy to me!

Here is the old SSC which includes the planets and moons for this pulsar system, and I've mixed this with the new STC and all is working fine;

Code: Select all

"PSR1257+12" "HIP 300002"
{
   Mesh "psr1257.3ds"
   Emissive true
   Radius 4000000
   # orbital data
   EllipticalOrbit {
      Period            1000
      SemiMajorAxis     0.0
      Eccentricity      0.0
      Inclination       0.0
   }
   RotationPeriod 0.001
   Albedo 1
}

"a" "HIP 300002"
{
   Texture "psr1257_i.jpg"
   Mesh "roughsphere.cms"
   Radius 95.67

   EllipticalOrbit
   {
   Period         0.0694
   SemiMajorAxis  0.19
   Eccentricity   0.0
   Inclination    0.0
   MeanAnomaly    0
        }
   Albedo         0.20
}

"b" "HIP 300002"
{
   Texture "psr1257_ii.jpg"
   BumpMap "psr1257_ii-bump.jpg"
   BumpHeight 1.5
   Radius 21685.2

   EllipticalOrbit
   {
   Period         0.1823
   SemiMajorAxis  0.36
   Eccentricity   0.0182
   Inclination    0.0
   MeanAnomaly    0
        }
      RotationPeriod 100
   Albedo         0.10
}

"c" "HIP 300002"
{
   Texture "psr1257_iii.dds"
   # Texture "psr1257_iii.jpg"
   SpecularColor [ 0.45 0.45 0.45 ]
   SpecularPower 25.0
   BumpMap "psr1257_iii-bump.jpg"
   BumpHeight 1.5
   Radius 17858.4

   EllipticalOrbit
   {
   Period         0.2691
   SemiMajorAxis  0.47
   Eccentricity   0.0264
   Inclination    0.0
   MeanAnomaly    0
        }
      RotationPeriod 100
   Albedo         0.40
}

"d" "HIP 300002"
{
   Texture "psr1257_iv.dds"
   # Texture "psr1257_iv.jpg"
   SpecularColor [ 0.45 0.45 0.45 ]
   SpecularPower 25.0
   HazeColor [ 0.45 0.3 0.1 ]
   HazeDensity 0.5
   Radius 201970
   Atmosphere {
      Height 2000
      Lower [ 0.45 0.3 0.1 ]
      Upper [ 0.4 0.2 0.1 ]
      Sky [ 0.3 0.1 0.1 ]
      CloudHeight 200
      CloudSpeed -300
      CloudMap "psr1257_iv-clouds.png"
   }
   EllipticalOrbit
   {
   Period         170
   SemiMajorAxis  35
   Eccentricity   0.0
   Inclination    0.0
   MeanAnomaly    0
        }
      RotationPeriod 100
   Albedo         0.50
}

"moon i" "HIP 300002/d"
{
   Texture "psr1257_i.jpg"
   BumpMap "psr1257_ii-bump.jpg"
   BumpHeight 1.5
   Color [ 0.5 0.45 0.45 ]
   BlendTexture true
   Radius 1000
   Atmosphere {
      Height 20
      Lower [ 0.35 0.25 0.25 ]
      Upper [ 0.25 0.2 0.2 ]
      Sky [ 0.15 0.15 0.15 ]
      CloudHeight 1
      CloudSpeed 10
      CloudMap "psr1257_iv-moon_i-clouds.png"
   }
   EllipticalOrbit
   {
   Period         300
   SemiMajorAxis  1000000
   Eccentricity   0.001
   Inclination    0.0
   MeanAnomaly    0
        }
   Albedo         0.20
}

"moon ii" "HIP 300002/d"
{
   Texture "psr1257_i.jpg"
   Mesh "roughsphere.cms"
   Color [ 0.3 0.25 0.15 ]
   BlendTexture true
   Radius 300
   EllipticalOrbit
   {
   Period         330
   SemiMajorAxis  1300000
   Eccentricity   0.001
   Inclination    0.0
   MeanAnomaly    0
        }
   Albedo         0.10
}

"moon iii" "HIP 300002/d"
{
   Texture "psr1257_ii.jpg"
   BumpMap "psr1257_ii-bump.jpg"
   BumpHeight 1.5
   Color [ 0.4 0.55 0.45 ]
   BlendTexture true
   Radius 1200
   Atmosphere {
      Height 1
      Lower [ 0.3 0.45 0.35 ]
      Upper [ 0.3 0.45 0.35 ]
      Sky [ 0.2 0.2 0.2 ]
   }
   EllipticalOrbit
   {
   Period         1000
   SemiMajorAxis  5550000
   Eccentricity   0.001
   Inclination    0.0
   MeanAnomaly    0
        }
   Albedo         0.15
   RotationPeriod 10
}


regards
TERRIER

HIP 300002 refuses to turn into a pulsar

Posted: 09.11.2003, 04:09
by danielj
Now,everything is almost OK.The planets and moon in PSR 1257 appeared.But the star is already a R0 star;i don?t have a pulsar.Is it the problem with Rassilon addon?Where is the old addon?

Posted: 12.11.2003, 02:09
by Rassilon
make sure you have the PSR1257.3ds in the models directory and that the 3ds is in lowercase for both the reference in the ssc file and the file extention itself...Of course if the filename is in all caps the ssc file must reflect the same...

HIP 300002 resfuses to turn into a pulsar

Posted: 12.11.2003, 14:02
by danielj
It?s almost OK.Now the pulsar PSR 1257 is inside the R star,or slightly above.When I approach HIP 300002/PSR 1257,the pulsar disappear at some point.In your computer,the pulsar appear alone or inside the original star?Is it possible to fix it?
Could be a problem with Celestia itself?Because the skimo nebula(in Celestia 1.3.0) disappear,too,when I approach it

Posted: 13.11.2003, 22:25
by Rassilon
It is how chris implimented model rendering...He is working on a better perspective rendering method...I think...