<div dir="ltr">Hi Mike, <div><br></div><div>On Mon, Jun 1, 2015 at 5:48 PM, Mike Guttman <span dir="ltr"><<a href="mailto:mguttman@jhu.edu" target="_blank">mguttman@jhu.edu</a>></span> wrote:<br></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word"><div>Disappointing to hear that the current plan is to discontinue vtkOpenGLVolumeTextureMapper3D.  It was always a reliable tool and produced good looking renderings with little tweaking.</div></div></blockquote><div><br></div><div>Sorry to hear this. You can get same or better quality with GPUVolumeMapper. Most of the modern renderers use Ray Casting algorithm and for most part it is the most recent algorithm that gives most features, image quality, and performance. Have you tried using it? I would love to hear more on what you find out. </div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word"><div>  Perhaps this can be ported to work with the OpenGL2 backend?</div></div></blockquote><div><br></div><div>There has to be a strong reason why we need to support it. We have FixedPoint (CPU) and RayCast (GPU). GPU Mapper now supports more features than CPU or any other mapper, flexibility (via custom shaders), and performance. In our testing, the new mapper out performs old mapper (w/o shading) and with my new branch it will out perform old mapper w/ shading. If you can identify reasons for vtkOpenGLVolumeTextureMapper3D, then we can see what we can on on our end. </div><div><br></div><div>- aashish</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div class="h5"><br><div><blockquote type="cite"><div>On Jun 1, 2015, at 4:26 PM, Aashish Chaudhary <<a href="mailto:aashish.chaudhary@kitware.com" target="_blank">aashish.chaudhary@kitware.com</a>> wrote:</div><br><div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Jun 1, 2015 at 10:47 AM, Mike Guttman <span dir="ltr"><<a href="mailto:mguttman@yahoo.com" target="_blank">mguttman@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div style="font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:16px;background-color:rgb(255,255,255)"><div dir="ltr"><span>Guess I wasn't tracking the permutations carefully.  When backend is set to OpenGL2, there's an error when I turn on Module_vtkRenderingVolumeOpenGL.  It seems okay with Module_vtkRenderingExternal.</span></div></div></div></blockquote><div><br></div><div>yes, you cannot use  <span style="font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:16px">Module_</span><span style="font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:16px">vtkRenderingVolumeOpenGL with OpenGL2 as it was written for previous implementation. </span></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div style="font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:16px;background-color:rgb(255,255,255)"><div dir="ltr"><span><br></span></div><div dir="ltr"><span> I use vtkOpenGLVolumeTextureMapper3D in my application.  Perhaps this is not available with OpenGL2 backend?  </span></div></div></div></blockquote><div><br></div><div>Yes, it is not. Since most of the platforms now support all of the features needed for Ray Casting (for OpenGL 2 version), we don't need this mapper anymore. </div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div style="font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:16px;background-color:rgb(255,255,255)"><div dir="ltr"><span>I believe this is not included with Module_vtkRenderingVolumeOpenGLNew.<br></span></div></div></div></blockquote><div><br></div><div>Right. In current master, we remvoed that module as it was there to serve until we had a reasonable OpenGL2 mapper which we do now. </div><div><br></div><div>Thanks,</div><div> </div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div style="font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:16px;background-color:rgb(255,255,255)"><div dir="ltr"><span></span></div><div dir="ltr"><br><span></span></div><div dir="ltr"><span>After your comment, I tried it again after pulling from the repo just now.</span></div><div dir="ltr"><br><span></span></div><div dir="ltr"><span>Thanks,</span></div><div dir="ltr"><span>Mike<br></span></div><div><div><br><div><span> </span></div><br><div><br><br></div><div style="display:block"> <div style="font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:16px"> <div style="font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-size:16px"> <div dir="ltr"> <font face="Arial" size="2"> On Monday, June 1, 2015 10:05 AM, Aashish Chaudhary <<a href="mailto:aashish.chaudhary@kitware.com" target="_blank">aashish.chaudhary@kitware.com</a>> wrote:<br> </font> </div>  <br><br> <div><div><div><div dir="ltr"><div><div>On Sat, May 30, 2015 at 4:59 PM, Mike Guttman <span dir="ltr"><<a rel="nofollow" shape="rect" href="mailto:mguttman@yahoo.com" target="_blank">mguttman@yahoo.com</a>></span> wrote:<br clear="none"><blockquote style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word"><div>Hello <span style="font-family:-webkit-system-font,'Helvetica Neue',Helvetica,sans-serif">Aashish,</span></div><div><span style="font-family:-webkit-system-font,'Helvetica Neue',Helvetica,sans-serif"><br clear="none"></span></div><div><font face="-webkit-system-font, Helvetica Neue, Helvetica, sans-serif">It seems you cannot enable ExternalVTKWidget with OpenGL2.  Any idea when this combination will be supported?</font></div></div></blockquote><div><br clear="none"></div><div>What SHA of git you are using?  </div><blockquote style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word"><div><br clear="none"></div><div>Thanks,</div><div>Mike</div><div><br clear="none"></div><div><blockquote type="cite"><div style="margin:0px"><span style="font-family:-webkit-system-font,'Helvetica Neue',Helvetica,sans-serif;color:rgb(127,127,127)"><b>From: </b></span><span style="font-family:-webkit-system-font,'Helvetica Neue',Helvetica,sans-serif">Aashish Chaudhary <<a rel="nofollow" shape="rect" href="mailto:aashish.chaudhary@kitware.com" style="color:purple" target="_blank">aashish.chaudhary@kitware.com</a>><br clear="none"></span></div><div style="margin:0px"><span style="font-family:-webkit-system-font,'Helvetica Neue',Helvetica,sans-serif;color:rgb(127,127,127)"><b>To: </b></span><span style="font-family:-webkit-system-font,'Helvetica Neue',Helvetica,sans-serif">vtkusers <<a rel="nofollow" shape="rect" href="mailto:vtkusers@vtk.org" style="color:purple" target="_blank">vtkusers@vtk.org</a>>, VTK Developers <<a rel="nofollow" shape="rect" href="mailto:vtk-developers@vtk.org" style="color:purple" target="_blank">vtk-developers@vtk.org</a>><br clear="none"></span></div><div style="margin:0px"><span style="font-family:-webkit-system-font,'Helvetica Neue',Helvetica,sans-serif;color:rgb(127,127,127)"><b>Date: </b></span><span style="font-family:-webkit-system-font,'Helvetica Neue',Helvetica,sans-serif">May 29, 2015 at 5:31:34 PM EDT<br clear="none"></span></div><div style="margin:0px"><span style="font-family:-webkit-system-font,'Helvetica Neue',Helvetica,sans-serif;color:rgb(127,127,127)"><b>Subject: </b></span><span style="font-family:-webkit-system-font,'Helvetica Neue',Helvetica,sans-serif"><b>[vtkusers] Volume Rendering Update</b><br clear="none"></span></div><br clear="none"><br clear="none"><div dir="ltr">Folks, <div><br clear="none">We made some recent improvements to VTK volume rendering including fixes to related components. Here is a list of those changes: </div><div><br clear="none"></div><div>1) Now new GPU Volume Mapper respect Interpolation Type (Linear or Nearest). Default is Nearest as in the last GPU mapper. </div><div><br clear="none"></div><div>2) Shading is now twice as fast as before. There will be another branch to make it even faster. </div><div><br clear="none"></div><div>3) Fixed lighting bug (number of lights kept on increasing with change in volume property)</div><div><br clear="none"></div><div>4) Saving and Restoring GL state properly for textures</div><div><br clear="none"></div><div>5) Bias and Scale are now performed in Shader. </div><div><br clear="none"></div><div>6) We changed some GL texture format information to support OpenGL 3 context </div><div><br clear="none"></div><div>7) Fixed extensions were not reported correctly on GL2 context</div><div><br clear="none"></div><div>8) Fixed few failing tests specifically on Mesa</div><div><br clear="none"></div><div>9) Removed VolumeOpenGLNew module as it was not as usable with OpenGL2 getting ready for primetime</div><div><br clear="none"></div><div>10)  Added convenience API to SmartVolume Mapper</div><div><br clear="none"></div><div>11) Cleaned up logic for dealing with context changes in Volume Mapper</div><div><br clear="none"></div><div><br clear="none"></div><div>Please let us know if you have any questions. </div><div><br clear="none"></div><div>Thanks,</div><div><br clear="all"><span><font color="#888888"></font></span><div><br clear="none"></div>-- <br clear="none"><div><div dir="ltr"><font face="trebuchet ms, sans-serif"><i>| Aashish Chaudhary <br clear="none">| Technical Leader         <br clear="none">| Kitware Inc.            <br clear="none"></i></font><div><i><font face="trebuchet ms, sans-serif">| </font><a rel="nofollow" shape="rect" href="http://www.kitware.com/company/team/chaudhary.html" style="color:purple" target="_blank">http://www.kitware.com/company/team/chaudhary.html</a></i></div></div></div></div></div><span><font color="#888888"><div><br clear="none"></div></font></span></blockquote></div></div></blockquote></div><div><br clear="none"><br clear="all"><div><br clear="none"></div>-- <br clear="none"><div><div dir="ltr"><font face="trebuchet ms, sans-serif"><i>| Aashish Chaudhary <br clear="none">| Technical Leader         <br clear="none">| Kitware Inc.            <br clear="none"></i></font><div><i><font face="trebuchet ms, sans-serif">| </font><a rel="nofollow" shape="rect" 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></div><br><br></div>  </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></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></div>