<p dir="ltr">Hello,</p>
<p dir="ltr">Thank you for reply. Great to hear that this issue is in progress.</p>
<p dir="ltr">Thanks, Taras</p>
<div class="gmail_extra"><br><div class="gmail_quote">1 серп. 2016 17:50 "Ken Martin" <<a href="mailto:ken.martin@kitware.com">ken.martin@kitware.com</a>> пише:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I have a topic I'm working on to address this issue, but it is a non-trivial fix so it may take some discussion and time to get it nailed down. My topic is really just to show the basic approach and then I'll have to go and change all of VTK to use it assuming folks agree with it.<div><br></div><div><a href="https://gitlab.kitware.com/vtk/vtk/merge_requests/1724" target="_blank">https://gitlab.kitware.com/vtk/vtk/merge_requests/1724</a><br></div><div><br></div><div>Ken</div><div><br></div></div><div class="gmail_extra"><div class="elided-text"><br><div class="gmail_quote">On Fri, Jul 29, 2016 at 10:27 AM, Taras Shchehelskyi <span dir="ltr"><<a href="mailto:shchegelskij@gmail.com" target="_blank">shchegelskij@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="UK" link="blue" vlink="#954F72"><div><p class="MsoNormal"><span lang="EN-US">Hello,</span></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span lang="EN-US">Just want to check if there are some news about this issue. Maybe somebody have idea how to fix this bug?<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Thanks,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Taras</span></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><u></u> <u></u></span></p><div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal" style="border:none;padding:0cm"><b>From: </b><a href="mailto:will.schroeder@kitware.com" target="_blank">Will Schroeder</a><br><b>Sent: </b>5 липня 2016 р. 21:34<br><b>To: </b><a href="mailto:shchegelskij@gmail.com" target="_blank">Taras Shchehelskyi</a><br><b>Cc: </b><a href="mailto:vtk-developers@vtk.org" target="_blank">vtk-developers</a><br><b>Subject: </b>Re: [vtk-developers] Rendering hangs in viewport</p></div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><u></u> <u></u></span></p><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif">Okay we have a VTK hackathon tomorrow, I'll talk with some of the folks there....</span><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><u></u><u></u></span></p><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif">Best,<br>W<u></u><u></u></span></p></div></div><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><u></u> <u></u></span></p><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif">On Tue, Jul 5, 2016 at 2:17 PM, Taras Shchehelskyi <<a href="mailto:shchegelskij@gmail.com" target="_blank">shchegelskij@gmail.com</a>> wrote:<u></u><u></u></span></p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"><div><div><p class="MsoNormal"><span lang="EN-US">I did. Out app work only in 64bit mode. I see that VTK really uses vtkAtomicInt64 for GlobalTimeStamp. But what about next line </span><u></u><u></u></p><p class="MsoNormal"><b><span lang="EN-US">this->ModifiedTime = (unsigned long)++GlobalTimeStamp;</span></b><span lang="EN-US">  (in vtkTimeStamp::Modified())</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">Also I checked and everywhere in code timestamp is unsigned long. In windows x64 unsigned long is 32bit type. So despite 64bit vtkAtomicInt64 we still have conversion to unsigned long.</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">Thanks,</span></p><p class="MsoNormal"><span lang="EN-US">Taras</span></p><p class="MsoNormal"> </p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"> </span></p><div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b>From: </b><a href="mailto:will.schroeder@kitware.com" target="_blank">Will Schroeder</a><br><b>Sent: </b>5 липня 2016 р. 21:00<br><b>To: </b><a href="mailto:shchegelskij@gmail.com" target="_blank">Taras Shchehelskyi</a></p><div><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><br><b>Subject: </b>Re: [vtk-developers] Rendering hangs in viewport<u></u><u></u></span></p></div></div></div><div><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"> </span><u></u><u></u></p><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif">Taras why aren't you building 64-bit? That's the easiest solution...</span></p></div><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"> </span></p><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif">On Tue, Jul 5, 2016 at 1:53 PM, Will Schroeder <<a href="mailto:will.schroeder@kitware.com" target="_blank">will.schroeder@kitware.com</a>> wrote:</span></p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt"><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif">Okay Taras, I talked to someone smarter than me and it may be that some versions of Windows support vtkAtomicInt64 ..... and at one point there were some versions that did not, I'm not sure what the current status is. So for a simple fix I would try using vtkAtomicInt64 on your machine and recompiling. If that doesn't work we'll have to scratch our heads a little more.</span></p><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"> </span></p></div></div><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"> </span></p><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif">On Tue, Jul 5, 2016 at 12:31 PM, Taras Shchehelskyi <<a href="mailto:shchegelskij@gmail.com" target="_blank">shchegelskij@gmail.com</a>> wrote:</span></p><div><div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt"><div><div><p class="MsoNormal"><span lang="EN-US">Hello,</span></p><p class="MsoNormal"> </p><p class="MsoNormal"><span lang="EN-US">Just checked. Our app does enough vtkTimeStamp::Modified() calls to </span>wrapping<span lang="EN-US"> 32 bit unsigned long in about 15-20h (depending on how many other processes I have on my PC). When enable more features – less time necessary.</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">I am new to VTK. Can you please give me advice how hard (how many changes necessary) to move this->ModifiedTime  to int64 type in windows?</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">If move to int64 type, from my rough estimate app should work fine for 400000+ years. And this more than enough for any use case </span><span lang="EN-US" style="font-family:"Segoe UI Emoji",sans-serif">😊</span></p><p class="MsoNormal"> </p><p class="MsoNormal"><span lang="EN-US">Thanks,</span></p><p class="MsoNormal"><span lang="EN-US">Taras</span></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"> </span></p><div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b>From: </b><a href="mailto:sean@rogue-research.com" target="_blank">Sean McBride</a><br><b>Sent: </b>5 липня 2016 р. 18:02<br><b>To: </b><a href="mailto:will.schroeder@kitware.com" target="_blank">Will Schroeder</a>; <a href="mailto:mathieu.malaterre@gmail.com" target="_blank">Mathieu Malaterre</a><br><b>Cc: </b><a href="mailto:vtk-developers@vtk.org" target="_blank">vtk-developers@vtk.org</a><br><b>Subject: </b>Re: [vtk-developers] Rendering hangs in viewport</p></div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"> </span></p><p class="MsoNormal">On Tue, 5 Jul 2016 08:16:46 -0400, Will Schroeder said:</p><div><div><p class="MsoNormal"> </p><p class="MsoNormal">>I like this theory! It's hard to imagine an unsigned long wrapping around,</p><p class="MsoNormal"> </p><p class="MsoNormal">Not on Windows, where unsigned long is only 32 bits. :(</p><p class="MsoNormal"> </p><p class="MsoNormal">Cheers,</p><p class="MsoNormal"> </p><p class="MsoNormal">-- </p><p class="MsoNormal">____________________________________________________________</p><p class="MsoNormal">Sean McBride, B. Eng                 <a href="mailto:sean@rogue-research.com" target="_blank">sean@rogue-research.com</a></p><p class="MsoNormal">Rogue Research                        <a href="http://www.rogue-research.com" target="_blank">www.rogue-research.com</a> </p><p class="MsoNormal">Mac Software Developer              Montréal, Québec, Canada</p><p class="MsoNormal"> </p><p class="MsoNormal"> </p></div></div><p class="MsoNormal">_______________________________________________</p><p class="MsoNormal">Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a></p><p class="MsoNormal"> </p><p class="MsoNormal">Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a></p><p class="MsoNormal"> </p><p class="MsoNormal">Search the list archives at: <a href="http://markmail.org/search/?q=vtk-developers" target="_blank">http://markmail.org/search/?q=vtk-developers</a></p><p class="MsoNormal"> </p><p class="MsoNormal">Follow this link to subscribe/unsubscribe:</p><p class="MsoNormal"><a href="http://public.kitware.com/mailman/listinfo/vtk-developers" target="_blank">http://public.kitware.com/mailman/listinfo/vtk-developers</a></p><p class="MsoNormal"> </p><p class="MsoNormal"> </p></div></div></blockquote></div></div></div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><br><br clear="all"></span></p><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"> </span></p></div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif">-- </span></p><div><div><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif">William J. Schroeder, PhD<br>Kitware, Inc. - Building the World's Technical Computing Software<br>28 Corporate Drive<br>Clifton Park, NY 12065<br><a href="mailto:will.schroeder@kitware.com" target="_blank">will.schroeder@kitware.com</a><br><a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a><br><a href="tel:%28518%29%20881-4902" target="_blank">(518) 881-4902</a></span></p></div></div></div></div></blockquote></div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><br><br clear="all"></span></p><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"> </span></p></div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif">-- </span></p></div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif">William J. Schroeder, PhD<br>Kitware, Inc. - Building the World's Technical Computing Software<br>28 Corporate Drive<br>Clifton Park, NY 12065<br><a href="mailto:will.schroeder@kitware.com" target="_blank">will.schroeder@kitware.com</a><br><a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a><br><a href="tel:%28518%29%20881-4902" target="_blank">(518) 881-4902</a></span></p><p class="MsoNormal"> </p></div></div></div></div></blockquote></div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><br><br clear="all"><u></u><u></u></span></p><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif"><u></u> <u></u></span></p></div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif">-- <u></u><u></u></span></p></div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif">William J. Schroeder, PhD<br>Kitware, Inc. - Building the World's Technical Computing Software<br>28 Corporate Drive<br>Clifton Park, NY 12065<br><a href="mailto:will.schroeder@kitware.com" target="_blank">will.schroeder@kitware.com</a><br><a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a><br><a href="tel:%28518%29%20881-4902" value="+15188814902" target="_blank">(518) 881-4902</a><u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p></div></div><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtk-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtk-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtk-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtk-developers</a><br>
<br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br></div><div data-smartmail="gmail_signature">Ken Martin PhD<div>Chairman & CFO<br>Kitware Inc.<br>28 Corporate Drive<br>Clifton Park NY 12065<br><a href="tel:518%20371%203971" value="+15183713971" target="_blank">518 371 3971</a><div><br></div><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">This communication,
including all attachments, contains confidential and legally privileged
information, and it is intended only for the use of the addressee.  Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken in reliance on it is prohibited and may be
unlawful. If you received this communication in error please notify us
immediately and destroy the original message. 
Thank you.</span></div></div></div>
</div>
</blockquote></div><br></div>