<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Matt, <br>
<br>
Thanks very much for your comments!<br>
<br>
<div class="moz-cite-prefix">On 16-05-06 11:58 AM, Matthew Turk
wrote:<br>
</div>
<blockquote
cite="mid:CALO3=5F-d0NQbF2YpMrWuf5b2KrR3GUhfv0d3PCpb8oQsYELsQ@mail.gmail.com"
type="cite">
<div dir="ltr">I think that the cost is likely dominated by the
vertex-centering. It may be possible to overload
get_vertex_centered_data for your subclass of AMRPatchGrid to
make this faster based on your data format. I am not sure that
it is a huge cost to do the ray casting itself; there are likely
python operations like writing the image, etc, that are a
non-negligible fraction of that time.</div>
</blockquote>
<br>
I see. Do you have any insight into how we might prepare the data to
facilitate this? Or how we might prepare the data to minimize the
cost here? For example, is yt more efficient with many small grids
or with a few large grids? Since we perform a pre-processing step
before feeding our data to yt, it may be possible to generate grids
that are efficient for yt.<br>
<br>
Best,<br>
Jonah<br>
<br>
<blockquote
cite="mid:CALO3=5F-d0NQbF2YpMrWuf5b2KrR3GUhfv0d3PCpb8oQsYELsQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div lang="x-unicode">
<p> </p>
<p>I'd love to know other people's experience with
benchmarking. Do these costs seem normal, up to an
order of magnitude or so? Would you have any insight
into what contributes to the cost of generating the
first frame when volume rendering?<br>
</p>
<p>Thanks very much!<br>
</p>
<p>Best,<br>
Jonah Miller<br>
</p>
</div>
</div>
<br>
_______________________________________________<br>
yt-dev mailing list<br>
<a moz-do-not-send="true"
href="mailto:yt-dev@lists.spacepope.org">yt-dev@lists.spacepope.org</a><br>
<a moz-do-not-send="true"
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>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
yt-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:yt-dev@lists.spacepope.org">yt-dev@lists.spacepope.org</a>
<a class="moz-txt-link-freetext" href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a>
</pre>
</blockquote>
<br>
</body>
</html>