Hello all. I've got a question about a possible development issue.
Basically what I'm trying to do is create an add-on of a binary system with an earth-like planet lit by 2 G type stars (ie Sol/Lucifer from 2010: Odyssey 2). The problem I'm having is while the clouds and surface of the planet are perfectly lit by the two stars, the atmosphere is only rendered for one star.
Example 1:
*Earth2 and Saturn 2 are backlit by the other star, but the atmosphere effects are only rendered from the star shown in this image.
Example 2:
*The sky is black on one side and blue on the other, even though both sides are about equally illuminated.
Example 3:
*This example shows the atmosphere effects from the surface of the planet. Even though both stars have about the same app mag from the surface, only one side gets the sunset effect (top). In the lower-left frame, everything except the sky is illuminated. On the other side of the planet (lower-right) the sky is properly lit.
So my question is, is it possible to change the code to allow simultaneous atmosphere effects for more than one star at a time?
Note: In my test system, I placed Earth2 in an orbit around Saturn2, which orbits one of the two binary stars (HB1). The other binary (HB2) is 3x as far from Saturn2 as HB1, but is 3x more luminous so (in my limited understanding of astronomy) both planets should get about equal lighting when in between the two stars. Also, all images were captured directly with no modifications.
Atmospheres with Multiple Star Lighting
-
Topic authorSpectre_08
- Posts: 1
- Joined: 17.11.2005
- With us: 19 years
- Location: OC, Cali4nia
- PlutonianEmpire
- Posts: 1374
- Joined: 09.09.2004
- Age: 40
- With us: 20 years 2 months
- Location: MinneSNOWta
- Contact:
Damn! I never noticed that before! I have a simular addon with a planet orbiting 2 stars and the atmosphere is only rendered for the Alpha star? I have no idea how to fix it...
Nothing suffocates you more than
the passing of everyday human events
Isolation is the oxygen mask you make
your children breath into survive
- Marilyn Manson
the passing of everyday human events
Isolation is the oxygen mask you make
your children breath into survive
- Marilyn Manson
I'm having the exact same trouble, trying to make a 2010 addon... I have Jupiter (now lucifer) set to emissive true, but I'm still getting light on the moons from Sol, not the new star.
Any ideas? Is there a way to set something as a "star" besides Emissive true? On this topic, wherever is the data for Sol stored? Can't find it anywhere!
Thanks to anyone who can lend a hand!
Any ideas? Is there a way to set something as a "star" besides Emissive true? On this topic, wherever is the data for Sol stored? Can't find it anywhere!
Thanks to anyone who can lend a hand!
Objects that are "Emissive true" do not emit any light. They just look like they do. That feature was a quick hack for use until Celestia could be upgraded to support orbiting stars.
Star orbits were added in Celestia v1.4.0, so now you can put a real star in that orbit.
Descriptions of the relevant new STC catalog features are available in several locations, including the documentation page on the Motherlode. A brief summary is available at http://www.lepp.cornell.edu/~seb/celest ... eters.html
p.s. Sol is defined in the binary file stars.dat, but more detailed parameters for Sol are in /data/nearstars.stc
Star orbits were added in Celestia v1.4.0, so now you can put a real star in that orbit.
Descriptions of the relevant new STC catalog features are available in several locations, including the documentation page on the Motherlode. A brief summary is available at http://www.lepp.cornell.edu/~seb/celest ... eters.html
p.s. Sol is defined in the binary file stars.dat, but more detailed parameters for Sol are in /data/nearstars.stc
Selden
-
- Posts: 835
- Joined: 27.09.2004
- With us: 20 years 1 month
- Location: Massachusetts, USA
selden wrote:Objects that are "Emissive true" do not emit any light. They just look like they do. That feature was a quick hack for use until Celestia could be upgraded to support orbiting stars.
That evil non emissive Emissive true.
Maybe it should be Diffuse true or Ambient true?
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
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
You shouldn't edit any of the data files that come with Celestia. They'll get overwitten if you upgrade Celestia into the same directory.
Instead, create an SSC file in your Addon's directory which effectively eliminates Jupiter, and an STC file which defines the star that replaces it. (Unfortunately, I don't think Beginning and Ending work in STC catalogs.)
NoJupiter.SSC
Lucifer.STC
Unfortunately, this seems to trigger a bug that causes all of Jupiter's moons to flicker. I haven't spent any time on this, so there may be a way to work around this problem.
p.s. I'm moving this thread to the Bugs forum, since that's what these are.
Instead, create an SSC file in your Addon's directory which effectively eliminates Jupiter, and an STC file which defines the star that replaces it. (Unfortunately, I don't think Beginning and Ending work in STC catalogs.)
NoJupiter.SSC
Code: Select all
Modify "Jupiter" "Sol" { Class "invisible" }
Lucifer.STC
Code: Select all
Star "Lucifer" {
SpectralType "G2V"
OrbitBarycenter "Sol"
Radius 71500
AbsMag 8
CustomOrbit "vsop87-jupiter"
}
Unfortunately, this seems to trigger a bug that causes all of Jupiter's moons to flicker. I haven't spent any time on this, so there may be a way to work around this problem.
p.s. I'm moving this thread to the Bugs forum, since that's what these are.
Selden
I suspect that's the source of the problem:
Celestia is drawing the relatively dark moons orbiting Jupiter at the same time it's drawing them illuminated by Lucifer.
*grumble*
p.s.
Note that the moons do need to be orbiting something. Presumably you can define them again but orbiting Lucifer.
Celestia is drawing the relatively dark moons orbiting Jupiter at the same time it's drawing them illuminated by Lucifer.
*grumble*
p.s.
Note that the moons do need to be orbiting something. Presumably you can define them again but orbiting Lucifer.
Selden
Many are in /extras/minormoons.ssc
(It really should be in /data/. Maybe that'll happen in the release of Celestia.)
More are available in
http://cvs.sourceforge.net/viewcvs.py/c ... dmoons.ssc
See also
http://www.lepp.cornell.edu/~seb/celest ... moons.html
(It really should be in /data/. Maybe that'll happen in the release of Celestia.)
More are available in
http://cvs.sourceforge.net/viewcvs.py/c ... dmoons.ssc
See also
http://www.lepp.cornell.edu/~seb/celest ... moons.html
Selden