Page 1 of 1

bug with brown dwarf

Posted: 27.03.2008, 18:18
by Methyl Orange
I have a weird bug with brown dwarf I've created. It's in orbit 1300 AU around barycenter with a yellow giant star. When I go to the brown dwarf, it simply isn't shown! I can't see it even if I'm on the surface! What's wrong? I have Celestia 1.5.0, Windows Vista and graphic card NVIDIA GeForce 8800 GTS.

Re: bug with brown dwarf

Posted: 27.03.2008, 20:37
by selden
Confirmed.
[edit]
This problem is seen with both v1.5.0 final and svn r4230 (current)
[/edit]

Stars dimmer than AbsMag 25 and SemiMajorAxis greater than 1010 AU from the barycenter are not drawn. They should be. Here's a test STC file. The star named "bd" is not drawn. Change the AbsMag to 25 or the SemiMajorAxis to 1000 and it is drawn.

Code: Select all

Barycenter "giant_bd"
{
   RA 1
   Dec 1
   Distance 11.824
}

"bd"
{
   OrbitBarycenter "giant_bd"
   SpectralType "O2III"
   AbsMag 26

   EllipticalOrbit {
      Period       15.5
      SemiMajorAxis   1011
      ArgOfPericenter 0
   }
}
"giant"
{
   OrbitBarycenter "giant_bd"
   SpectralType "O2III"
   AbsMag 1

   EllipticalOrbit {
      Period       15.5
      SemiMajorAxis   10
      ArgOfPericenter 180
   }
}

Re: bug with brown dwarf

Posted: 27.03.2008, 22:50
by symaski62
test

Re: bug with brown dwarf

Posted: 03.04.2008, 09:28
by Methyl Orange
And what's wrong? Maybe wrong app. magnitude calculation? It appears if I have magnitude limit 11.50, but on mag.limit 11.40 it isn't shown. I think it calculates app. magnitude from distance from barycenter not from star. Am I right?