<div dir="ltr">I think we should aim to have the VR interface and the OpenGL VR interface as similar as possible.  Otherwise, it is likely that users, both new and old, will get pretty confused when jumping back and forth between two pieces of code that offer similar functionality.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 1, 2016 at 6:43 AM, Nathan Goldbaum <span dir="ltr"><<a href="mailto:nathan12343@gmail.com" target="_blank">nathan12343@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Right now it's somewhat different. There's a cookbook recipe in the pull request you can look at to get an idea of how to set it up.<div><br></div><div>In principle the details could be wrapped up to make the user-facing API more similar.<div><div class="h5"><span></span><br><br>On Tuesday, March 1, 2016, Cameron Hummels <<a href="mailto:chummels@gmail.com" target="_blank">chummels@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Does this have a similar API / interface to the standard VR?  </div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 25, 2016 at 9:45 AM, Nathan Goldbaum <span dir="ltr"><<a>nathan12343@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Thu, Feb 25, 2016 at 11:40 AM, Matthew Turk <span dir="ltr"><<a>matthewturk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi folks,<br>
<br>
Over the last little while, Kacper, Andrew and I have been picking up<br>
on some work started by Chuck Rozhon to implement OpenGL-based volume<br>
rendering of AMR data.  Kacper recorded a demo about a week ago,<br>
although it has improved considerably even since then:<br>
<br>
<a href="https://www.youtube.com/watch?v=yiiBDK1OJDo" rel="noreferrer" target="_blank">https://www.youtube.com/watch?v=yiiBDK1OJDo</a><br>
<br>
As of right now, it can do these things:<br>
<br>
 * Load up a "data source" (which can be all_data, but doesn't need to be)<br>
 * Utilize orthographic and perspective cameras<br>
 * Maximum intensity projection<br>
 * Integrated projection<br>
 * Apply colormaps to these two things, using two-pass rendering<br>
 * Trackball camera with keyboard shortcuts for moving around the domain<br>
 * Output camera information that is compatible with the software<br>
renderer (i.e., it can be used to get a sequence of camera positions)<br>
 * Save images out<br>
 * Preliminary support for color transfer function-based VR.  At<br>
present this only supports isosurfaces that are manually encoded.  It<br>
will soon take 1D textures from the CTF object.<br>
<br>
The system has been designed to be very modular, with extensible<br>
keyboard and mouse shortcuts.  Kacper has even been able to build a<br>
very lightweight Qt-based GUI around it (on BB as xarthisius/reason )<br>
without changing much/any of the internal-to-yt code.  Also, it works<br>
reasonably well even on fairly old graphics cards for reasonably sized<br>
data.  (And since it'll accept data objects that are cutouts, this<br>
means you could pull a sphere or block out of a gigantic dataset and<br>
use that.)<br>
<br>
Anyway, the reason I'm writing is that I'd like to bring it to<br>
people's attention sooner rather than later.  It'll need some testing,<br>
and we're also working to make it in a readily usable state as well.<br>
As of right now, before WIP gets removed from the pull request, we're<br>
going to add documentation (with notes that it is likely an unstable<br>
API) and hopefully a short screencast.  But before then, I would like<br>
to invite folks to either review the PR or to test it out.<br>
<br>
<a href="https://bitbucket.org/yt_analysis/yt/pull-requests/1598" rel="noreferrer" target="_blank">https://bitbucket.org/yt_analysis/yt/pull-requests/1598</a><br>
<br>
Note that this requires cyglfw3, which is accessible via pip.<br></blockquote><div><br></div></div></div><div>Also needs glfw3, which I installed via homebrew.</div><span><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I'm pretty excited about this, and the design we have been aiming for<br>
with the way it accepts objects and shaders should enable a lot of<br>
cool things to be done -- especially with respect to selecting data,<br>
presenting it, etc etc.<br>
<br>
I'd really like to see this be a part of 3.3.<br>
<br>
-Matt<br>
_______________________________________________<br>
yt-dev mailing list<br>
<a>yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
</blockquote></span></div><br></div></div>
<br>_______________________________________________<br>
yt-dev mailing list<br>
<a>yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div>Cameron Hummels<div><span style="font-size:12.8000001907349px">NSF Postdoctoral Fellow</span></div><div><span style="font-size:12.8000001907349px">Department of Astronomy</span></div><div><span style="font-size:12.8000001907349px">California Institute of Technology</span><br></div><div><a href="http://chummels.org" style="font-size:12.8000001907349px" target="_blank">http://chummels.org</a><br></div></div></div></div>
</div>
</blockquote></div></div></div>
<br>_______________________________________________<br>
yt-dev mailing list<br>
<a href="mailto:yt-dev@lists.spacepope.org">yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Cameron Hummels<div><span style="font-size:12.8000001907349px">NSF Postdoctoral Fellow</span></div><div><span style="font-size:12.8000001907349px">Department of Astronomy</span></div><div><span style="font-size:12.8000001907349px">California Institute of Technology</span><br></div><div><a href="http://chummels.org" style="font-size:12.8000001907349px" target="_blank">http://chummels.org</a><br></div></div></div></div>
</div>