<div dir="ltr"><div><div>Hi Magnus,<br><br></div>I don't know much about getting ParaView to work in the client-server mode you describe and less about the Unreal engine, but if you are willing to sacrifice a little bit of rendering speed would be to build VTK with OSMesa and let it do software rendering rather than requiring a hardware context (which it can't seem to get due to some interference with Unreal).  I just thought I would point out the option, you can try it and decide if you think the rendering speed hit is too much.<br><br></div><div>HTH,<br></div>Shawn<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 16, 2016 at 8:49 AM, corinna reuter <span dir="ltr"><<a href="mailto:corinnareuter75@gmail.com" target="_blank">corinnareuter75@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"><div><div><div><div><div>Sorry, my Paraview experience is too limited and my Unreal knowledge is zero, so that I won't be able to give you anything else than some ideas.<br></div>First of all, Paraview cannot compete with game engines in terms of rendering speed, because the data structures are more complicated.<br></div>Still, if you write your own "Paraview client", you'll end up with the original paraview application reduced to only the 3d view widget. You could suppress its output and grab the image data.<br></div>I guess you have already considered fixing the OpenGL setup. If you are running on a headless cluster, you could install the osmesa implementation.<br></div>But without a thorough understanding of how you are interfacing with the Unreal engine in detail and what data type and sizes and frame rates you expect, I cannot suggest anything else than following the wiki on custom Paraview applications. I am sure, others on this list will help.<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888">Corinna<br></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 16, 2016 at 2:02 PM, Magnus Elden <span dir="ltr"><<a href="mailto:magnus_elden@hotmail.com" target="_blank">magnus_elden@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Hi,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p><div><div><div><span><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in"><div><div><p class="MsoNormal">I think you should explain why you don't want to use the paraview application as your client.<u></u><u></u></p></div></div></blockquote><div><p class="MsoNormal"><u></u> <u></u></p></div></span><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">I am using the Unreal Engine 4 for my project and I want to use the power of Paraview to read and render scientific volume data. I tried writing a small program using the VTK library, but I was unable to get it to work due to the program complaining about not being able to find/create an OpenGL context. As such I am forced to separate the rendering and the Unreal program. Having the client and the servers separated is something that Paraview supports natively and as such I do not imagine that it should be more difficult than to implement a code only client that my UE4 program uses to interface with the Paraview servers. <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">As you can see, I am unable to use the paraview application because I will be using another application. Since UE4 has no real support for volume data or scientific visualization I am left between a choice of implementing everything that Paraview already has or writing a new client that handles the translation between my UE4 program and the Paraview server. <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">The former option will force me to spend a lot of time implementing an inferior version of parts of Paraview and the latter require me to create a client that is able to communicate properly with the servers. I would argue that the latter is less work if good documentation and specifications are to be found. Further, I would think that the project can scale much more effectively if I am able to utilize the Paraview servers.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">I hope to feed the paraview servers with user made updates and then feed the resulting render back to the UE4 application in order to present it to the user.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Yours, <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Magnus Elden<u></u><u></u></span></p></div></div></div></div></div></div></blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/<wbr>ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>