Atmospheres matching a model
-
Topic authorbuggs_moran
- Posts: 835
- Joined: 27.09.2004
- With us: 20 years 1 month
- Location: Massachusetts, USA
Atmospheres matching a model
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
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
-
- Site Admin
- Posts: 4211
- Joined: 28.01.2002
- With us: 22 years 9 months
- Location: Seattle, Washington, USA
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
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 authorbuggs_moran
- Posts: 835
- Joined: 27.09.2004
- With us: 20 years 1 month
- Location: Massachusetts, USA
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.
--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
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
-
- Posts: 41
- Joined: 18.01.2007
- With us: 17 years 10 months
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.
-
Topic authorbuggs_moran
- Posts: 835
- Joined: 27.09.2004
- With us: 20 years 1 month
- Location: Massachusetts, USA
-
- Site Admin
- Posts: 4211
- Joined: 28.01.2002
- With us: 22 years 9 months
- Location: Seattle, Washington, USA
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 authorbuggs_moran
- Posts: 835
- Joined: 27.09.2004
- With us: 20 years 1 month
- Location: Massachusetts, USA
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
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