Hi,<div><br></div><div>We came accross something weird when using Visual Studio CLR.</div><div><br></div><div>We have created a very simple VTK pipeline (load a STL file => render => move the camera around while taking screen shots).</div>
<div>Those operation are integrated in a vtkPanel, build as a C++ DLL.</div><div><br></div><div>When using this DLL in a console application (with the VTK default RenderWindow), we get a framerate of 100 fps.</div><div>When using this DLL in a winform application (Visual Studio 6,MFC, no CLR), we get the same framerate.</div>
<div><br></div><div>When using this DLL in a .Net Windows Form (Visual Studio 10, CLR) we get a framerate of 26 fps, which is not acceptable.</div><div>(Obvisously, if we use directly the VTK classes inside the CLR project without building a library, the framerate is even worse : 6 fps).</div>
<div><br></div><div><div>Does anyone have knowledge about using VTK inside a CLR application without such a loss of performance ? Are we missing something ?</div><div><br></div><div>Thanks,</div><div>Fred.</div><div><br>
</div>
<br>
</div>