Atmospheres matching a model

General discussion about Celestia that doesn't fit into other forums.
Topic author
buggs_moran
Posts: 835
Joined: 27.09.2004
With us: 20 years 1 month
Location: Massachusetts, USA

Atmospheres matching a model

Post #1by buggs_moran » 04.02.2007, 05:05

A while back I saw an atmosphere wrapping a model, i.e. it was non spherical. Is there something special I have to do to achieve this?
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

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #2by selden » 04.02.2007, 15:09

Not so far as I know. What you see is what you get.

Chris has written that he needs to work on how atmospheric effects are drawn around Meshes. I don't know what progress there has been, though.
Selden

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

Post #3by chris » 05.02.2007, 07:33

There's nothing special that you do, though you probably won't get quite the effect that you want right now. For one, the shape of the atmosphere volume has to be an ellipsoid. I've no plans for arbitrary shaped atmospheres, because it would involve a lot of coding work to create something that's not even realistic.

However, if an ellipsoidal volume around an irregular mesh is all that you need, then you can just use a normal atmosphere. There's one caveat--the falloff in density is assume to start at radius of the object's bounding sphere and not the center, which isn't ideal for some possible usages.

--Chris

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

Post #4by buggs_moran » 05.02.2007, 21:44

chris wrote:For one, the shape of the atmosphere volume has to be an ellipsoid. I've no plans for arbitrary shaped atmospheres, because it would involve a lot of coding work to create something that's not even realistic.

Huh? What about this mesh atmosphere... Also, what are the plans for the cmods with volumetric point sprites. Or, for that matter, any way to do a diffuse glow (that isn't an atmosphere). Any progress for 1.5? I know those mountains keep calling you Chris...

chris wrote:I just got atmospheres working for meshes . . . The only realistic usage is for modeling planets with meshes that are displacement mapped spheres, like some of the work by cartrite and others. Also, I'll probably improve the appearance of comet tails with a technique that uses the new atmosphere code.

Image

--Chris
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

starfleetengineer
Posts: 41
Joined: 18.01.2007
With us: 17 years 10 months

Post #5by starfleetengineer » 07.02.2007, 05:05

buggs_moran wrote:
chris wrote:For one, the shape of the atmosphere volume has to be an ellipsoid. I've no plans for arbitrary shaped atmospheres, because it would involve a lot of coding work to create something that's not even realistic.

Huh? What about this mesh atmosphere...


Looks like an ellipsoid to my eyes. :wink:

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

Post #6by buggs_moran » 07.02.2007, 13:41

OK, I can see that. But, it hugs the object without any funky spherical ring around the mesh.

Chris, if you read this, could you post the atmosphere code for that object?
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 #7by chris » 07.02.2007, 18:18

buggs_moran wrote:OK, I can see that. But, it hugs the object without any funky spherical ring around the mesh.

Chris, if you read this, could you post the atmosphere code for that object?


It appears that I've deleted it . . . It's won't be much trouble to recreate it, but I think you'll be disappointed in current limitations of the technique. I intend to add an extra parameter for atmospheres that will help, but there's some other atmosphere work to be done first.

--Chris

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

Post #8by buggs_moran » 07.02.2007, 18:59

I can be patient Chris, I know how much work you're putting into it. Frankly I'd rather see the work done on the atmospheres. And, since I just can't seem to say it enough, the possibility of volume diffusion that doesn't rely on a body...
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


Return to “Celestia Users”