Particle systems

Discussion forum for Celestia developers; topics may only be started by members of the developers group, but anyone can post replies.
Topic author
chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 9 months
Location: Seattle, Washington, USA

Re: Particle systems

Post #41by chris » 08.08.2008, 20:21

Here's a first attempt at making a meteor:

http://www.youtube.com/watch?v=O72u4Jxb2No&NR=1

I think it's quite a bit better than what has been possible in Celestia previously, but there's still room for improvement.

--Chris

Avatar
fsgregs
Posts: 1307
Joined: 07.10.2002
With us: 22 years 1 month
Location: Manassas, VA

Re: Particle systems

Post #42by fsgregs » 08.08.2008, 21:18

Chris:

This is all wonderful. Your meteor contrail opens LOTs of educational possibilities, as does the potential for exhaust gases from rockets. I think kids would love to see meteors actually burning up as they streak through the atmosphere.

I am sure you are planning for a variety of transparencies in the plume effects in the ssc file. The ones in the videos are rather dense but I could see a need for some particle effects and smoke that would be mostly transparent gas.

Thanks again for your work.

Frank

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

Re: Particle systems

Post #43by ElChristou » 09.08.2008, 00:34

chris wrote:Here's a first attempt at making a meteor...
Nice! :D
Could this system being used along with the comet code to render the tails?
Image

Avatar
Cham M
Posts: 4324
Joined: 14.01.2004
Age: 60
With us: 20 years 10 months
Location: Montreal

Re: Particle systems

Post #44by Cham » 11.08.2008, 13:37

Chris,

with your particle systems for Celestia, do you think we could design something like this (with animation) ?
BH.jpg
"Well! I've often seen a cat without a grin", thought Alice; "but a grin without a cat! It's the most curious thing I ever saw in all my life!"

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

Re: Particle systems

Post #45by chris » 12.08.2008, 00:34

Cham wrote:Chris,

with your particle systems for Celestia, do you think we could design something like this (with animation) ?
BH.jpg

Not in its current state--there's no force model that would result in a spiral path for particles. The only force model I've implemented is a constant force along a fixed axis. For a spiral path, there need to be two forces: a central 1/r^2 force and a drag force opposite to the velocity vector. Is there an analytic solution to the equations of motion for such a system? That's a requirement of my particle system implementation (I don't see a way around this constraint for particles in Celestia.)

--Chris

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

Re: Particle systems

Post #46by chris » 12.08.2008, 22:07

fsgregs wrote:I am sure you are planning for a variety of transparencies in the plume effects in the ssc file. The ones in the videos are rather dense but I could see a need for some particle effects and smoke that would be mostly transparent gas.

Yes, the opacity is adjustable. Here's my attempt at reproducing the blue glow of an ion thruster:

http://www.youtube.com/watch?v=S5JgkD3H_Ac

In this example, I'm using a 2D Gaussian distribution for the initial positions of the particles.

--Chris

BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 17 years 1 month

Re: Particle systems

Post #47by BobHegwood » 12.08.2008, 22:14

For what it's worth, I think this is much better. :wink:
Still looks to be a bit thick in space, but what do I know?

Thanks, Brain-Dead
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN

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

Re: Particle systems

Post #48by chris » 12.08.2008, 22:30

BobHegwood wrote:For what it's worth, I think this is much better. :wink:

Well, the thrusters on Dawn are completely different than the ones on Cassini. So, the video isn't supposed to look 'better' than the Cassini better, just different.

Dawn uses ion thrusters powered by solar panels, whereas Cassini uses conventional chemical propulsion. An ion thruster generates thrust by ionizing atoms, accelerating them to high velocites either magnetically or electrically, and ejecting them from the spacecraft. More information and an image here: http://dawn.jpl.nasa.gov/mission/ion_prop.asp

--Chris

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

Re: Particle systems

Post #49by ElChristou » 12.08.2008, 22:38

Nice!
Image

BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 17 years 1 month

Re: Particle systems

Post #50by BobHegwood » 12.08.2008, 23:49

chris wrote:An ion thruster generates thrust by ionizing atoms, accelerating them to high velocites either magnetically or electrically, and ejecting them from the spacecraft.
Yes, I know... Exactly my point here. :wink:
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Re: Particle systems

Post #51by t00fri » 12.08.2008, 23:53

BobHegwood wrote:
chris wrote:An ion thruster generates thrust by ionizing atoms, accelerating them to high velocites either magnetically or electrically, and ejecting them from the spacecraft.
Yes, I know... Exactly my point here. :wink:

Aha! I seem to remember you as a well-known expert on rocket models before becoming a Celestian!?

Cheers,
Fridger
Image

Avatar
Fenerit M
Posts: 1880
Joined: 26.03.2007
Age: 17
With us: 17 years 8 months
Location: Thyrrenian sea

Re: Particle systems

Post #52by Fenerit » 14.08.2008, 18:37

Beautiful! Perhaps the Saturn's rings... :wink:
Never at rest.
Massimo

BobHegwood
Posts: 1803
Joined: 12.10.2007
With us: 17 years 1 month

Re: Particle systems

Post #53by BobHegwood » 14.08.2008, 19:03

