[yt-users] Visualizing clumps in 3D?

Matthew Turk matthewturk at gmail.com
Thu Aug 11 08:16:30 PDT 2011


Hi Eve,

You can volume render if you use the 'camera' interface, described here:

http://yt.enzotools.org/doc/visualizing/volume_rendering.html?highlight=camera#volume-rendering-camera

Supply the center to the camera to point it at a particular clump.
You can then add isocontours (using the "sample_colormap" function,
http://yt.enzotools.org/doc/reference/api/generated/yt.visualization.volume_rendering.transfer_functions.ColorTransferFunction.sample_colormap.html
) to a ColorTransferFunction to choose where you want the highlights
placed.  If you place them at the divergent densities, it should draw
out the features you're looking for.

Hope that helps,

Matt

On Thu, Aug 11, 2011 at 8:42 AM, Eve Lee <elee at cita.utoronto.ca> wrote:
> Hello,
>
> I'm using yt's clump find routine to locate clumps with embedded star
> particles in an Enzo stirred turbulent box with star formation, and I'm
> wondering if yt has the functionalities to visualize these clumps in 3D
> space rather than 2D projected contour lines.
>
> Is it possible to volume render just the clumps (not the whole box which
> seems like what yt's doing according to the documentation webpage) or better
> yet, make a 3D contour plot to visualize the clump hierarchy?
>
> Thanks.
>
> Best Regards,
>
> Eve
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>



More information about the yt-users mailing list