[yt-users] Camera & HomogenizedVolume

Matthew Turk matthewturk at gmail.com
Tue Nov 23 12:32:13 PST 2010

Hi Stella,

I've just pushed a change to include Camera and HomogenizedVolume in
the yt.mods import.  I also wanted to note that you can get a camera
by doing:


and that I think unless you're doing something clever, you may no
longer need to generate a HomogenizedVolume by hand.  I think by
default Camera will use the kD-tree, now, so you should be set just
specifying the parameters for the rendering to pf.h.camera, and not
the volume itself.

Let me know if you run into any more problems!


On Tue, Nov 23, 2010 at 3:28 PM, Stella Offner <soffner at cfa.harvard.edu> wrote:
> Hi,
>  I updated yt to the new release, and now I'm getting 'NameError: name
> 'Camera' is not defined' for Camera and HomogenizedVolume (these were both
> part of the volume_rendering extension previously). Did these get renamed or
> do I need to import something else?
> Thanks!
> Stella
> _______________________________________________
> 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