<div dir="ltr">1) pvserver is not a web server. It is meant to run on a cluster for very large visualization. Which is definitely not what you are looking for.<div><br></div><div style>2) The html page is the only file needed for you. The other files were used for development of custom web page when streaming could be involved.</div>
<div style><br></div><div style>Regarding your question about the scripting part, it is definitely doable but I don&#39;t know the step on the top of my head.</div><div style><br></div><div style>You can try to use the trace and see if that give you the proper python command for pvpython. Otherwise, you should be able to use vtkpython without ParaView.</div>
<div style><br></div><div style>Seb</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 24, 2013 at 4:24 AM, Dani Mora <span dir="ltr">&lt;<a href="mailto:daniel.mora.checa@gmail.com" target="_blank">daniel.mora.checa@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello everybody,<div><br></div><div>I just started to use Paraview and I got a bit stuck. We have some JSP pages where we want to embed and visualize some .vtk models. I considered two options at first:</div>
<div><br></div>






<div>1- Deploy a server that will render the models. I tried to do that but I found that I should compile again Paraview to start the pvserver (to enable the MPI). I followed the steps here: <a href="http://paraview.org/Wiki/ParaView:Build_And_Install" target="_blank">http://paraview.org/Wiki/ParaView:Build_And_Install</a> but I got some compiler errors that I have not been to solve.</div>







<div><br></div><div>2- Export the .vtk models into webgl (using the Paraview GUI) and embed the resulting .html documents as JSP pages . This is the simple approach and works so far. Regarding this option, I have two questions:</div>







<div>    </div><div>    - When exporting from vtk to webgl, we get one HTML file, one WebGL file and around 20 tiny files with unknown information. Since it works using only the HTML one, what are the rest of the files for?</div>







<div><br></div><div>    - I need this task (to export) to be automatized because it is possible that we will have many models in the future. I tried to use Python scripting but I could not find how to do it.  Any idea about how to do it? Is there any documentation I could read? I was thinking of extracting this functionality from the source code but I am looking for a &#39;smarter&#39; solution.</div>





<div><br></div><div>Thanks a lot in advance, and sorry if some of the questions are very basic.</div><div><br></div><div>Daniel.</div><div><br></div><div>PS: I am working under Windows as a constraint of the project.<br>




PS2: I recently found the X Toolkit WebGL (<a href="https://github.com/xtk/X#readme" target="_blank">https://github.com/xtk/X#readme</a>) that is currently working, but I would like to have other options anyway. <br></div>






<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>