Hi Nathan and Jill,
thanks for your very quick response. I will wait for the modifications to the export_obj function then.
On another matter, how easy would it be to pass volume renderings to sketchfab instead of the isosurfaces? What I have in mind is something similar to this
http://vimeo.com/104706172
but for uniform_grid data. This would be very useful when producing movies of volume renderings.
Thanks once again,
Kyriaki Dionysopoulou
=======================================================
Mathematical Sciences
University of Southampton
Southampton, SO17 1BJ, UK
K.Dionysopoulou@soton.ac.uk<mailto:K.Dionysopoulou@soton.ac.uk>
On 17 Dec 2014, at 23:30, Nathan Goldbaum <nathan12343@gmail.com<mailto:nathan12343@gmail.com>> wrote:
On Wed Dec 17 2014 at 3:29:49 PM Naiman, Jill <jill.naiman@cfa.harvard.edu<mailto:jill.naiman@cfa.harvard.edu>> wrote:
Hi Kyriaki,
The export_obj needs to be updated, I've got a fixed copy I've been meaning to push to the repository, so maybe I should just get on that!
Other folks - let me know if someone should first file a bug report, or if I should just fix & push.
If you will get the fix out in the next couple of days, there's probably no need to file an issue. If it will take a while, it's nice to have a bug that we can reference if people ask questions about it in the future.
Cheers,
-Jill
On Wed, Dec 17, 2014 at 6:01 PM, Dionysopoulou K. <K.Dionysopoulou@soton.ac.uk<mailto:K.Dionysopoulou@soton.ac.uk>> wrote:
Dear all,
I am trying to use the yt export_obj function in order to be able to use yt in conjunction with Blender3D. I am very new to yt, so I tried the simple example you have here:
http://yt-project.org/doc/visualizing/sketchfab.html
and here
http://blog.yt-project.org<http://blog.yt-project.org/>
My problem is that even when using the data suggested in the webpage the code snippet provided fails to produce the mtl and obj files. After taking a quick look at the code I noticed the initial problem was caused by inconsistent units for the emissivity (maybe a typo in the docs?). I also changed ‘mpc’ to ‘Mpc’ as yt was complaining that the domain was too small. Even after these minor changes the export_obj function does not seem to work for me. The error messages are attached in the python notebook below (the notebook is basically just a copy and paste from the provided ones in the websites above).
The similar (but different) export_sketchfab function seems to work fine for the same data. I cannot really figure out what goes wrong with the export_obj function and any help would be very much appreciated.
Thanks in advance,
Kyriaki Dionysopoulou
=======================================================
Mathematical Sciences
University of Southampton
Southampton, SO17 1BJ, UK
K.Dionysopoulou@soton.ac.uk<mailto:K.Dionysopoulou@soton.ac.uk><mailto:K.Dionysopoulou@soton.ac.uk<mailto:K.Dionysopoulou@soton.ac.uk>>
_______________________________________________
yt-users mailing list
yt-users@lists.spacepope.org<mailto:yt-users@lists.spacepope.org>
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________
yt-users mailing list
yt-users@lists.spacepope.org<mailto: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