<div dir="ltr">I finally did get around to this issue and have completely reworked the CompositePolyDataMapper2 for the OpenGL2 backend. Now there is only the fast path and your original dataset ***should*** render quickly with OpenGL2. These changes were merged into VTK last week and hopefully most of the kinks have been worked out. In terms of benchmarks I did some testing and with the recent changes I made these are the numbers I am seeing for six different test cases on an nvidia based laptop GPU.<div><br></div><div>Thanks!</div><div>Ken</div><div><br><div><br></div><div><table cellspacing="0" cellpadding="0" dir="ltr" border="1" style="table-layout:fixed;font-size:13px;font-family:arial,sans,sans-serif;border-collapse:collapse;border:1px solid rgb(204,204,204)"><colgroup><col width="181"><col width="100"><col width="100"><col width="100"><col width="100"><col width="100"><col width="100"><col width="100"><col width="100"></colgroup><tbody><tr style="height:21px"><td style="padding:2px 3px;vertical-align:bottom;font-weight:bold;text-align:center" rowspan="1" colspan="9">OpenGL1 versus 2 CompositePolyDataMapper2</td></tr><tr style="height:21px"><td style="padding:2px 3px;vertical-align:bottom"></td><td style="padding:2px 3px;vertical-align:bottom"></td><td style="padding:2px 3px;vertical-align:bottom"></td><td style="padding:2px 3px;vertical-align:bottom"></td><td style="padding:2px 3px;vertical-align:bottom"></td><td style="padding:2px 3px;vertical-align:bottom"></td><td style="padding:2px 3px;vertical-align:bottom"></td><td style="padding:2px 3px;vertical-align:bottom"></td><td style="padding:2px 3px;vertical-align:bottom"></td></tr><tr style="height:21px"><td style="padding:2px 3px;vertical-align:bottom"></td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(255,229,153);text-align:center" rowspan="1" colspan="3">OpenGL1</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(164,194,244);text-align:center" rowspan="1" colspan="3">New OpenGL2</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(182,215,168);text-align:center" rowspan="1" colspan="2">Improvement</td></tr><tr style="height:21px"><td style="padding:2px 3px;vertical-align:bottom;text-align:right">Test</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(255,229,153);text-align:right">First</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(255,229,153);text-align:right">Average</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(255,229,153);text-align:right">Frame Rate</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(164,194,244);text-align:right">First</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(164,194,244);text-align:right">Average</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(164,194,244);text-align:right">Frame Rate</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(182,215,168);text-align:right">First</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(182,215,168);text-align:right">Average</td></tr><tr style="height:21px"><td style="padding:2px 3px;vertical-align:bottom;text-align:right">MixedGeometryCellScalars</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(255,242,204);text-align:right">3.75</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(255,242,204);text-align:right">0.319</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(255,242,204);text-align:right">3.1</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(201,218,248);text-align:right">0.11</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(201,218,248);text-align:right">0.0131</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(201,218,248);text-align:right">76.3</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(217,234,211);text-align:right">3409%</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(217,234,211);text-align:right">2435%</td></tr><tr style="height:21px"><td style="padding:2px 3px;vertical-align:bottom;text-align:right">CellScalars</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(255,242,204);text-align:right">0.3</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(255,242,204);text-align:right">0.0433</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(255,242,204);text-align:right">23.1</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(201,218,248);text-align:right">0.094</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(201,218,248);text-align:right">0.002</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(201,218,248);text-align:right">500.0</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(217,234,211);text-align:right">319%</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(217,234,211);text-align:right">2165%</td></tr><tr style="height:21px"><td style="padding:2px 3px;vertical-align:bottom;text-align:right">Scalars</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(255,242,204);text-align:right">0.4</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(255,242,204);text-align:right">0.0394</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(255,242,204);text-align:right">25.4</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(201,218,248);text-align:right">0.083</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(201,218,248);text-align:right">0.001875</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(201,218,248);text-align:right">533.3</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(217,234,211);text-align:right">482%</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(217,234,211);text-align:right">2101%</td></tr><tr style="height:21px"><td style="padding:2px 3px;vertical-align:bottom;text-align:right">Default</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(255,242,204);text-align:right">0.293</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(255,242,204);text-align:right">0.039</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(255,242,204);text-align:right">25.6</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(201,218,248);text-align:right">0.11</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(201,218,248);text-align:right">0.00215</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(201,218,248);text-align:right">465.1</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(217,234,211);text-align:right">266%</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(217,234,211);text-align:right">1814%</td></tr><tr style="height:21px"><td style="padding:2px 3px;vertical-align:bottom;text-align:right">MixedGeometryEdges</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(255,242,204);text-align:right">6.586</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(255,242,204);text-align:right">0.5</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(255,242,204);text-align:right">2.0</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(201,218,248);text-align:right">0.11</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(201,218,248);text-align:right">0.01567</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(201,218,248);text-align:right">63.8</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(217,234,211);text-align:right">5987%</td><td style="padding:2px 3px;vertical-align:bottom;background-color:rgb(217,234,211);text-align:right">3191%</td></tr><tr style="height:21px"><td style="padding:2px 3px;vertical-align:bottom"></td><td style="padding:2px 3px;vertical-align:bottom"></td><td style="padding:2px 3px;vertical-align:bottom"></td><td style="padding:2px 3px;vertical-align:bottom"></td><td style="padding:2px 3px;vertical-align:bottom"></td><td style="padding:2px 3px;vertical-align:bottom"></td><td style="padding:2px 3px;vertical-align:bottom"></td><td style="padding:2px 3px;vertical-align:bottom"></td><td style="padding:2px 3px;vertical-align:bottom"></td></tr><tr style="height:21px"><td style="padding:2px 3px;vertical-align:bottom;text-align:right">Average</td><td style="padding:2px 3px;vertical-align:bottom"></td><td style="padding:2px 3px;vertical-align:bottom"></td><td style="padding:2px 3px;vertical-align:bottom"></td><td style="padding:2px 3px;vertical-align:bottom"></td><td style="padding:2px 3px;vertical-align:bottom"></td><td style="padding:2px 3px;vertical-align:bottom"></td><td style="padding:2px 3px;vertical-align:bottom;text-align:right">2093%</td><td style="padding:2px 3px;vertical-align:bottom;text-align:right">2341%</td></tr></tbody></table></div><div><br><div><br></div><div><br><div><br></div><div><br></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 5, 2016 at 12:51 PM, Ken Martin <span dir="ltr"><<a href="mailto:ken.martin@kitware.com" target="_blank">ken.martin@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Nice job Adam! <div><br></div><div>I've though about your issue some more and I think the best solution is to revamp the vtkCompositePolyDataMapper2 to work a little differently. Basically always have it group together blocks that have the same properties and then render each of them with a helper mapper. That would give us great performance in both cases. I have added it to the OpenGL2  ToDo list just, not sure how soon someone will get to it as the old code works, it just isn't optimal in all cases.</div><div><br></div><div>Thanks!</div><div>Ken</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 5, 2016 at 12:39 PM, Adam Lyon <span dir="ltr"><<a href="mailto:lyon@fnal.gov" target="_blank">lyon@fnal.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi - Just thought I'd let you all know that I've finally made progress on this problem. To recap, I have a MultiBlockDataSet (MBDS) containing PolyData objects. The PolyData objects don't all have the same attributes (some have Normals, some don't; some have particular FieldData, others don't). This "heterogeneous" MBDS reflects the visualization data I get from the Geant4 simulation program - some things have particular attributes and others don't. <div><br></div><div>As you (Ken & Utkarsh) pointed out, such a heterogenous MBDS triggers a generic renderer in ParaView v5/OpenGL2 unless every block within the MBDS has the same structure. The generic renderer is extremely slow, and it makes interacting with the visualization in ParaView painful (e.g. a few frames per second or less). </div><div><br></div><div>I now have a filter (I should fix my ParaView Source that creates the MBDS - but that'll be for later) that runs through the MBDS and makes it homogeneous - that is it removes Normals and TCoords (only a very few PolyData have them) and adds missing FieldData with defaults. This triggers the fast renderer - and boy it's *a lot* faster. 30x - 200x faster frame rates compared to the generic renderer.  The fast renderer is at least many times faster than the OpenGL1 renderer in ParaView v4.4. </div><div><br></div><div>I'm quite happy with this solution and am glad I can finally use the new features in ParaView v5/OpenGL2. Woohoo! </div><div><br></div><div>I'm wondering if other people are going to hit this generic renderer slowness.. I added some code to my build of ParaView v5 in vtkCompositePolyDataMapper2.<wbr>cxx that std::cout's a message when the generic renderer is triggered and why (e.g. heterogeneous Normals, TCoords, Scalars, etc). I found that to be very helpful. Perhaps the render annotation could show such a message (e.g. in vtkPVRenderView). </div><div><br></div><div>Thanks again for your help!!  And Happy New Year!! -- Adam</div><div><br></div><div class="gmail_extra"><div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><div style="font-size:12.8000001907349px"><i><font color="#999999">------</font></i></div></div><div><i><font color="#999999"><br></font></i></div><div><b><font color="#3d85c6">Adam L. Lyon</font></b></div><div><i><font color="#999999">Scientist; Associate Division Head for Systems for Scientific Applications</font></i></div><div><span style="font-family:Arial;font-size:9pt"><font color="#999999"><i><br></i></font></span></div><div><font color="#3d85c6">Scientific Computing Division & Muon g-2 Experiment</font></div><div><font color="#999999">Fermi National Accelerator Laboratory</font></div><div><font color="#999999"><a href="tel:630%20840%205522" value="+16308405522" target="_blank">630 840 5522</a> office</font></div><div><font color="#999999"><a href="http://www.fnal.gov" target="_blank">www.fnal.gov</a></font></div><div><font color="#999999"><a href="mailto:lyon@fnal.gov" target="_blank">lyon@fnal.gov</a></font></div><div><font color="#999999"><br></font></div><div><font color="#999999">Connect with us!</font><br><font color="#9fc5e8"><span style="font-size:12.8000001907349px"><a href="http://www.fnal.gov/pub/today/" target="_blank">Newsletter</a></span><span style="font-size:12.8000001907349px">  |  <a href="https://www.facebook.com/Fermilab" target="_blank"><span>Facebook</span></a>  |  <a href="https://twitter.com/Fermilab" target="_blank"><span>Twitter</span></a></span></font></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Wed, Dec 16, 2015 at 1:46 PM, Ken Martin <span dir="ltr"><<a href="mailto:ken.martin@kitware.com" target="_blank">ken.martin@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">This code is all new hence the change. On the plus side if you moved from 4000 blocks of 10 triangles each to 4000 blocks of 10000 triangles each the rendering performance would probably not slow down. The overhead is all in starting and stopping each of those 4000 mappers.<div><br></div><div>The old backend wrote everything out into a displaylist and the OpenGL driver handled optimizing it and dealing with any inconsistencies. The new backend has to build vertex buffer objects and we currently only collapse all the blocks together into one VBO if the VBO structure is the same for every block.</div><div><br></div><div>Thanks</div><span><font color="#888888"><div>Ken</div><div><br></div></font></span></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 16, 2015 at 2:22 PM, Adam Lyon <span dir="ltr"><<a href="mailto:lyon@fnal.gov" target="_blank">lyon@fnal.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Ken - thanks for your reply. It's looking like the last approach - I figure out why I'm getting different blocks - is the way to go. It's already clear that not all of the blocks have colors. Some of the blocks are created by vtk sources (e.g. VtkConeSource) and others are created by hand (me setting points and cells). The latter won't have normals. Maybe some of the former do.  I'll look into this.<div><br></div><div>I'm curious as to why I didn't have any of these problems in v4.4 -- or is this two path multiblock rendering code all new for v5?  Thanks again!! -- Adam</div></div><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><div style="font-size:12.8000001907349px"><i><font color="#999999">------</font></i></div></div><div><i><font color="#999999"><br></font></i></div><div><b><font color="#3d85c6">Adam L. Lyon</font></b></div><div><i><font color="#999999">Scientist; Associate Division Head for Systems for Scientific Applications</font></i></div><div><span style="font-family:Arial;font-size:9pt"><font color="#999999"><i><br></i></font></span></div><div><font color="#3d85c6">Scientific Computing Division & Muon g-2 Experiment</font></div><div><font color="#999999">Fermi National Accelerator Laboratory</font></div><div><font color="#999999"><a href="tel:630%20840%205522" value="+16308405522" target="_blank">630 840 5522</a> office</font></div><div><font color="#999999"><a href="http://www.fnal.gov" target="_blank">www.fnal.gov</a></font></div><div><font color="#999999"><a href="mailto:lyon@fnal.gov" target="_blank">lyon@fnal.gov</a></font></div><div><font color="#999999"><br></font></div><div><font color="#999999">Connect with us!</font><br><font color="#9fc5e8"><span style="font-size:12.8000001907349px"><a href="http://www.fnal.gov/pub/today/" target="_blank">Newsletter</a></span><span style="font-size:12.8000001907349px">  |  <a href="https://www.facebook.com/Fermilab" target="_blank"><span>Facebook</span></a>  |  <a href="https://twitter.com/Fermilab" target="_blank"><span>Twitter</span></a></span></font></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Wed, Dec 16, 2015 at 11:47 AM, Ken Martin <span dir="ltr"><<a href="mailto:ken.martin@kitware.com" target="_blank">ken.martin@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I don't really have a solution planned for that case. The data size is trivially small but it falls into the slow path because each block of data may or may not have normals or colors or tcoords. The nature of the blocks is heterogeneous. So you end up with 4000 mappers each rendering 10 triangles. Currently there are two paths for rendering multiblock data.<div><div><br></div><div>1) every block has the same properties (normals, tcoords, triangles)  In that case we use a fast path, the actual values of course may be different, but if one block has texture coordinates then all of them will.</div><div><br></div><div>2) blocks can be different, meaning that one block may be triangles with normals while the next could be lines with texture coordinates. In that case we fall back on just giving each block its own mapper. That is the slow path.</div><div><br></div><div>What would benefit your case is a third path (or a better slow path) where the blocks can be different, but we combine the ones that are the same so that hopefully we end up with maybe 4 or 5 mappers each with 1000 or so triangles. Implementing that is not trivial though so I don't think anyone has plans for it yet. </div><div><br></div><div>Another approach would be to look at what is generating your data and try to determine why some blocks have normals while others do not. because if you can get the blocks to be homogeneous then you will get the fast path.</div><div><br></div><div>Thanks</div><span><font color="#888888"><div>Ken</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></font></span></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 16, 2015 at 11:39 AM, Adam Lyon <span dir="ltr"><<a href="mailto:lyon@fnal.gov" target="_blank">lyon@fnal.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Ken and Utkarsh, Checking back in with this issue... I still find that interaction with the g-2 ring in ParaView v5rc2 is very slow compared to v4.4. It looks like you all have a solution in mind. I'm happy to build from master to try it if the solution is there. Thanks again and Happy Holidays!!!  I really appreciate you all looking at this problem. -- Adam</div><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><div style="font-size:12.8000001907349px"><i><font color="#999999">------</font></i></div></div><div><i><font color="#999999"><br></font></i></div><div><b><font color="#3d85c6">Adam L. Lyon</font></b></div><div><i><font color="#999999">Scientist; Associate Division Head for Systems for Scientific Applications</font></i></div><div><span style="font-family:Arial;font-size:9pt"><font color="#999999"><i><br></i></font></span></div><div><font color="#3d85c6">Scientific Computing Division & Muon g-2 Experiment</font></div><div><font color="#999999">Fermi National Accelerator Laboratory</font></div><div><font color="#999999"><a href="tel:630%20840%205522" value="+16308405522" target="_blank">630 840 5522</a> office</font></div><div><font color="#999999"><a href="http://www.fnal.gov" target="_blank">www.fnal.gov</a></font></div><div><font color="#999999"><a href="mailto:lyon@fnal.gov" target="_blank">lyon@fnal.gov</a></font></div><div><font color="#999999"><br></font></div><div><font color="#999999">Connect with us!</font><br><font color="#9fc5e8"><span style="font-size:12.8000001907349px"><a href="http://www.fnal.gov/pub/today/" target="_blank">Newsletter</a></span><span style="font-size:12.8000001907349px">  |  <a href="https://www.facebook.com/Fermilab" target="_blank"><span>Facebook</span></a>  |  <a href="https://twitter.com/Fermilab" target="_blank"><span>Twitter</span></a></span></font></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Fri, Nov 20, 2015 at 1:48 PM, Ken Martin <span dir="ltr"><<a href="mailto:ken.martin@kitware.com" target="_blank">ken.martin@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div>
<div dir="ltr">You could maybe have an actor per LOD and then swap actors in and out.
<div><br>
</div>
<div>Actor owns the property, backface property, and texture. Changes to those objects can cause VBO/IBO rebuilds (switching from surface to wireframe, adding a texture map, flat versus phong shading, edge visibility, line width, etc.) The old backend only
 looked at the actor's property which is sort of broken. </div>
<div><br>
</div>
<div>For example in the old backend: create two properties, one set to wireframe, one set to surface. Then create an actor and mapper set to use display lists. Switching between the two properties will cause an actor mtime change, but the properties themselves
 would still have low mtimes I believe. In that case the old backend will end up stuck in one representation because it only looks at the property mtime not actor.</div>
<div><br>
</div>
<div>
<div>To make the VBO/IBO rebuild safely (but less often than currently) I think the solution is to check the mtimes as is done currently, if those are modified then collect up the parameters that require a VBO or IBO rebuild and compare them to a stored value
 from the last build. If different force a rebuild. That is the best solution IMO just takes some time. I sort of wanted to do that anyhow but now I can say you forced me into it :-)</div>