t00fri wrote:
BobHegwood wrote:
chris wrote:An ion thruster generates thrust by ionizing atoms, accelerating them to high velocites either magnetically or electrically, and ejecting them from the spacecraft.
Yes, I know... Exactly my point here. :wink:

Aha! I seem to remember you as a well-known expert on rocket models before becoming a Celestian!?

Cheers,
Fridger

Perhaps I should elucidate on the comments above here...

What I meant was that the Dawn thruster looked better than the reproductions I had seen before. They always looked a bit too much like chemical reactions to me.
Also, I still think that this depiction is not quite what it should be, despite NASA's images. An ion thruster - it seems to me - would emit not a blue flame
expanding outward from the engine, but would look much more like light particles extending from the rear of the spacecraft.

Do you understand what I mean? Sorry to butt in again. I just wanted to make certain that you understood what I meant here. :wink:
Thanks, Brain-Dead
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 22
With us: 22 years 7 months
Location: Hamburg, Germany

Re: Particle systems

Post #54by t00fri » 14.08.2008, 19:19

BobHegwood wrote:...
Perhaps I should elucidate on the comments above here...

What I meant was that the Dawn thruster looked better than the reproductions I had seen before. They always looked a bit too much like chemical reactions to me.
Also, I still think that this depiction is not quite what it should be, despite NASA's images. An ion thruster - it seems to me - would emit not a blue flame
expanding outward from the engine, but would look much more like light particles extending from the rear of the spacecraft.

Do you understand what I mean? Sorry to butt in again. I just wanted to make certain that you understood what I meant here. :wink:
Thanks, Brain-Dead

Bob,

thanks for explaining. Unfortunately for this topic all I can refer to is my common sense. Not a bit more ;-) . You sure have more detailed know-how about this than me.

Fridger
Image

Avatar
Chuft-Captain
Posts: 1779
Joined: 18.12.2005
With us: 18 years 11 months

Re: Particle systems

Post #55by Chuft-Captain » 16.08.2008, 11:00

chris wrote:
fsgregs wrote:I am sure you are planning for a variety of transparencies in the plume effects in the ssc file. The ones in the videos are rather dense but I could see a need for some particle effects and smoke that would be mostly transparent gas.

Yes, the opacity is adjustable. Here's my attempt at reproducing the blue glow of an ion thruster:

http://www.youtube.com/watch?v=S5JgkD3H_Ac

In this example, I'm using a 2D Gaussian distribution for the initial positions of the particles.

--Chris

Sweet!



FWIW, I saw a video of a test-firing of a real ION rocket in a test-rig once. I'm a bit short on time right now, but if you'd like, let me know, and I could try and track it down again. (Or you could just try a Google search)
"Is a planetary surface the right place for an expanding technological civilization?"
-- Gerard K. O'Neill (1969)

CATALOG SYNTAX HIGHLIGHTING TOOLS LAGRANGE POINTS

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

Re: Particle systems

Post #56by buggs_moran » 19.08.2008, 14:08

Beautiful work Chris. I think this system (along with non linear path development) is critical in Celestia. The visualization possibilities are endless. Those videos on Youtube are beautiful. Will we be able to do non glowing particles as well?

BTW, if you only have one dimensional force motion, how did you do Tvashtar?

I wish I had more time to play, I've been away from Celestia so long... :(
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

ElChristou
Developer
Posts: 3776
Joined: 04.02.2005
With us: 19 years 9 months

Re: Particle systems

Post #57by ElChristou » 19.08.2008, 16:44

Chris, you think to implement this in 1.6 or later?
Image

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

Re: Particle systems

Post #58by chris » 19.08.2008, 22:06

ElChristou wrote:Chris, you think to implement this in 1.6 or later?

Later, I'm afraid. There are a lot of new features in 1.6.0 already, and it's time to focus on bug fixing and getting the release done. I will make a preview available soon and start soliciting feedback on ways to improve particle systems.

--Chris

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

Re: Particle systems

Post #59by chris » 19.08.2008, 22:21

buggs_moran wrote:Beautiful work Chris. I think this system (along with non linear path development) is critical in Celestia. The visualization possibilities are endless. Those videos on Youtube are beautiful. Will we be able to do non glowing particles as well?

By non-linear paths, I take it that you mean animation support?

Non-glowing particles are possible. The smoke in the Buran liftoff is one example. For realism, very important thing will be the ability to specify some scattering properties for the particles. It could be as simple as specifying a phase parameter.

BTW, if you only have one dimensional force motion, how did you do Tvashtar?

In that example, each particle is affected by a constant force along the local z-axis of the particle system, resulting in parabolic motion. The motion of the particles would be more accurately modeled by using a central 1/r^2 force, but I don't think that anyone would notice the difference visually.

--Chris

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

Re: Particle systems

Post #60by chris » 20.09.2008, 03:56

Here is another experiment with Tvashtar. The blue color has been toned down and I've tried to approximate the forward scattering of the plume matter by using a phase function to control particle brightness. Notice that the plume becomes much brighter when the Sun is nearly behind it:

http://www.youtube.com/watch?v=nJqkdbkOTLE

In fact, it probably becomes *too* bright. The phase function yields values much brighter than the maximum pixel. Without HDR, some sort of normalization term is probably required.

--Chris


Return to “Ideas & News”