Are you using the same paraview binary when you compare pvweb and pv? 

> On Mar 17, 2014, at 5:24, David Torres <[email protected]> wrote:
> 
> Hi Seb,
> 
> Thank you for the information :)
> 
> There is not network involved. I am using the same machine as client and 
> server (I access like this: http://localhost:8080/apps/Visualizer/)
> 
> I changed the quality of the images and there is no difference in the 
> performance (you were right). So, then, what is the bottleneck? Server and 
> client is the same machine and I can move fluently (25-30fps) the models I am 
> opening with ParaViewWeb if I open them just with ParaView.
> 
> By the way, I have the bad performance in ParaViewWeb (2-5 fps) even if I 
> don't load anything and I only move the axes. Any idea where the bottleneck 
> might be? Anything I can do to find it out?
> 
> Many thanks in advance for your help.
> 
> Best regards,
> 
> David Torres
> 
> 
> Computer Scientist
> Renuda UK
> 
> 
> tel: +44 (0)20 3371 1709
> web: www.renuda.com
> 
> 
> Renuda UK is registered in England and Wales.  Company number 6218863.
> VAT registration number 918 6490 91. Registered office: 35 Charleville Road, 
> London W14 9JJ, UK.
> Renuda registered trade mark.
> From: Sebastien Jourdain [[email protected]]
> Sent: 14 March 2014 20:22
> To: David Torres
> Cc: [email protected]
> Subject: Re: [Paraview] Where is the properties file for ParaViewWeb?
> 
> Are you trying directly on the machine that act as the server, or using a 
> remote client? On what network type?
> Because usually when I get 2-5 fps, it's because the server is in US and I'm 
> on a basic DSL line in France…
> 
> I'm not sure that lowering the image quality will change that much. In fact, 
> it already do it by default.
> 
> I'm still thinking the issue is somewhere else.
> 
> Anyway to change the quality, you will need to edit the 
> www/apps/Visualizer/index.html
> 
> […]
> // Build application
> function init() {
>    // - viewport
>    $(".viewport-container").empty();
>    viewport = vtkWeb.createViewport({
>          session: session,
>          interactiveQuality: 30,
>          stillQuality: 100
>    });
> […]
> 
> Here is the full documentation about that: 
> http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/api/vtkWeb.Viewport
> 
> Seb
> 
> 
>> On Fri, Mar 14, 2014 at 12:12 PM, David Torres <[email protected]> 
>> wrote:
>> Hi Seb,
>> 
>> I tested in Chrome 26.0.1410.63 and in Firefox 20.0 (Mozilla Firefox for 
>> Ubuntu canonical - 1.0)
>> I got similar results. I also noticed that the selector which changes from 
>> "Images" to "WebGL" or "VGL - WebGl" is not doing anything (or at least I 
>> cannot see any difference). In any case I am interested in "Images" i.e. 
>> rendering in the server. But I would need to low the quality of the images 
>> in order to boost the performance.
>> 
>> Could you point any instructions that allow me to change the images 
>> resolution when the model is being moved?
>> 
>> Many many thanks :)
>> 
>> PS: Only as an example, in order to clarify: I have tried a mesh with 100 
>> cells and a mesh with 10 million cells. I am getting exactly the same 
>> performance for both of them (2-5 fps). 
>> 
>> 
>> Best regards, 
>> 
>> David Torres
>> 
>> 
>> Computer Scientist
>> Renuda UK
>> 
>> 
>> tel: +44 (0)20 3371 1709
>> web: www.renuda.com
>> 
>> 
>> Renuda UK is registered in England and Wales.  Company number 6218863.
>> VAT registration number 918 6490 91. Registered office: 35 Charleville Road, 
>> London W14 9JJ, UK.
>> Renuda registered trade mark.
>> From: Sebastien Jourdain [[email protected]]
>> Sent: 14 March 2014 16:38
>> 
>> To: David Torres
>> Cc: [email protected]
>> Subject: Re: [Paraview] Where is the properties file for ParaViewWeb?
>> 
>> Hi David,
>> 
>> you are right, your browser will just display the images that are sent by 
>> ParaViewWeb.
>> 
>> BTW, which browser+version are you using?
>> 
>> Thanks,
>> 
>> Seb
>> 
>> 
>>> On Fri, Mar 14, 2014 at 3:10 AM, David Torres <[email protected]> 
>>> wrote:
>>> Thank you Sabastien,
>>> 
>>> The thing is that in my machine, I have a good performance with ParaView. 
>>> The bad performance is with ParaViewWeb. I am assuming that this is because 
>>> the quality of the images that is sending is too high (I think the browser 
>>> is not rendering, only receiving images from the server, am I right?).
>>> 
>>> For the record, I installed ParaView using 
>>> `sudo apt-get install paraviewopenfoam410`
>>> as `sudo apt-get install paraview` was installing the version 3.X and here 
>>> [1] says that 4.1 or newer is required in order to have ParaViewWeb.
>>> 
>>> Thank you for your help.
>>> 
>>> [1] 
>>> http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/guide/quick_start
>>> 
>>> Best regards,
>>> 
>>> David Torres
>>> 
>>> 
>>> Computer Scientist
>>> Renuda UK
>>> 
>>> 
>>> tel: +44 (0)20 3371 1709
>>> web: www.renuda.com
>>> 
>>> 
>>> Renuda UK is registered in England and Wales.  Company number 6218863.
>>> VAT registration number 918 6490 91. Registered office: 35 Charleville 
>>> Road, London W14 9JJ, UK.
>>> Renuda registered trade mark.
>>> From: Sebastien Jourdain [[email protected]]
>>> Sent: 14 March 2014 04:02
>>> To: David Torres
>>> Cc: [email protected]
>>> Subject: Re: [Paraview] Where is the properties file for ParaViewWeb?
>>> 
>>> Hi David,
>>> 
>>> The file pw-config.properties is used with the Java version of the 
>>> launcher. Now with the latest release, we also provide a Python one.
>>> => 
>>> http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/guide/py_launcher
>>> 
>>> Moreover, those configuration files are used to configure a front-end web 
>>> server that will trigger pvpython command lines. For testing out 
>>> ParaViewWeb, those front-end are optional. Although, it should be pretty 
>>> easy to setup the python one by creating a config file that match your 
>>> local setting.
>>> For real deployment read the EC2 documentation that explain how to setup 
>>> apache to deal with the ws forwarding.
>>> 
>>> Regarding the performances, on a local machine, you should be around 30 
>>> fps. So I suspect, you don't have a proper driver for your graphic card. If 
>>> you have an Nvidia graphic card, try to install their driver.
>>> 
>>> Thanks for letting me know that the script does not work for you, I'll fix 
>>> it once I have a chance.
>>> 
>>> Seb
>>> 
>>> 
>>>> On Thu, Mar 13, 2014 at 11:01 AM, David Torres <[email protected]> 
>>>> wrote:
>>>> Hello,
>>>> in Linux using apt-get, and started the 
>>>> 
>>>> I am starting with ParaViewWeb. I installed Paraview 4.1.0. in Linux using 
>>>> apt-get, and started the ParaViewWeb server using the guide in [1].
>>>> 
>>>> I found is working very slow, even in local (2-5fps I think). And I read 
>>>> that I could play with images quality but I don't know where can I change 
>>>> them. Here [2] says there is a file called pw-config.properties which I 
>>>> couldn't find (I used `find / -name pw-config.properties`). I guess it 
>>>> belongs to a previous ParaView version.
>>>> 
>>>> Then, my question is: where is the properties file in 4.1.0 and what is 
>>>> its name? Will I be able to change the quality of the images there?
>>>> 
>>>> By the way, I tried the script provided in 'Simple Install' section in 
>>>> [1]. It has a mistake in the line 15.
>>>> It is:
>>>> `data = "ParaViewData-v4.1.zip"`
>>>> and it should be
>>>> `data = "ParaViewData-v4.1.0.zip"`
>>>> 
>>>> However, after correcting that, is still failing in line 160 at some point 
>>>> (at least in Linux) and I couldn't find the error.
>>>> 
>>>> Thank you in advance for your help.
>>>> 
>>>> [1] 
>>>> http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/guide/quick_start
>>>> [2] http://www.paraview.org/Wiki/ParaViewWeb_Server_setting
>>>> 
>>>> Best regards,
>>>> 
>>>> David Torres
>>>> 
>>>> 
>>>> Computer Scientist
>>>> Renuda UK
>>>> 
>>>> 
>>>> tel: +44 (0)20 3371 1709
>>>> web: www.renuda.com
>>>> 
>>>> 
>>>> Renuda UK is registered in England and Wales.  Company number 6218863.
>>>> VAT registration number 918 6490 91. Registered office: 35 Charleville 
>>>> Road, London W14 9JJ, UK.
>>>> Renuda registered trade mark.
>>>> 
>>>> _______________________________________________
>>>> Powered by www.kitware.com
>>>> 
>>>> Visit other Kitware open-source projects at 
>>>> http://www.kitware.com/opensource/opensource.html
>>>> 
>>>> Please keep messages on-topic and check the ParaView Wiki at: 
>>>> http://paraview.org/Wiki/ParaView
>>>> 
>>>> Follow this link to subscribe/unsubscribe:
>>>> http://www.paraview.org/mailman/listinfo/paraview
> 
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to