[yt-users] volume rendering ramses output

Matthew Turk matthewturk at gmail.com
Thu Nov 24 17:43:09 PST 2016


Hi Mohammadtaher,

Unfortunately, right now, this can't be done; I hope that will change
in the future, but I don't know when.

-Matt

On Thu, Nov 24, 2016 at 5:42 PM, mohammad safarzadeh
<mtsafarzadeh at gmail.com> wrote:
> Hello,
>
> I am trying to do a simple volume rendering on a ramses cosmological output
> by
> following the simple recipe that yt provides, but I get an AMRKDTree error.
> Can I not volume render a ramses output? I am using the latest version of
> YT.
>
> here is my simple code that fails:
>
> ds=yt.load(filename)
>
> sc = yt.create_scene(ds, field=('gas', 'density'))
>
> sc.camera.resolution = (1024, 1024)
>
> sc.camera.focus = ds.arr([0.3, 0.3, 0.3], 'unitary')
>
> sc.camera.position = ds.arr([0, 0, 0], 'unitary')
>
> sc.render()
>
>
> ---> 37 sc.render()
>
> RuntimeError: AMRKDTree does not support particle or octree-based data.
>
>
> Thank you very much,
> --
> Mohammadtaher Safarzadeh, Ph.D.
>
>
> _______________________________________________
> 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