<div dir="ltr">OK, so for that use case you could be rerunning the pipeline every time and you want to minimize that. My suggestion would be<div><div><br></div><div>1) if it fits in memory (say 4 gig) then precompute all the timesteps/frames, storing each in a polydata/mapper/actor and then turn on the visibility of the timestep you want, keep all the actors in the renderer, just change visibility so that one is on at a time.</div></div><div><br></div><div>2) make sure you only have the points you need. Aka lastFilter->GetOutput()->GetPoints()->GetNumberOfPoints(), given that you are starting with a 4 million cell mesh you want to make sure all those points are not still around. If they are you need to use a filter to remove them so you only have the points needed. All points get sent to the graphics card so this can make a big difference if you prune unused points.</div><div><br></div><div>3) if possible reuse parts of your pipeline/data, insert your scalars as close to the end as you can. Even for (1) this will save memory.</div><div><br></div><div>4) if all your timesteps are bigger than 4gig, but would fit in main memory, then precompute all the PolyData's for them and then just change the mapper->SetInput() each frame. This will be slower than (1) as the data will be uploaded to the graphics card each frame, but at least the pipeline computation part will be skipped.</div><div><br></div><div>Hope that gives you some ideas.</div><div>Thanks!</div><div>Ken</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 30, 2016 at 3:08 AM, Andrea Gavana <span dir="ltr"><<a href="mailto:andrea.gavana@gmail.com" target="_blank">andrea.gavana@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">Hi Ken & All,<div class="gmail_extra"><br><div class="gmail_quote">On 29 November 2016 at 17:16, 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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">The ReportCapabilities() method on RenderWindow provides a lot of information. You can do something like<div><br></div><div>renWin->Render();</div><div>const char *info = renWin->ReportCapabilities();</div><div>cerr << info;</div><div><br></div><div>or some sort of message box that displays info. That should tell you what is being used for your rendering by VTK.</div><div><br></div><div>If you are changing your data, then modified is fine, but then the first render after you change data will be slow because it is re executing the pipeline to account for the new data. So really the use case matters here. If you have a GUI pulldown with a few different scalar fields then a 0.25 second delay on the first render is a non issue. All renders after that first one (until you change the data again) will be super fast. </div><div><br></div><div>If you are trying to make an animation loop where you change the data every frame then you either have to cache the data or deal with the delay. Simple caching of the data means creating a filter/mapper/actor for each timestep/scalarfield and just turning the visibility on for the one you currently want rendered, leaving the others off. After one time through the loop it should be fast assuming it fits in memory.</div></div></blockquote><div><br></div><div><br></div><div>That is exactly what I am trying to do, a timestepped animation of various properties over time. If I don't do the animation, the rendering is of course super-fast, but that was not my issue :-) . The issue was related to changing the scalars and re-display the grid.</div><div><br></div><div>By the way, I have run your snippet of code using the ReportCapabilities() method on the render window... It's fairly long and a bit impenetrable to me, I'll put it at the end just in case anyone is interested in taking a look at it...</div><div><br></div><div>I have also run the recommendation from David to check what backend was used for rendering with this code:</div><div><br></div><div><div style="font-size:12.8px">rw = vtk.vtkRenderWindow()</div><div style="font-size:12.8px">print rw.GetRenderingBackend()</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">And it prints out "OpenGL2".</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I will try to think about your approach of caching and see if it can be integrated in my application without too much headache...</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thank you again for all your support, it is much appreciated!</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Andrea.</div><div style="font-size:12.8px"><br></div><div><br></div><div><br></div><div>******************************<wbr>******************************<wbr>********</div><div>Output of renWin.ReportCapabilities()</div><div><br></div><div><div>OpenGL vendor string: NVIDIA Corporation</div><div>OpenGL renderer string: Quadro 6000/PCIe/SSE2</div><div>OpenGL version string: 4.5.0 NVIDIA 347.88</div><div>OpenGL extensions:</div><div> GL_AMD_multi_draw_indirect</div><div> GL_ARB_arrays_of_arrays</div><div> GL_ARB_base_instance</div><div> GL_ARB_blend_func_extended</div><div> GL_ARB_buffer_storage</div><div> GL_ARB_clear_buffer_object</div><div> GL_ARB_clear_texture</div><div> GL_ARB_clip_control</div><div> GL_ARB_color_buffer_float</div><div> GL_ARB_compressed_texture_<wbr>pixel_storage</div><div> GL_ARB_conservative_depth</div><div> GL_ARB_compute_shader</div><div> GL_ARB_compute_variable_group_<wbr>size</div><div> GL_ARB_conditional_render_<wbr>inverted</div><div> GL_ARB_copy_buffer</div><div> GL_ARB_copy_image</div><div> GL_ARB_cull_distance</div><div> GL_ARB_debug_output</div><div> GL_ARB_depth_buffer_float</div><div> GL_ARB_depth_clamp</div><div> GL_ARB_depth_texture</div><div> GL_ARB_derivative_control</div><div> GL_ARB_direct_state_access</div><div> GL_ARB_draw_buffers</div><div> GL_ARB_draw_buffers_blend</div><div> GL_ARB_draw_indirect</div><div> GL_ARB_draw_elements_base_<wbr>vertex</div><div> GL_ARB_draw_instanced</div><div> GL_ARB_enhanced_layouts</div><div> GL_ARB_ES2_compatibility</div><div> GL_ARB_ES3_compatibility</div><div> GL_ARB_ES3_1_compatibility</div><div> GL_ARB_explicit_attrib_<wbr>location</div><div> GL_ARB_explicit_uniform_<wbr>location</div><div> GL_ARB_fragment_coord_<wbr>conventions</div><div> GL_ARB_fragment_layer_viewport</div><div> GL_ARB_fragment_program</div><div> GL_ARB_fragment_program_shadow</div><div> GL_ARB_fragment_shader</div><div> GL_ARB_framebuffer_no_<wbr>attachments</div><div> GL_ARB_framebuffer_object</div><div> GL_ARB_framebuffer_sRGB</div><div> GL_ARB_geometry_shader4</div><div> GL_ARB_get_program_binary</div><div> GL_ARB_get_texture_sub_image</div><div> GL_ARB_gpu_shader5</div><div> GL_ARB_gpu_shader_fp64</div><div> GL_ARB_half_float_pixel</div><div> GL_ARB_half_float_vertex</div><div> GL_ARB_imaging</div><div> GL_ARB_indirect_parameters</div><div> GL_ARB_instanced_arrays</div><div> GL_ARB_internalformat_query</div><div> GL_ARB_internalformat_query2</div><div> GL_NV_internalformat_sample_<wbr>query</div><div> GL_ARB_invalidate_subdata</div><div> GL_ARB_map_buffer_alignment</div><div> GL_ARB_map_buffer_range</div><div> GL_ARB_multi_bind</div><div> GL_ARB_multi_draw_indirect</div><div> GL_ARB_multisample</div><div> GL_ARB_multitexture</div><div> GL_ARB_occlusion_query</div><div> GL_ARB_occlusion_query2</div><div> GL_ARB_pipeline_statistics_<wbr>query</div><div> GL_ARB_pixel_buffer_object</div><div> GL_ARB_point_parameters</div><div> GL_ARB_point_sprite</div><div> GL_ARB_program_interface_query</div><div> GL_ARB_provoking_vertex</div><div> GL_ARB_robust_buffer_access_<wbr>behavior</div><div> GL_ARB_robustness</div><div> GL_ARB_sample_shading</div><div> GL_ARB_sampler_objects</div><div> GL_ARB_seamless_cube_map</div><div> GL_ARB_separate_shader_objects</div><div> GL_ARB_shader_atomic_counters</div><div> GL_ARB_shader_bit_encoding</div><div> GL_ARB_shader_draw_parameters</div><div> GL_ARB_shader_group_vote</div><div> GL_ARB_shader_image_load_store</div><div> GL_ARB_shader_image_size</div><div> GL_ARB_shader_objects</div><div> GL_ARB_shader_precision</div><div> GL_ARB_query_buffer_object</div><div> GL_ARB_shader_storage_buffer_<wbr>object</div><div> GL_ARB_shader_subroutine</div><div> GL_ARB_shader_texture_image_<wbr>samples</div><div> GL_ARB_shader_texture_lod</div><div> GL_ARB_shading_language_100</div><div> GL_ARB_shading_language_<wbr>420pack</div><div> GL_ARB_shading_language_<wbr>include</div><div> GL_ARB_shading_language_<wbr>packing</div><div> GL_ARB_shadow</div><div> GL_ARB_sparse_buffer</div><div> GL_ARB_sparse_texture</div><div> GL_ARB_stencil_texturing</div><div> GL_ARB_sync</div><div> GL_ARB_tessellation_shader</div><div> GL_ARB_texture_barrier</div><div> GL_ARB_texture_border_clamp</div><div> GL_ARB_texture_buffer_object</div><div> GL_ARB_texture_buffer_object_<wbr>rgb32</div><div> GL_ARB_texture_buffer_range</div><div> GL_ARB_texture_compression</div><div> GL_ARB_texture_compression_<wbr>bptc</div><div> GL_ARB_texture_compression_<wbr>rgtc</div><div> GL_ARB_texture_cube_map</div><div> GL_ARB_texture_cube_map_array</div><div> GL_ARB_texture_env_add</div><div> GL_ARB_texture_env_combine</div><div> GL_ARB_texture_env_crossbar</div><div> GL_ARB_texture_env_dot3</div><div> GL_ARB_texture_float</div><div> GL_ARB_texture_gather</div><div> GL_ARB_texture_mirror_clamp_<wbr>to_edge</div><div> GL_ARB_texture_mirrored_repeat</div><div> GL_ARB_texture_multisample</div><div> GL_ARB_texture_non_power_of_<wbr>two</div><div> GL_ARB_texture_query_levels</div><div> GL_ARB_texture_query_lod</div><div> GL_ARB_texture_rectangle</div><div> GL_ARB_texture_rg</div><div> GL_ARB_texture_rgb10_a2ui</div><div> GL_ARB_texture_stencil8</div><div> GL_ARB_texture_storage</div><div> GL_ARB_texture_storage_<wbr>multisample</div><div> GL_ARB_texture_swizzle</div><div> GL_ARB_texture_view</div><div> GL_ARB_timer_query</div><div> GL_ARB_transform_feedback2</div><div> GL_ARB_transform_feedback3</div><div> GL_ARB_transform_feedback_<wbr>instanced</div><div> GL_ARB_transform_feedback_<wbr>overflow_query</div><div> GL_ARB_transpose_matrix</div><div> GL_ARB_uniform_buffer_object</div><div> GL_ARB_vertex_array_bgra</div><div> GL_ARB_vertex_array_object</div><div> GL_ARB_vertex_attrib_64bit</div><div> GL_ARB_vertex_attrib_binding</div><div> GL_ARB_vertex_buffer_object</div><div> GL_ARB_vertex_program</div><div> GL_ARB_vertex_shader</div><div> GL_ARB_vertex_type_10f_11f_<wbr>11f_rev</div><div> GL_ARB_vertex_type_2_10_10_10_<wbr>rev</div><div> GL_ARB_viewport_array</div><div> GL_ARB_window_pos</div><div> GL_ATI_draw_buffers</div><div> GL_ATI_texture_float</div><div> GL_ATI_texture_mirror_once</div><div> GL_S3_s3tc</div><div> GL_EXT_texture_env_add</div><div> GL_EXT_abgr</div><div> GL_EXT_bgra</div><div> GL_EXT_bindable_uniform</div><div> GL_EXT_blend_color</div><div> GL_EXT_blend_equation_separate</div><div> GL_EXT_blend_func_separate</div><div> GL_EXT_blend_minmax</div><div> GL_EXT_blend_subtract</div><div> GL_EXT_compiled_vertex_array</div><div> GL_EXT_Cg_shader</div><div> GL_EXT_depth_bounds_test</div><div> GL_EXT_direct_state_access</div><div> GL_EXT_draw_buffers2</div><div> GL_EXT_draw_instanced</div><div> GL_EXT_draw_range_elements</div><div> GL_EXT_fog_coord</div><div> GL_EXT_framebuffer_blit</div><div> GL_EXT_framebuffer_multisample</div><div> GL_EXTX_framebuffer_mixed_<wbr>formats</div><div> GL_EXT_framebuffer_<wbr>multisample_blit_scaled</div><div> GL_EXT_framebuffer_object</div><div> GL_EXT_framebuffer_sRGB</div><div> GL_EXT_geometry_shader4</div><div> GL_EXT_gpu_program_parameters</div><div> GL_EXT_gpu_shader4</div><div> GL_EXT_multi_draw_arrays</div><div> GL_EXT_packed_depth_stencil</div><div> GL_EXT_packed_float</div><div> GL_EXT_packed_pixels</div><div> GL_EXT_pixel_buffer_object</div><div> GL_EXT_point_parameters</div><div> GL_EXT_polygon_offset_clamp</div><div> GL_EXT_provoking_vertex</div><div> GL_EXT_rescale_normal</div><div> GL_EXT_secondary_color</div><div> GL_EXT_separate_shader_objects</div><div> GL_EXT_separate_specular_color</div><div> GL_EXT_shader_image_load_store</div><div> GL_EXT_shader_integer_mix</div><div> GL_EXT_shadow_funcs</div><div> GL_EXT_stencil_two_side</div><div> GL_EXT_stencil_wrap</div><div> GL_EXT_texture3D</div><div> GL_EXT_texture_array</div><div> GL_EXT_texture_buffer_object</div><div> GL_EXT_texture_compression_<wbr>dxt1</div><div> GL_EXT_texture_compression_<wbr>latc</div><div> GL_EXT_texture_compression_<wbr>rgtc</div><div> GL_EXT_texture_compression_<wbr>s3tc</div><div> GL_EXT_texture_cube_map</div><div> GL_EXT_texture_edge_clamp</div><div> GL_EXT_texture_env_combine</div><div> GL_EXT_texture_env_dot3</div><div> GL_EXT_texture_filter_<wbr>anisotropic</div><div> GL_EXT_texture_integer</div><div> GL_EXT_texture_lod</div><div> GL_EXT_texture_lod_bias</div><div> GL_EXT_texture_mirror_clamp</div><div> GL_EXT_texture_object</div><div> GL_EXT_texture_shared_exponent</div><div> GL_EXT_texture_sRGB</div><div> GL_EXT_texture_sRGB_decode</div><div> GL_EXT_texture_storage</div><div> GL_EXT_texture_swizzle</div><div> GL_EXT_timer_query</div><div> GL_EXT_transform_feedback2</div><div> GL_EXT_vertex_array</div><div> GL_EXT_vertex_array_bgra</div><div> GL_EXT_vertex_attrib_64bit</div><div> GL_EXT_import_sync_object</div><div> GL_NVX_shared_sync_object</div><div> GL_IBM_rasterpos_clip</div><div> GL_IBM_texture_mirrored_repeat</div><div> GL_KHR_context_flush_control</div><div> GL_KHR_debug</div><div> GL_KHR_robust_buffer_access_<wbr>behavior</div><div> GL_KHR_robustness</div><div> GL_KTX_buffer_region</div><div> GL_NV_bindless_multi_draw_<wbr>indirect</div><div> GL_NV_bindless_multi_draw_<wbr>indirect_count</div><div> GL_NV_blend_equation_advanced</div><div> GL_NV_blend_square</div><div> GL_NV_command_list</div><div> GL_NV_compute_program5</div><div> GL_NV_conditional_render</div><div> GL_NV_copy_depth_to_color</div><div> GL_NV_copy_image</div><div> GL_NV_depth_buffer_float</div><div> GL_NV_depth_clamp</div><div> GL_NV_draw_texture</div><div> GL_NV_ES1_1_compatibility</div><div> GL_NV_ES3_1_compatibility</div><div> GL_NV_explicit_multisample</div><div> GL_NV_fence</div><div> GL_NV_float_buffer</div><div> GL_NV_fog_distance</div><div> GL_NV_fragment_program</div><div> GL_NV_fragment_program_option</div><div> GL_NV_fragment_program2</div><div> GL_NV_framebuffer_multisample_<wbr>coverage</div><div> GL_NV_geometry_shader4</div><div> GL_NV_gpu_program4</div><div> GL_NV_gpu_program4_1</div><div> GL_NV_gpu_program5</div><div> GL_NV_gpu_program5_mem_<wbr>extended</div><div> GL_NV_gpu_program_fp64</div><div> GL_NV_gpu_shader5</div><div> GL_NV_half_float</div><div> GL_NV_light_max_exponent</div><div> GL_NV_multisample_coverage</div><div> GL_NV_multisample_filter_hint</div><div> GL_NV_occlusion_query</div><div> GL_NV_packed_depth_stencil</div><div> GL_NV_parameter_buffer_object</div><div> GL_NV_parameter_buffer_object2</div><div> GL_NV_path_rendering</div><div> GL_NV_pixel_data_range</div><div> GL_NV_point_sprite</div><div> GL_NV_primitive_restart</div><div> GL_NV_register_combiners</div><div> GL_NV_register_combiners2</div><div> GL_NV_shader_atomic_counters</div><div> GL_NV_shader_atomic_float</div><div> GL_NV_shader_buffer_load</div><div> GL_NV_shader_storage_buffer_<wbr>object</div><div> GL_NV_texgen_reflection</div><div> GL_NV_texture_barrier</div><div> GL_NV_texture_compression_vtc</div><div> GL_NV_texture_env_combine4</div><div> GL_NV_texture_multisample</div><div> GL_NV_texture_rectangle</div><div> GL_NV_texture_shader</div><div> GL_NV_texture_shader2</div><div> GL_NV_texture_shader3</div><div> GL_NV_transform_feedback</div><div> GL_NV_transform_feedback2</div><div> GL_NV_uniform_buffer_unified_<wbr>memory</div><div> GL_NV_vertex_array_range</div><div> GL_NV_vertex_array_range2</div><div> GL_NV_vertex_attrib_integer_<wbr>64bit</div><div> GL_NV_vertex_buffer_unified_<wbr>memory</div><div> GL_NV_vertex_program</div><div> GL_NV_vertex_program1_1</div><div> GL_NV_vertex_program2</div><div> GL_NV_vertex_program2_option</div><div> GL_NV_vertex_program3</div><div> GL_NV_video_capture</div><div> GL_NVX_sysmem_buffer</div><div> GL_NVX_conditional_render</div><div> GL_NVX_gpu_memory_info</div><div> GL_NV_shader_thread_group</div><div> GL_KHR_blend_equation_advanced</div><div> GL_SGIS_generate_mipmap</div><div> GL_SGIS_texture_lod</div><div> GL_SGIX_depth_texture</div><div> GL_SGIX_shadow</div><div> GL_SUN_slice_accum</div><div> GL_WIN_swap_hint</div><div> WGL_EXT_swap_control</div><div>PixelFormat Descriptor:</div><div>depth: 24</div><div>class: TrueColor</div><div>buffer size: 32</div><div>level: 0</div><div>renderType: rgba</div><div>double buffer: True</div><div>stereo: False</div><div>hardware acceleration: True</div><div>rgba: redSize=8 greenSize=8blueSize=<wbr>8alphaSize=8</div><div>aux buffers: 4</div><div>depth size: 24</div><div>stencil size: 0</div><div>accum: redSize=16 greenSize=16blueSize=<wbr>16alphaSize=16</div></div><div><div><br></div><div>******************************<wbr>******************************<wbr>********</div></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div><div>Hope that helps!</div><span class="m_2513509854689828223gmail-HOEnZb"><font color="#888888"><div>Ken</div></font></span><div><div class="m_2513509854689828223gmail-h5"><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 29, 2016 at 11:01 AM, Andrea Gavana <span dir="ltr"><<a href="mailto:andrea.gavana@gmail.com" target="_blank">andrea.gavana@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="white-space:pre-wrap">Hi Ken,<br><br> Thank you for your answer. So it seems to me that I should not call grid.Modified() if I only change the scalars? In my script there is almost no pipeline, I.e. I have:<br><br>Grid --> Mapper --> Actor<br><br>No filters, no updating, no nothing. <br><br>I will try your loop example tomorrow from my work computer. Also, how can I know if the rendering engine is using the GPU? I have a fairly powerful machine at work, able to run commercial 3D visualization software (on a geological scale) with multi-million cells with no problem...<br><br>Thank you again!<br><br>Andrea.<br></div><br><div class="gmail_quote"><div dir="ltr">On Tue, 29 Nov 2016 at 16:37, Ken Martin <<a href="mailto:ken.martin@kitware.com" target="_blank">ken.martin@kitware.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="gmail_extra m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="gmail_quote m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><blockquote class="gmail_quote m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="gmail_extra m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="gmail_quote m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">The timing are all taken after the first rendering. I have a little GUI with a VTK render window and a single button. Every time I press the button new data is randomly generated and I time the rendering only process, i.e.:</div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div></div></div></div></blockquote><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div></div></div></div><div dir="ltr" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="gmail_extra m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="gmail_quote m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">VTK with OpenGL2 can render 500 million cells/second on a laptop GPU. If you are seeing performance significantly off from that and think you are using a GPU then something is wrong. To do timings do not rely on GetLastRenderTimeInSeconds but rather time a render loop like ala</div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">startTimer</div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">for (i = 0; i < 500; i++)</div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">{</div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"> renWin->Render();</div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">}</div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">endTimer</div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">print elapsedTime/500;</div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"> <br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><blockquote class="gmail_quote m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="gmail_extra m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="gmail_quote m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">grid.GetCellData().SetScalars(<wbr>data)</div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">grid.Modified()<br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">renwin.Render() </div></div></div></div></blockquote><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">The render above is a first render, in that it is the first render after you modified your data. The entire</div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">pipeline has to be run then. You are probably timing how has the pipeline can be modified and recalaculated when you change your data.</div></div></div></div><div dir="ltr" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="gmail_extra m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="gmail_quote m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"> </div><blockquote class="gmail_quote m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="gmail_extra m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="gmail_quote m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">And I have a little rendering listener setup like this:</div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"> renderer.AddObserver(vtk.vtkCo<wbr>mmand.EndEvent, self.OnEndEvent)</div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"> def OnEndEvent(self, caller, dummy1=None, dummy2=None, dummy3=None):</div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"> timeInSeconds = caller.GetLastRenderTimeInSeco<wbr>nds()</div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"> fps = 1.0/timeInSeconds</div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"> print timeInSeconds, fps</div></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">However, I realized that the simulator outputs the grid with a lot of redundant information - i.e., duplicated points. So I did the following:</div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"> clean = vtk.vtkExtractUnstructuredGrid<wbr>()</div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"> clean.SetInputData(grid.GetOut<wbr>put())</div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"> clean.MergingOn()</div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"> clean.CellClippingOn()</div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"> clean.SetCellMinimum(0)</div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"> clean.SetCellMaximum(nx*ny*nz)</div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"> clean.Update()</div></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"> </div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">the "clean" grid contains far far far less points than the original one (as the coincident points have been merged), and the rendering is much faster - about 0.24 seconds or 4.2 fps. Now, if there was a way to tell the rendering engine to ignore the points (i.e., don't render the points, I only care about the cells...) that would be even better :-) .</div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">Thank you again for all your hints.</div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">Andrea.</div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"> </div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"> </div><blockquote class="gmail_quote m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div></div></div><div class="gmail_extra m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071m_-6083094297592396510m_2131272924764224788m_-6323519616493389093gmail-h5 m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="gmail_quote m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">On Tue, Nov 29, 2016 at 3:39 AM, Andrea Gavana <span dir="ltr" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><<a href="mailto:andrea.gavana@gmail.com" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg" target="_blank">andrea.gavana@gmail.com</a>></span> wrote:<br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><blockquote class="gmail_quote m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">Dear All,<div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="gmail_extra m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="gmail_quote m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">On 28 November 2016 at 16:12, Andrea Gavana <span dir="ltr" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><<a href="mailto:andrea.gavana@gmail.com" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg" target="_blank">andrea.gavana@gmail.com</a>></span> wrote:<br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><blockquote class="gmail_quote m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">Hi David,<div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"> thank you for your answer. I will put some more comments inline too. Any insight or suggestion is more than welcome.</div><div class="gmail_extra m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="gmail_quote m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><span class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071m_-6083094297592396510m_2131272924764224788m_-6323519616493389093gmail-m_-5170571770281318777m_4329449808429185615gmail- m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">On 28 November 2016 at 15:40, David E DeMarle wrote:<br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><blockquote class="gmail_quote m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">Responses inline. Mostly though, make sure you are using the "OpenGL2" rendering backend, which is the default for 7.0 and 7.1.<br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div></blockquote><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div></span><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">I am using VTK 7.0 through the Python bindings (the official ones from the Kitware website here:</div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><a href="http://www.vtk.org/download/" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg" target="_blank">http://www.vtk.org/download/</a><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">So I was assuming that the rendering backend was already OpenGL2... is there any way to check if this is really the case?</div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">Also, I have tried to load my dataset in ParaView, and ParaView seems to be doing some kind of black magic on my vtkUnstructuredGrid as I get these kind of messages when I load the vtk file:</div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">
<p style="margin:0px" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><span style="font-family:courier;font-size:8.25pt;color:rgb(0,0,0)" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">Warning: In C:\bbd\df0abce0\source-paravie<wbr>w\VTK\Rendering\VolumeOpenGL2\<wbr>vtkOpenGLProjectedTetrahedraMa<wbr>pper.cxx, line 251</span></p>
<p style="margin:0px" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><span style="font-family:courier;font-size:8.25pt;color:rgb(0,0,0)" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">vtkOpenGLProjectedTetrahedraMa<wbr>pper (000000000D3CAA60): Missing FBO support. The algorithm may produce visual artifacts.</span></p>
<p style="margin:0px;font-family:courier;font-size:8.25pt;color:rgb(0,0,0)" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></p><p style="margin:0px;font-family:courier;font-size:8.25pt;color:rgb(0,0,0)" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></p><p style="margin:0px;font-family:courier;font-size:8.25pt;color:rgb(0,0,0)" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></p><p style="margin:0px;font-family:courier;font-size:8.25pt;color:rgb(0,0,0)" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">Which, I believe, is telling me that ParaView is not doing what I am doing but maybe using some kind of volume-based rendering - when I rotate the grid the (almost cube-shaped) cells becomes subdivided in small triangles, when I stop interacting with them they go back to their normal appearance. It would be nice to know what ParaView is doing though, and also what "FBO support" means :-). I also noticed that ParaView is slightly faster in changing the displayed property - maybe 2 or 3 times faster than my bare-bone script.</span></p><p style="margin:0px;font-family:courier;font-size:8.25pt;color:rgb(0,0,0)" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></span></p></div></div></div></div></blockquote><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">Just to add some more information: it is true that ParaView is faster in the re-rendering when I switch to another property, but it also shows heavy visual artifacts (i.e., cells with multiple colors in them?!? - see attached screenshot). So, if I understood it correctly, ParaView uses some kind of volume rendering of my vtkUnstructuredGrid (although I didn't ask it to... should it not use the default vtkDataSetMapper?).</div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">Based on my original pipeline:</div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">vtkUnstructuredGrid --> vtkThreshold --> vtkDataSetMapper --> vtkActor<br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">I have tried everything I know to speed up the re-rendering of the grid, I actually operate directly on the output of vtkThreshold (that is still a vtkUnstructuredGrid), so I simply throw away the original grid. With and without ImmediateModeRendering, with and without backface culling. My best improvements so far took the rendering time from 1.04 seconds to 0.94 seconds... so not much of an improvement :-) .</div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">I am of course open to any suggestions anyone may have on the rendering part - assuming that my geometry is fixed (it is not, but I'll worry about that later...), basically only on the process:</div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">vtkUnstructuredGrid.SetScalars<wbr>(my_data)</div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">vtkUnstructuredGrid.Modified()<br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">vtkRenderWindow.Render()</div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">And of course - if there are other visualization strategies I may use, please shout :-)</div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">Thank you.</div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">Andrea.</div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"> </div><blockquote class="gmail_quote m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="gmail_extra m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="gmail_quote m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><p style="margin:0px;font-family:courier;font-size:8.25pt;color:rgb(0,0,0)" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></span></p><p style="margin:0px;font-family:courier;font-size:8.25pt;color:rgb(0,0,0)" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"> </span><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></p></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071m_-6083094297592396510m_2131272924764224788m_-6323519616493389093gmail-m_-5170571770281318777m_4329449808429185615gmail-h5 m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><blockquote class="gmail_quote m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="gmail_extra m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="gmail_quote m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><span class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071m_-6083094297592396510m_2131272924764224788m_-6323519616493389093gmail-m_-5170571770281318777m_4329449808429185615gmail-m_910782574786711220gmail- m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">On Mon, Nov 28, 2016 at 7:35 AM, Andrea Gavana <span dir="ltr" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><<a href="mailto:andrea.gavana@gmail.com" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg" target="_blank">andrea.gavana@gmail.com</a>></span> wrote:<br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><blockquote class="gmail_quote m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><font face="monospace, monospace" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">Dear All,</font><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><font face="monospace, monospace" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></font></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><font face="monospace, monospace" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"> I am working with some stuff coming out of CFD simulations, and in the current work the simulator produces a 3D grid (unstructured grid made of hexahedrons). The full grid is about 4 million cells, but due to other settings in the simulator the number of "active" cells in the simulation ends up being "only" 270,000. In order to visualize all this, I create a vtkUnstructuredGrid to hold the full grid, use a vtkThreshold to remove the "inactive" cells and then use a vtkDataSetMapper to visualize the resulting active grid:</font></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><font face="monospace, monospace" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></font></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><font face="monospace, monospace" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">vtkUnstructuredGrid --> vtkThreshold --> vtkDataSetMapper --> vtkActor<br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></font></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><font face="monospace, monospace" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></font></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><font face="monospace, monospace" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">However, the rendering speed for the 270,000 cells grid is quite low - it takes about one second to display a new property by using SetScalars on the output of vtkThreshold. So I thought of using a vtkDataSetSurfaceFilter on the output of vtkThreshold to try and speed up the rendering. So, the current visualization strategy I have implemented is the following:</font></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><font face="monospace, monospace" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></font></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><font face="monospace, monospace" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">vtkUnstructuredGrid --> vtkThreshold --> vtkDataSetSurfaceFilter --> vtkPolyDataMapper --> vtkActor</font></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><font face="monospace, monospace" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></font></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><font face="monospace, monospace" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">This is still as slow as my first approach, and I also have a couple of questions - which stems from my ignorance in VTK things:</font></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><font face="monospace, monospace" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></font></div></div></blockquote><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div></span><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">DataSetMapper internally does vtkDataSetSurfaceFilter->vtkPo<wbr>lyDataMapper when given something other than PolyData, so not surprising that it isn't faster.<br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"> <br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><span class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071m_-6083094297592396510m_2131272924764224788m_-6323519616493389093gmail-m_-5170571770281318777m_4329449808429185615gmail-m_910782574786711220gmail- m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><blockquote class="gmail_quote m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><font face="monospace, monospace" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></font></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><font face="monospace, monospace" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">1. When I load (from the simulator outputs) a new property (cell-based) and I assign its values to the original vtkUnstructuredGrid (by using SetScalars on it), do all the filters (vtkThreshold and vtkDataSetSurfaceFilter) need to be re-run? If yes, why? I am not changing the active/inactive cells nor the geometry of the grid, only assigning different scalars. And, if yes, is there any way to tell the pipeline: "look, I've only changed the scalars, there's no need to re-run all the thresholds and surface filters *again*"?</font></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><font face="monospace, monospace" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></font></div></div></blockquote><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div></span><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">Yes they do, since the Executive classes' Modified time tracking is not fine grained enough to know the difference, and few if any of the filters would know how to update just the changed portions.<br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"> <br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><span class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071m_-6083094297592396510m_2131272924764224788m_-6323519616493389093gmail-m_-5170571770281318777m_4329449808429185615gmail-m_910782574786711220gmail- m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><blockquote class="gmail_quote m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><font face="monospace, monospace" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></font></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><font face="monospace, monospace" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">2. Is there any other pipeline style or visualization technique in VTK or any settings whatsoever that could bring down the rendering time (memory is not that much of a concern)? Basically, what I have a the moment - in terms of timing - is as follows:</font></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><font face="monospace, monospace" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></font></div></div></blockquote><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div></span><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">Yes, use OpenGL"2". Modern OpenGL programming techniques make it up to hundreds of times faster than the Legacy fixed function "OpenGL" backend.<br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"> <br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><blockquote class="gmail_quote m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071m_-6083094297592396510m_2131272924764224788m_-6323519616493389093gmail-m_-5170571770281318777m_4329449808429185615gmail-m_910782574786711220gmail- m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div dir="ltr" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><font face="monospace, monospace" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></font></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><font face="monospace, monospace" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">Reading data from simulator: 0.042 seconds</font></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><font face="monospace, monospace" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">Create VTK array with data : 0.002 seconds</font></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><font face="monospace, monospace" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">Call to SetScalars : 0.000 seconds</font></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><font face="monospace, monospace" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">Create Lookup Table : 0.001 seconds</font></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><font face="monospace, monospace" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">Render on screen : about 1 second</font></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><font face="monospace, monospace" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">Thank you in advance for any suggestion, my apologies for the long message.</font></div><span class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071m_-6083094297592396510m_2131272924764224788m_-6323519616493389093gmail-m_-5170571770281318777m_4329449808429185615gmail-m_910782574786711220gmail-m_-1709261349134371923HOEnZb m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><font color="#888888" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><font face="monospace, monospace" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></font></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><font face="monospace, monospace" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">Andrea.</font></div></font></span></div>
<br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></span>______________________________<wbr>_________________<br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">
Powered by <a href="http://www.kitware.com" rel="noreferrer" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg" target="_blank">www.kitware.com</a><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">
<br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">
<br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg" target="_blank">http://www.vtk.org/Wiki/VTK_FA<wbr>Q</a><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">
<br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">
<br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">
Follow this link to subscribe/unsubscribe:<br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/vtkusers</a><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">
<br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></blockquote></div><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div></div>
</blockquote></div></div></div><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div></div>
</blockquote></div><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div></div></div>
<br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">______________________________<wbr>_________________<br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">
Powered by <a href="http://www.kitware.com" rel="noreferrer" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg" target="_blank">www.kitware.com</a><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">
<br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">
<br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg" target="_blank">http://www.vtk.org/Wiki/VTK_FA<wbr>Q</a><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">
<br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">
<br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">
Follow this link to subscribe/unsubscribe:<br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/vtkusers</a><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">
<br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></blockquote></div><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br clear="all" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><span class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071m_-6083094297592396510m_2131272924764224788HOEnZb m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><font color="#888888" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div></font></span></div></div><span class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071m_-6083094297592396510m_2131272924764224788HOEnZb m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><font color="#888888" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><span class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071m_-6083094297592396510m_2131272924764224788m_-6323519616493389093gmail-HOEnZb m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><font color="#888888" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">-- <br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071m_-6083094297592396510m_2131272924764224788m_-6323519616493389093gmail-m_-5170571770281318777gmail_signature m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">Ken Martin PhD<div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">Chairman & CFO<br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">Kitware Inc.<br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">28 Corporate Drive<br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">Clifton Park NY 12065<br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><a href="tel:518%20371%203971" value="+15183713971" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg" target="_blank">518 371 3971</a><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><span style="font-size:10pt;font-family:tahoma,sans-serif" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">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>
</blockquote></div><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div></div>
</blockquote></div></div></div><div dir="ltr" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="gmail_extra m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br clear="all" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><span class="HOEnZb"><font color="#888888"><span class="m_2513509854689828223gmail-m_8236705395425571899HOEnZb"><font color="#888888"><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div>-- <br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071m_-6083094297592396510m_2131272924764224788gmail_signature m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">Ken Martin PhD<div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">Chairman & CFO<br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">Kitware Inc.<br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">28 Corporate Drive<br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">Clifton Park NY 12065<br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><a href="tel:518%20371%203971" value="+15183713971" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg" target="_blank">518 371 3971</a><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><br class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"></div><div class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg"><span style="font-size:10pt;font-family:tahoma,sans-serif" class="m_2513509854689828223gmail-m_8236705395425571899m_-2782320011117938071gmail_msg">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></div></blockquote></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 class="m_2513509854689828223gmail-m_8236705395425571899gmail_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>
</font></span></div></div></div></div>
</blockquote></div><br></div></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>