[yt-dev] Issue #1109: [experimental] default way to write images in VR? (yt_analysis/yt)

Cameron Hummels issues-reply at bitbucket.org
Tue Oct 13 21:41:46 PDT 2015


New issue 1109: [experimental] default way to write images in VR?
https://bitbucket.org/yt_analysis/yt/issues/1109/experimental-default-way-to-write-images

Cameron Hummels:

Note differences in ways to write images in VR: (1) you specify an fname in the yt.volume_render() function originally (2) you get the resulting im object from yt.volume_render() and then write it using im.write_png(fname), (3) you take the resulting sc object from yt.volume_render() and then sc.render(fname).  i guess it is good to have these three methods for getting the images to file, but it might be worthwhile to explicitly state that there are three methods for writing your VR to file, so people don't get confused on which is the main method (as i did and just had to figure it out by looking through different examples, source, etc).





More information about the yt-dev mailing list