<div dir="ltr">Hi Nick,<div>            Yes, that can be done (I was under the impression that even that operation was slow with vtk but haven't looked into that part myself). The copy could additionally be made conditional since rendering typically runs faster than the physics.</div><div><br></div><div>The mesh needs to be updated though (at least in the case where visual and physics are the same) since the physics update of future time steps count on it.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 20, 2016 at 4:04 PM, Milef, Nicholas Boris <span dir="ltr"><<a href="mailto:milefn@rpi.edu" target="_blank">milefn@rpi.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt"><span style="font-size:13.3333px">In that case, then copying data over shouldn't be a big deal. I thought the copying was occurring on the rendering thread. If we need thread
 synchronization here, then we can just use a buffered approach.</span><br>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div id="m_7535116805064077562divRpF668767" style="direction:ltr"><font face="Tahoma" size="2" color="#000000"><b>From:</b> Sreekanth Arikatla [<a href="mailto:sreekanth.arikatla@kitware.com" target="_blank">sreekanth.arikatla@kitware.<wbr>com</a>]<br>
<b>Sent:</b> Thursday, October 20, 2016 3:53 PM<br>
<b>To:</b> Milef, Nicholas Boris<br>
<b>Cc:</b> <a href="mailto:imstk-developers@imstk.org" target="_blank">imstk-developers@imstk.org</a><br>
<b>Subject:</b> Re: [Imstk-developers] Copying Vega data<br>
</font><br>
</div><div><div class="h5">
<div></div>
<div>
<div dir="ltr">Hi Nick,
<div>           It happens in a separate thread in the sceneManager module.</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Oct 20, 2016 at 3:45 PM, Milef, Nicholas Boris <span dir="ltr">
<<a href="http://redir.aspx?REF=BpJFDzylJUzmyH0IS2ouZR58VfSo4ijMtYN4jcu2cDKtIV1CJPnTCAFtYWlsdG86bWlsZWZuQHJwaS5lZHU." target="_blank">milefn@rpi.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">Do Vega operations occur on the same thread as the render loop? If not, then it might be best to buffer and copy over the data instead of directly working on the mesh data.</div>
</div>
<br>
______________________________<wbr>_________________<br>
Imstk-developers mailing list<br>
<a href="http://redir.aspx?REF=bigx7UCbQk9SNSpSCYDnjFakE4iwbAgWDMHb4qE4SpetIV1CJPnTCAFtYWlsdG86SW1zdGstZGV2ZWxvcGVyc0BpbXN0ay5vcmc." target="_blank">Imstk-developers@imstk.org</a><br>
<a href="http://redir.aspx?REF=jFoBqdkH1xl6pePYXQ0FIrvhA89vs902I3d4sBjmOUatIV1CJPnTCAFodHRwOi8vcHVibGljLmtpdHdhcmUuY29tL21haWxtYW4vbGlzdGluZm8vaW1zdGstZGV2ZWxvcGVycw.." rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/imstk-developers</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="m_7535116805064077562gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">Sreekanth Arikatla, Ph.D,</div>
<div dir="ltr">Senior R&D Engineer,</div>
<div dir="ltr"><a href="http://redir.aspx?REF=3qzFo3FNN4RdtBUk0qOs5JodPEA_-jpKD8tsMGEYn26tIV1CJPnTCAFodHRwOi8vd3d3LmtpdHdhcmUuY29t" style="font-size:12.8px" target="_blank">Kitware, Inc.</a>, Carrboro, NC.
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div></div>
</div>
</div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Sreekanth Arikatla, Ph.D,</div><div dir="ltr">Senior R&D Engineer,</div><div dir="ltr"><a href="http://www.kitware.com" style="font-size:12.8px" target="_blank">Kitware, Inc.</a>, Carrboro, NC.<div><br></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>