Home »
Public Forums »
archive »
Re: plotting particle data with halos?
Re: plotting particle data with halos? [message #33703 is a reply to message #33699] |
Thu, 16 January 2003 17:43  |
Rick Towler
Messages: 821 Registered: August 1998
|
Senior Member |
|
|
"Matt Wood" <wood@astro.nospam.fit.edu>
> I've got particle data generated from 'smoothed particle hydrodynamics'
> code that I'd like to visualize using idl. Are there any routines that
> will plot particles with 'halos' instead of simple colored points?
What exactly do you mean by "halo"? Do you mean that literally, as if the
particle were glowing? Or do you mean some sort of trail?
If you mean glowing, there aren't any canned routines for this that I know
of but it could be done to some degree in object graphics. I say some
degree because you would use alpha blending to create the halo effect and
IDL's object graphics renderer is not well suited for this type of rendering
(multiple moving alpha textured objects). A lot will depend on how you view
things.
Another consideration will be the number of particles you wish to create.
At a minimum each particle would be 2d and require 4 vertices in which you
would be restricted to a single static view. Practically 8 or 12 verts
would be required if you were to "billboard" the texture to view from all
angles (I actually don't know how this would render in IDL but am curious to
find out). If you want to draw 10k of these things it could get ugly.
If you are still interested I can get you started.
-Rick
|
|
|
Current Time: Sat Oct 11 08:09:37 PDT 2025
Total time taken to generate the page: 0.87961 seconds