Hi Matt, Cheers for the info, I’ll take a look at your Unity code, I’m betting it’ll be better than my stab at it a few months back, I used someone else’s ray-marching code: https://github.com/brianasu/unity-ray-marching/tree/volumetric-textures Is it a mercurial repository? (I’ve just never used that before)
Hi Nathan, My skillset doesn’t cover Open GL or general graphics either (yet, maybe in time), but I’m more than happy to help where I can and I have enough people here interested to get their data in VR that there’s a good amount of support. :) I assume yt’s OpenGL volume rendering uses ray-marching?
Hi Suoqing, Cheers, that’s cool, I’ll have to give that a try too, I’ll have to see if the data will look good on that.
Hi Jill, That’s a good idea, I’d never heard of sketchfab, most of our datasets are more volume then surface, but it’s worth a try for some of my solar stuff.
Thanks guys, I’m getting loads of cool ideas from here.
Regards Alex
From: yt-users-request@lists.spacepope.org [yt-users-request@lists.spacepope.org] Sent: 23 May 2017 19:01 To: yt-users@lists.spacepope.org Subject: yt-users Digest, Vol 111, Issue 44
Send yt-users mailing list submissions to yt-users@lists.spacepope.org
To subscribe or unsubscribe via the World Wide Web, visit http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org or, via email, send a message with subject or body 'help' to yt-users-request@lists.spacepope.org
You can reach the person managing the list at yt-users-owner@lists.spacepope.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of yt-users digest..."
Today's Topics:
Message: 1 Date: Tue, 23 May 2017 10:00:31 +1000 From: "Naiman, Jill" jill.naiman@cfa.harvard.edu To: Discussion of the yt analysis package yt-users@lists.spacepope.org Subject: Re: [yt-users] YT VR Visualisation Message-ID: CAFwWoV-K5rWnL_9LZVQ4ZVhvaH8znbMo0Vi1yrg0MeApeSxuXw@mail.gmail.com Content-Type: text/plain; charset="utf-8"
Hi All,
Just FYI - one can also generate points/surfaces with yt and upload them somewhere like Sketchfab and use their VR mechanisms.
Looking forward to what comes of it!
Cheers, -Jill
On Tue, May 23, 2017 at 2:14 AM, Nathan Goldbaum nathan12343@gmail.com wrote:
> >
On Mon, May 22, 2017 at 11:07 AM, Matthew Turk matthewturk@gmail.com wrote:
Hi Alex,
Yup, we have been, and with the vive and oculus specifically. Right now though, it never got past much of a tech demo phase -- there's code on my group's bitbucket account (bitbucket.org/data-exp-lab/ ) that runs in Unity, and Nathan Goldbaum got some of the stuff that's in yt (the volume rendering) to work with the OpenVR python bindings directly (not srue where that code is) but it's all still pretty early on.
This code isn't really usable yet. In order for this to actually work, we'll need a big overhaul of the OpenGL volume rendering in yt to use multiple passes.
In addition there were significant performance issues that I never tracked down. Unfortunately I'm no expert on graphics programming and that's probably what's needed here.
Not sure it's quite shovel ready. There're some students coming on soon that will take another look, but July might be a bit optimistic... That being said, it'd be an awesome hack or collaboration and if you are interested in trying to push it at all, that'd be pretty rad.
-Matt
On Mon, May 22, 2017 at 10:10 AM, Alexander Hamilton
A.Hamilton@2016.hull.ac.uk wrote:
Hi guys, I?m Alex from Hull University. We?re hosting the UK?s National Astronomy Meeting in July and I?ve been asked to run the hack day.
I?ve managed to procure some VR headsets (HTC Vive, Oculus Rift and MS Hololens) and want to try and see if we could use them for visualising some of our simulation data. I hear you guys may have been playing with VR, is that true? Is there anything that we could use/play-with at this point?
Thanks
Alex
To view the terms under which this email is distributed, please go to http://www2.hull.ac.uk/legal/disclaimer.aspx
yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/2017...
Message: 2 Date: Mon, 22 May 2017 17:18:20 -0700 From: Suoqing Ji suoqing@physics.ucsb.edu To: Discussion of the yt analysis package yt-users@lists.spacepope.org Subject: Re: [yt-users] YT VR Visualisation Message-ID: ca3136c6-5fe9-4aac-92df-09d17d82bffc@Spark Content-Type: text/plain; charset="utf-8"
Hi Alex,
Just to add up one more point: yt is always able to generate pre-rendered virtual reality movies with stereo-spherical lens, which works perfectly with Google Cardboard.
To generate the movie, you could refer to this page: http://yt-project.org/docs/dev/visualizing/volume_rendering.html#spherical-a...
An example move is at:?https://www.youtube.com/watch?v=ZYWY53X7UQE . You could also put your smartphone into Google Cardboard to watch the video with Youtube App.
Best wishes, ? Suoqing Ji Ph.D Candidate Department of Physics University of California, Santa Barbara http://physics.ucsb.edu/~suoqing
On May 22, 2017, 5:00 PM -0700, Naiman, Jill jill.naiman@cfa.harvard.edu, wrote:
Hi All,
Just FYI - one can also generate points/surfaces with yt and upload them somewhere like Sketchfab and use their VR mechanisms.
Looking forward to what comes of it!
Cheers, -Jill
On Tue, May 23, 2017 at 2:14 AM, Nathan Goldbaum nathan12343@gmail.com wrote: > >
On Mon, May 22, 2017 at 11:07 AM, Matthew Turk matthewturk@gmail.com wrote:
Hi Alex,
Yup, we have been, and with the vive and oculus specifically.? Right now though, it never got past much of a tech demo phase -- there's code on my group's bitbucket account (bitbucket.org/data-exp-lab/ ) that runs in Unity, and Nathan Goldbaum got some of the stuff that's in yt (the volume rendering) to work with the OpenVR python bindings directly (not srue where that code is) but it's all still pretty early on.
This code isn't really usable yet. In order for this to actually work, we'll need a big overhaul of the OpenGL volume rendering in yt to use multiple passes.
In addition there were significant performance issues that I never tracked down. Unfortunately I'm no expert on graphics programming and that's probably what's needed here.
Not sure it's quite shovel ready.? There're some students coming on soon that will take another look, but July might be a bit optimistic...? That being said, it'd be an awesome hack or collaboration and if you are interested in trying to push it at all, that'd be pretty rad.
-Matt
On Mon, May 22, 2017 at 10:10 AM, Alexander Hamilton
A.Hamilton@2016.hull.ac.uk wrote:
Hi guys, I?m Alex from Hull University. We?re hosting the UK?s National Astronomy Meeting in July and I?ve been asked to run the hack day.
I?ve managed to procure some VR headsets (HTC Vive, Oculus Rift and MS Hololens) and want to try and see if we could use them for visualising some of our simulation data. I hear you guys may have been playing with VR, is that true? Is there anything that we could use/play-with at this point?
Thanks
? ? ?Alex
To view the terms under which this email is distributed, please go to http://www2.hull.ac.uk/legal/disclaimer.aspx
yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/2017...
Message: 3 Date: Tue, 23 May 2017 17:59:15 +0000 From: Daniel William Murray dwmurray@uwm.edu To: "yt-users@lists.spacepope.org" yt-users@lists.spacepope.org Subject: [yt-users] Ramses MHD visualization Message-ID: MWHPR04MB1185DDA612C4C5D38349B6DDDCF90@MWHPR04MB1185.namprd04.prod.outlook.c...
Content-Type: text/plain; charset="iso-8859-1"
Dear yt folks,
I am trying to visualize some RAMSES MHD simulation data. The simulation is for gravitationally collapsing gas looking at star formation. I'm looking to obtain projection and slice plots and then annotate the magnetic fields onto the resulting image.
I'm on Mac OS X 10.9.5
I'm using conda 4.3.18
My version of yt is: 3.3.5-py27_0
and python 2.7.12
All of what I believe is the relevant code:
pf = yt.load('output_00284/info_00284.txt')
sp = pf.h.sphere(part_center, (zoom_width + 0.5, "pc"))
L = sp.quantities.angular_momentum_vector()
p = yt.OffAxisSlicePlot(pf, L, 'density', center=part_center, width =(zoom_width, "pc"))
p.annotate_magnetic_field()
p.save('test.png')
The error:
yt.utilities.exceptions.YTPlotCallbackError: annotate_magnetic_field callback failed with the following error: Could not find field '('all', 'magnetic_field_x')' in info_00284.
If I load the field list for the data set, I can see that the B field data is there, but under 'ramses', not 'all'
('ramses', 'x-Bfield-left'),
('ramses', 'x-Bfield-right'),
('ramses', 'x-velocity'),
('ramses', 'y-Bfield-left'),
('ramses', 'y-Bfield-right'),
('ramses', 'y-velocity'),
('ramses', 'z-Bfield-left'),
('ramses', 'z-Bfield-right'),
Is there a way to pass these fields to annotate_magnetic_field? Or a manner in which I can have this information load in the field ('all', 'magnetic_field_')
I should also note that I can create and save the plots with no issues, so long as I do not try to annotate the magnetic fields.
Cheers, Daniel Murray Graduate student at University of Wisconsin Milwaukee
-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/2017...
Subject: Digest Footer
yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
End of yt-users Digest, Vol 111, Issue 44
To view the terms under which this email is distributed, please go to http://www2.hull.ac.uk/legal/disclaimer.aspx