<div dir="ltr">Hi Simon,<div><br></div><div>This is helpful but just missing few more bits:</div><div><br></div><div>1) Did you try without the shading and see how the performance compares?</div><div><br></div><div>2) <span style="font-size:16px">ParaView 4.4.0-193-gec96423 --> Where did you get this one from (ParaView download page or did you built yourself?)</span></div><div><span style="font-size:16px"><br></span></div><div><span style="font-size:16px">Also, so on your system the old mapper is running 30FPS and the new one at 15-20 FPS as per your summary. </span></div><div><span style="font-size:16px"><br></span></div><div><span style="font-size:16px">Thanks,</span></div><div><span style="font-size:16px">- Aashish</span></div><div><span style="font-size:16px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 27, 2015 at 9:43 AM, Simon ESNEAULT <span dir="ltr"><<a href="mailto:simon.esneault@gmail.com" target="_blank">simon.esneault@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 dir="ltr">Hello Aashish,<br><div><br>Sorry for the late answer, I was busy this morning.</div><div>Thanks for testing with the DataSet.<br>I agree the performance is still quite good with the new backend, and I also get something like 15/20 fps on windows on an HD screen. But when compared to the old one, and in some condition (when zoomed especially), it looks really slower to me<br>The two tested version are :<br>- ParaView 4.4.0 64 bits final version for the old backend<br>- ParaView 4.4.0-193-gec96423 64 bits, for the OpenGL2 backend.</div><div>on a windows 7 box, Xeon E3-1220 v3 CPU, 16GB ram and Nvidia Quadro K420<br><br>To highlight the difference, here is what I do :</div><div>- Launch both version on the same computer at the same time</div><div>- Load the above dataset on each</div><div>- Select volume rendering</div><div>- Adjust the transfer function data range to [100-750] (the default "Cool to Warm" is fine)</div><div>- Set the view direction to +Y</div><div>- Adjust the Y of the camera position to -300</div><div><br>And start interacting ...<br>Dunno if there is an easy way to print out the Frame Rate in Paraview, but the new version seems really twice slower in these conditions... We can see it does not scale in the same way, the old backend seems more aggressive on the image sample reduction, hence the interactivity is better.<br>Shading enable or not does not change much<br><br>I'm aware of the DesiredUpdateRate thing, we use to play with this with the old backend to fine tune the interactivity, although what's really inside was never clear to me<br><br>I hope that there is enough information for you to reproduce this, do not hesitate to ask for some more information.<br><br>Thanks a lot for your help<span class="HOEnZb"><font color="#888888"><br>Simon</font></span></div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2015-10-27 14:10 GMT+01:00 Aashish Chaudhary <span dir="ltr"><<a href="mailto:aashish.chaudhary@kitware.com" target="_blank">aashish.chaudhary@kitware.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear Simon, <div><br></div><div>Checking again. Wondering if you can provide some more detail on the binary you are using and whether or not without shading the rendering performance comparable to older version. </div><div><br></div><div>Thanks,</div><div><br></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 26, 2015 at 3:12 PM, Aashish Chaudhary <span dir="ltr"><<a href="mailto:aashish.chaudhary@kitware.com" target="_blank">aashish.chaudhary@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"><span><span style="font-size:16px">Simon, </span><div style="font-size:16px"><br></div><div style="font-size:16px">I used your dataset on paraview master as of today on my Linux box running Ubuntu 14.04 and NVIDA Quadro card and I am getting about 15-20 FPS with shading on with 1920x1080 resolution. </div></span><span style="font-size:16px"><span><div><br></div><div>Are you on the proper 4.4 or using RC1/RC2? I checked the shading performance fix was in 4.4 but not in RC's. I don't have access to Windows box right away but I will try there too. </div><div><br></div></span><div>NOTE: You might get multiple emails because of the attachment size issue. Sorry about that. </div><div><br></div></span><div style="font-size:16px">Thanks,</div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 26, 2015 at 2:45 PM, Aashish Chaudhary <span dir="ltr"><<a href="mailto:aashish.chaudhary@kitware.com" target="_blank">aashish.chaudhary@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"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Mon, Oct 26, 2015 at 2:13 PM, Simon ESNEAULT <span dir="ltr"><<a href="mailto:simon.esneault@gmail.com" target="_blank">simon.esneault@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 dir="ltr">Hello Aashish,<br><br>Thanks for the quick answer<br>We are using a vtkImageData, 512x512x591 with short element (you can find the dataset here : <a href="https://www.dropbox.com/s/ptqwi0ebv75kt35/volume.zip" target="_blank">https://www.dropbox.com/s/ptqwi0ebv75kt35/volume.zip</a>). So I think it's all about GPU volume raycast mapper.<br>The new mapper does bring low resolution, but when compared to the old one, it seems less "low resolution" during interaction than the old one<br></div></blockquote><div><br></div></span><div>Right, so that's why its not a exact comparison. What happens is that depending on what is interactive, (you can set the desired update rate in VTK, not exposed in ParaView I believe), it will do interactive but with higher resolution (smaller sample distance). If they both have the same sample distance, then the new mapper should out perform the old one, however, there is another thing we need to consider here which is shading. </div><span><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Shading is enabled, gradient opacity disabled<br></div></blockquote><div><br></div></span><div>Can you disable the shading and see if now they both (opengl1 and 2) equally better? We already pushed a fix for it but not sure if that you have in your build. </div><span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br>Don't know if you need a minimal example, but I believe the GPURenderDemo used with this dataset is enough to highlight the slow down.<br></div></blockquote><div><br></div></span><div>Yes, I will use this dataset. Thanks. </div><div><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br>Thanks<span><font color="#888888"><br>Simon<br><br></font></span></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">2015-10-26 18:57 GMT+01:00 Aashish Chaudhary <span dir="ltr"><<a href="mailto:aashish.chaudhary@kitware.com" target="_blank">aashish.chaudhary@kitware.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Also, <div><br></div><div>Do you have shading enabled? We fixed a bug with shading that was causing the slow performance a while back. I don't remember if that was included in 4.4 or not ( I can check ). </div><span><font color="#888888"><div><br></div><div>- Aashish</div></font></span></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 26, 2015 at 1:53 PM, Aashish Chaudhary <span dir="ltr"><<a href="mailto:aashish.chaudhary@kitware.com" target="_blank">aashish.chaudhary@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">Simon, <div><br></div><div>What kind of dataset you are using? Depending on the data type you might be using</div><div>the GPU one or the unstructured renderer. The performance we measured is related to the GPU ray cast mapper</div><div>and will apply only to the vtkImageData inputs. </div><div><br></div><div>Also, helpful would be is if you can tell if the new mapper is bringing low resolution when you interact with the volume (and whether or not it happens with old mapper). </div><div><br></div><div>Thanks,</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Mon, Oct 26, 2015 at 1:47 PM, Simon ESNEAULT <span dir="ltr"><<a href="mailto:simon.esneault@gmail.com" target="_blank">simon.esneault@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hi All,<br><br>We are trying to make the switch to the new OpenGL2 backend for our application, and although the switch was easy (thanks for not breaking the API ;) ), we can see a significant slowdown on the GPU volume rendering part, especially during interaction. Typically we dropped from 15/20 fps to 7/8 fps, on the same machine (Win32, Nvidia Quadro K420), with the same code around.<div><br>This slow down can be seen in ParaView, if you compare the latest 4.4 OpenGL2 build with the classic 4.4 build while volume rendering a big enough volume (512^3)<br></div><div><br>The blog post here<br><a href="http://www.kitware.com/blog/home/post/976" target="_blank">http://www.kitware.com/blog/home/post/976</a><br>claims that the new GPU volume rendering implementation should be faster than the old one, is there some more detailed explanation somewhere ? Are there some important parameters that can make the difference ?<br><br>Thanks, <br><br>Simon</div><div><br></div><div>PS : The polygonal rendering seems a lot faster with the new backend !<span><font color="#888888"><br><div><br></div>-- <br><div><div dir="ltr"><div>------------------------------------------------------------------<br>Simon Esneault<div>Rennes, France<br>------------------------------------------------------------------</div></div></div></div>
</font></span></div></div>
<br></div></div>_______________________________________________<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><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><font face="trebuchet ms, sans-serif"><i>| Aashish Chaudhary <br>| Technical Leader <br>| Kitware Inc. <br></i></font><div><i><font face="trebuchet ms, sans-serif">| </font><a href="http://www.kitware.com/company/team/chaudhary.html" target="_blank">http://www.kitware.com/company/team/chaudhary.html</a></i></div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><font face="trebuchet ms, sans-serif"><i>| Aashish Chaudhary <br>| Technical Leader <br>| Kitware Inc. <br></i></font><div><i><font face="trebuchet ms, sans-serif">| </font><a href="http://www.kitware.com/company/team/chaudhary.html" target="_blank">http://www.kitware.com/company/team/chaudhary.html</a></i></div></div></div>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div>------------------------------------------------------------------<br>Simon Esneault<div>Rennes, France<br>------------------------------------------------------------------</div></div></div></div>
</div>
</div></div></blockquote></div></div></div><div><div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><font face="trebuchet ms, sans-serif"><i>| Aashish Chaudhary <br>| Technical Leader <br>| Kitware Inc. <br></i></font><div><i><font face="trebuchet ms, sans-serif">| </font><a href="http://www.kitware.com/company/team/chaudhary.html" target="_blank">http://www.kitware.com/company/team/chaudhary.html</a></i></div></div></div>
</div></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><font face="trebuchet ms, sans-serif"><i>| Aashish Chaudhary <br>| Technical Leader <br>| Kitware Inc. <br></i></font><div><i><font face="trebuchet ms, sans-serif">| </font><a href="http://www.kitware.com/company/team/chaudhary.html" target="_blank">http://www.kitware.com/company/team/chaudhary.html</a></i></div></div></div>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><font face="trebuchet ms, sans-serif"><i>| Aashish Chaudhary <br>| Technical Leader <br>| Kitware Inc. <br></i></font><div><i><font face="trebuchet ms, sans-serif">| </font><a href="http://www.kitware.com/company/team/chaudhary.html" target="_blank">http://www.kitware.com/company/team/chaudhary.html</a></i></div></div></div>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div>------------------------------------------------------------------<br>Simon Esneault<div>Rennes, France<br>------------------------------------------------------------------</div></div></div></div>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><font face="trebuchet ms, sans-serif"><i>| Aashish Chaudhary <br>| Technical Leader <br>| Kitware Inc. <br></i></font><div><i><font face="trebuchet ms, sans-serif">| </font><a href="http://www.kitware.com/company/team/chaudhary.html" target="_blank">http://www.kitware.com/company/team/chaudhary.html</a></i></div></div></div>
</div>