<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-US;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:"Calibri","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-family:"Courier New"">Please ignore previous request. Problem mostly solved. Sorry for the noise.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">JB<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">Fixed the compilation problem flag for a plugin by creating a dummy module file modelled after the piston one<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:"Courier New";mso-fareast-language:EN-GB">vtk_module(vtkBBPModule<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:"Courier New";mso-fareast-language:EN-GB"> DEPENDS<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:"Courier New";mso-fareast-language:EN-GB"> vtkCommonCore<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:"Courier New";mso-fareast-language:EN-GB"> vtkCommonDataModel<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:"Courier New";mso-fareast-language:EN-GB"> vtkCommonExecutionModel<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:"Courier New";mso-fareast-language:EN-GB"> vtkRenderingCore<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:"Courier New";mso-fareast-language:EN-GB"> vtkRenderingOpenGL<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:"Courier New";mso-fareast-language:EN-GB"> vtkIOImage
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:"Courier New";mso-fareast-language:EN-GB"> vtkImagingHybrid
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:"Courier New";mso-fareast-language:EN-GB"> vtkAcceleratorsPiston<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:"Courier New";mso-fareast-language:EN-GB"> EXCLUDE_FROM_ALL<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:"Courier New";mso-fareast-language:EN-GB"> )<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:"Courier New";mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">Then using the following to remove the #defines and shorten the include directory list<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;mso-fareast-language:EN-GB"># set this, otherwise C_SOURCES is empty in VS<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;mso-fareast-language:EN-GB">set(CUDA_ATTACH_VS_BUILD_RULE_TO_CUDA_FILE OFF)
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;mso-fareast-language:EN-GB"># generate the list of dependencies based on our module definition file<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;mso-fareast-language:EN-GB">vtk_module_impl()<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;mso-fareast-language:EN-GB"># remove a bunch of cruft that VTK adds in here about modules autoinit<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;mso-fareast-language:EN-GB">set_directory_properties(PROPERTIES COMPILE_DEFINITIONS "")<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;mso-fareast-language:EN-GB"># shorten the include dirs so nvcc doesn't crumble under the entire VTK/ParaView/Qt path<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;mso-fareast-language:EN-GB"># first get the old setting and store it<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;mso-fareast-language:EN-GB">get_directory_property(TEMPBBP_INCLUDE_DIRECTORIES INCLUDE_DIRECTORIES)<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;mso-fareast-language:EN-GB"># now set our shorter include dirs list<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;mso-fareast-language:EN-GB">set_directory_properties(PROPERTIES INCLUDE_DIRECTORIES "${${vtk-module}_DEPENDS_INCLUDE_DIRS};${PISTON_INCLUDE}")<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;mso-fareast-language:EN-GB"># call the cuda wrapper<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;mso-fareast-language:EN-GB">cuda_compile(BBP_CUDA_C_SRCS ${BBP_CUDA_SRCS} ${GPGPU_BUILD_TYPE})<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;mso-fareast-language:EN-GB"># put the include dirs back to what they were<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;mso-fareast-language:EN-GB">set_directory_properties(PROPERTIES INCLUDE_DIRECTORIES "${TEMPBBP_INCLUDE_DIRECTORIES}")<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:"Courier New";mso-fareast-language:EN-GB">NB. Will probably have to put code in piston anyway, since exporting symbols from shared libs gives, link problems<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-left:36.0pt"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:EN-GB">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:EN-GB">
paraview-developers-bounces@paraview.org [mailto:paraview-developers-bounces@paraview.org]
<b>On Behalf Of </b>Biddiscombe, John A.<br>
<b>Sent:</b> 18 January 2013 10:58<br>
<b>To:</b> David E DeMarle<br>
<b>Cc:</b> paraview-developers@paraview.org; Li-Ta Lo; Sewell, Christopher Meyer; Kenneth Moreland<br>
<b>Subject:</b> Re: [Paraview-developers] piston in 3.98<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:36.0pt"><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">When I compile paraview, I see that (for example) the vtkPistonSort.cu file gets the nvcc build rule setup with
<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt"><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt"><span style="font-family:"Courier New"">set(nvcc_flags -m64;-D_CRT_SECURE_NO_DEPRECATE;-D_CRT_NONSTDC_NO_DEPRECATE;-D_CRT_SECURE_NO_WARNINGS;-D_SCL_SECURE_NO_DEPRECATE;-D_SCL_SECURE_NO_WARNINGS;-DVTK_IN_VTK;-DMPICH_IGNORE_CXX_SEEK;-DMPICH_IGNORE_CXX_SEEK;-Dcuda_compile_EXPORTS)
# list<o:p></o:p></span></p>
<p class="MsoPlainText" style="margin-left:36.0pt"><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">but when my plugin declares vtkBBPPistonSort.cu it gets the rules generated with<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt"><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt"><span style="font-family:"Courier New"">set(nvcc_flags -m64;-DvtkFiltersFlowPaths_AUTOINIT=1(vtkFiltersParallelFlowPaths);-DvtkIOExodus_AUTOINIT=1(vtkIOParallelExodus);-DvtkIOImage_AUTOINIT=1(vtkIOMPIImage);-DvtkRenderingCore_INCLUDE="D:/build/plugins-vs10/CMakeFiles/vtkRenderingCore_AUTOINIT_vtkInteractionStyle_vtkRenderingFreeType_vtkRenderingFreeTypeOpenGL_vtkRenderingOpenGL.h";-DvtkRenderingVolume_AUTOINIT=1(vtkRenderingVolumeOpenGL);-DQT_DLL;-DQT_GUI_LIB;-DQT_CORE_LIB;-DZOLTAN_SUPPORT;-Dcuda_compile_EXPORTS)
# list<o:p></o:p></span></p>
<p class="MsoPlainText" style="margin-left:36.0pt"><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">Does anyone know how to make the
<span style="font-family:"Courier New"">AUTOINIT=1 (vtkBlahBlah)</span> stuff go away. Cmake seems to be inserting some info/messages here which mess up the nvcc compilation. Is there a flag in the vtk module support anywhere which disables the autoinit generation?<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt"><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">I’ve tried as hard as possible to mimic the cmake from the piston build, but something is being ‘added’ for the plugins. Any idea how to make it go away?<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt"><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">Thanks<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt"><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">JB<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt"><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt"><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt"><span lang="EN-US" style="mso-fareast-language:EN-GB">-----Original Message-----<br>
From: David E DeMarle [<a href="mailto:dave.demarle@kitware.com">mailto:dave.demarle@kitware.com</a>]
<br>
Sent: 17 January 2013 17:38<br>
To: Biddiscombe, John A.<br>
Cc: <a href="mailto:paraview-developers@paraview.org">paraview-developers@paraview.org</a>; Sewell, Christopher Meyer; Li-Ta Lo; Kenneth Moreland; Utkarsh Ayachit<br>
Subject: Re: [Paraview-developers] piston in 3.98</span><o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt"><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">I think b. Getting the lists into and out of the vtkPainter parts are the only thing I'm leary of, but that's because I haven't touched them often.<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt"><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">Ollie, Chris, Ken and Utkarsh know the relevant pieces of code better than I, so I've cc'd them specifically.<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt"><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">David E DeMarle<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">Kitware, Inc.<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">R&D Engineer<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">21 Corporate Drive<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">Clifton Park, NY 12065-8662<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">Phone: 518-881-4909<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt"><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt"><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">On Thu, Jan 17, 2013 at 11:27 AM, Biddiscombe, John A. <<a href="mailto:biddisco@cscs.ch"><span style="color:windowtext;text-decoration:none">biddisco@cscs.ch</span></a>> wrote:<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">> Dave<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">> Nice. It is working. Thanks.<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">> I'm very impressed. I wouldn't have thought of it being done like this, but the framework looks rather clever.<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">> Here's a harder question if you have a moment.<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">> My idea is to<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">> 1) insert a painter in my chain which passes vertices (normal 3d) to cuda using the piston framework and also pass a IdType equivalent list of polygon vertex indices.<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">> 2 )within the cuda code, generate a depth list of polygons based on one vertex from each, and sort that list. Then regenerate the vertex Idlist based on the sorted order.<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">> 3) replace the painter that draws the actual primitives with a new one which uses the interop array of vertex Ids so we can do the depth sort witout retransferring stuff to and fro every frame.<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">> The painter chain is already setup to do depth sort on the CPU, so I'd only need to add a cuda version with the interop setup and then add a new primitive painter (or some kind of painter that does the final
draw instead of the existing one - might need to send the colours+opacities via interop too to avoid trouble retrieving them in the custom painter).<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">> Can you tell me based on your knowledge of how the piston stuff works
<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">> if what I propose is essentially<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">> a) ridiculous (I'll do something else productive)<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">> b) doable<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">> + any hints which will get me there quicker.<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">> Many thanks again<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">> JB<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">> -----Original Message-----<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">> From: David E DeMarle [<a href="mailto:dave.demarle@kitware.com"><span style="color:windowtext;text-decoration:none">mailto:dave.demarle@kitware.com</span></a>]<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">> Sent: 17 January 2013 17:05<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">> To: Biddiscombe, John A.<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">> Cc: <a href="mailto:paraview-developers@paraview.org">
<span style="color:windowtext;text-decoration:none">paraview-developers@paraview.org</span></a><o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">> Subject: Re: [Paraview-developers] piston in 3.98<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">> Start paraview with --use-cuda-interop<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">> David E DeMarle<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">> Kitware, Inc.<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">> R&D Engineer<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">> 21 Corporate Drive<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">> Clifton Park, NY 12065-8662<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">> Phone: 518-881-4909<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">> On Thu, Jan 17, 2013 at 11:00 AM, Biddiscombe, John A. <<a href="mailto:biddisco@cscs.ch"><span style="color:windowtext;text-decoration:none">biddisco@cscs.ch</span></a>> wrote:<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>> The piston plugin appears to be working, and I'm able to select a dataset, "send to piston', and then "get from piston', however when I put a breakpoint in the piston mapper and check the rendering, it always
stops in RenderOnCPU.<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>> I'd like to see the RenderOnGPU working. I poked around to see if there's an option in PistonRepresentation, (or even a PistonView) which might be activated which would trigger the GPU rendering activity,
but couldn't find a way to do it (without experimenting with code changes).<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>> Is there a combination of actions which displays using the GPU buffer objects.<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>> NB. PistonContour produces an output, slice and threshold produce empty results (so far).<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>> NB. Test machine has very old cuda support, will experiment on newer one if GPU render is possible.<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>> Thanks again<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>> JB<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>> -----Original Message-----<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>> From: David E DeMarle [<a href="mailto:dave.demarle@kitware.com"><span style="color:windowtext;text-decoration:none">mailto:dave.demarle@kitware.com</span></a>]<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>> Sent: 16 January 2013 19:49<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>> To: Biddiscombe, John A.<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>> Cc: <a href="mailto:paraview-developers@paraview.org">
<span style="color:windowtext;text-decoration:none">paraview-developers@paraview.org</span></a><o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>> Subject: Re: [Paraview-developers] piston in 3.98<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>> Use piston sha 2913c77 for 3.98.<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>> Use piston sha b50cf296 for current master.<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>> David E DeMarle<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>> Kitware, Inc.<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>> R&D Engineer<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>> 21 Corporate Drive<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>> Clifton Park, NY 12065-8662<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>> Phone: 518-881-4909<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>> On Wed, Jan 16, 2013 at 1:06 PM, Biddiscombe, John A. <<a href="mailto:biddisco@cscs.ch"><span style="color:windowtext;text-decoration:none">biddisco@cscs.ch</span></a>> wrote:<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>> I wanted to try a cuda based (depth) sort, then using interop, draw
<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>> polygons using opengl in a custom painter - this would save a
<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>> transfer from cpu-gpu on every frame.<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>> Piston seems to have some interop facilities embedded, but I
<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>> couldn't build the vtkAcceleratorsPiston using the (piston) version from github.<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>> Is piston working in 3.98? and if so, should I use a different
<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>> version than the github one.<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>> Thanks for any info.<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>> JB<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>> --<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>> John Biddiscombe, email:biddisco @.at.@ cscs.ch<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>> <a href="http://www.cscs.ch/">
<span style="color:windowtext;text-decoration:none">http://www.cscs.ch/</span></a><o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>> CSCS, Swiss National Supercomputing Centre | Tel: +41 (91)<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>> 610.82.07<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>> Via Trevano 131, 6900 Lugano, Switzerland | Fax: +41 (91) 610.82.82<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>><o:p> </o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>> _______________________________________________<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>> Paraview-developers mailing list<o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>> <a href="mailto:Paraview-developers@paraview.org">
<span style="color:windowtext;text-decoration:none">Paraview-developers@paraview.org</span></a><o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>> <a href="http://public.kitware.com/mailman/listinfo/paraview-developers">
<span style="color:windowtext;text-decoration:none">http://public.kitware.com/mailman/listinfo/paraview-developers</span></a><o:p></o:p></p>
<p class="MsoPlainText" style="margin-left:36.0pt">>>><o:p> </o:p></p>
</div>
</body>
</html>