[Imstk-developers] Copying Vega data
Sreekanth Arikatla
sreekanth.arikatla at kitware.com
Thu Oct 20 18:01:20 EDT 2016
Hi Nick,
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.
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.
On Thu, Oct 20, 2016 at 4:04 PM, Milef, Nicholas Boris <milefn at rpi.edu>
wrote:
> 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.
> ------------------------------
> *From:* Sreekanth Arikatla [sreekanth.arikatla at kitware.com]
> *Sent:* Thursday, October 20, 2016 3:53 PM
> *To:* Milef, Nicholas Boris
> *Cc:* imstk-developers at imstk.org
> *Subject:* Re: [Imstk-developers] Copying Vega data
>
> Hi Nick,
> It happens in a separate thread in the sceneManager module.
>
> On Thu, Oct 20, 2016 at 3:45 PM, Milef, Nicholas Boris <milefn at rpi.edu
> <http://redir.aspx?REF=BpJFDzylJUzmyH0IS2ouZR58VfSo4ijMtYN4jcu2cDKtIV1CJPnTCAFtYWlsdG86bWlsZWZuQHJwaS5lZHU.>
> > wrote:
>
>> 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.
>>
>> _______________________________________________
>> Imstk-developers mailing list
>> Imstk-developers at imstk.org
>> <http://redir.aspx?REF=bigx7UCbQk9SNSpSCYDnjFakE4iwbAgWDMHb4qE4SpetIV1CJPnTCAFtYWlsdG86SW1zdGstZGV2ZWxvcGVyc0BpbXN0ay5vcmc.>
>> http://public.kitware.com/mailman/listinfo/imstk-developers
>> <http://redir.aspx?REF=jFoBqdkH1xl6pePYXQ0FIrvhA89vs902I3d4sBjmOUatIV1CJPnTCAFodHRwOi8vcHVibGljLmtpdHdhcmUuY29tL21haWxtYW4vbGlzdGluZm8vaW1zdGstZGV2ZWxvcGVycw..>
>>
>>
>
>
> --
> Sreekanth Arikatla, Ph.D,
> Senior R&D Engineer,
> Kitware, Inc.
> <http://redir.aspx?REF=3qzFo3FNN4RdtBUk0qOs5JodPEA_-jpKD8tsMGEYn26tIV1CJPnTCAFodHRwOi8vd3d3LmtpdHdhcmUuY29t>,
> Carrboro, NC.
>
>
--
Sreekanth Arikatla, Ph.D,
Senior R&D Engineer,
Kitware, Inc. <http://www.kitware.com>, Carrboro, NC.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/imstk-developers/attachments/20161020/910ea857/attachment.html>
More information about the Imstk-developers
mailing list