<div><br>
</div>
<div>Thanks</div><span><font color="#888888">
<div>Ken</div>
<div><br>
</div>
</font></span></div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><div><div><br>
<div class="gmail_quote">On Fri, Nov 20, 2015 at 1:57 PM, Utkarsh Ayachit <span dir="ltr">
<<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
> I did notice PV is forcing the actor to be modified every time the LOD<br>
> changes (which is a lot). Modifying the actor causes the VBO/IBOs to rebuild<br>
> so it would be better not to do that unless you really need to and in this<br>
> case I'm not sure why it is being done. Specifically I think it is in<br>
> vtkPVLODActor::Modified where it calls this->Device->Modified() . The LOD<br>
> actor is being modified as a result of calling SetEnableLOD constantly<br>
> flipping between true and false. That is not the cause of this issue but it<br>
> is something I noticed that will be a pain for large datasets.<br>
<br>
Ken, currently, there's no way around it. vtkPVLODActor works by<br>
changing the mapper on the internal vtkActor aka Device when LOD mode<br>
is toggled. That will indeed change the Device's MTime even if we stop<br>
calling this->Device->Modiied() in the vtkPVLODActor::Modified(). The<br>
question is why are VBO/IBOs rebuild if actor MTime changes? VBOs<br>
would be data dependent right? Most of data-dependent properties are<br>
on  the Mapper, not the actor. Shouldn't the code that re-creates<br>
VBO/IBOs only depend on Mapper's MTime?<br>
<span><font color="#888888"><br>
Utkarsh<br>
</font></span></blockquote>
</div>
<br>
<br clear="all"><span><font color="#888888">
<div><br>
</div></font></span></div></div><span><font color="#888888"><span>
-- <br>
<div>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>
</span></font></span></div>
</div>

</blockquote></div><br></div>
</blockquote></div><br><br clear="all"><span><font color="#888888"><div><br></div>-- <br><div>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>
</font></span></div>
</div></div></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><span class="HOEnZb"><font color="#888888"><span><font color="#888888"><div><br></div>-- <br><div>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>
</font></span></font></span></div><span class="HOEnZb"><font color="#888888">
</font></span></div></div></blockquote></div><span class="HOEnZb"><font color="#888888"><br></font></span></div></div><span class="HOEnZb"><font color="#888888">
</font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div>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>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Ken Martin PhD<div>Chairman & CFO<br>Kitware Inc.<br>28 Corporate Drive<br>Clifton Park NY 12065<br>518 371 3971<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>