I found notes to myself, that I wrote when I was testing this new feature, from 
 last July.  However, we do need this documented, since there are many, many 
settings that a user can create defaults for.

Here are my notes:

- Install ParaView in some directory $INSTALL
- Delete $HOME/.config/ParaView directory
- Launch paraview (local server)
- Edit -> Settings...
- Click on gear icon to enable advanced settings
- Click on Render View tab
- Enter search text "Off". See that offscreen rendering is not enabled
- Quit ParaView
- Create a file $INSTALL/share/paraview4.1/ParaView-SiteSettings.json with the 
content

{
   "settings" : {
      "RenderViewSettings" : {
         "UseOffscreenRenderingForScreenshots" : 1
      }
   }
}

- Launch paraview
- Edit -> Settings...
- Click on Render View tab
- Enter search text "Off". See that offscreen rendering is now enabled
- Remove search text
- Click on General tab
- Enable "Automatically convert data arrays as needed..."
- Click OK in settings dialog box
- Quit ParaView
- View file $HOME/.config/ParaView/ParaView-UserSettings.json
- It should have the contents

{
   "settings" : {
      "GeneralSettings" : {
         "AutoConvertProperties" : 1
      },
      "RenderViewSettings" : {
         "UseOffscreenRenderingForScreenshots" : 1
      }
   }
}

Note that you can also define the environment variable PV_SETTINGS_DEBUG to 
view the directories where the settings are being searched.

Alan


From: Moreland, Kenneth
Sent: Thursday, October 02, 2014 1:13 PM
To: Scott, W Alan; [email protected]
Subject: Re: [Paraview] PV 4.2.0 custom site settings

I see some hints about it in this bug report: 
http://www.paraview.org/Bug/view.php?id=13575

It looks like there is a Wiki page that is supposed to talk about user- and 
site-specific settings (http://www.paraview.org/Wiki/ParaView_Settings_Files), 
but it looks to be quite a bit out of date. Someone should probably update this 
information. (One, two, three, not it!)

-Ken

From: <Scott>, Walter Scott <[email protected]<mailto:[email protected]>>
Date: Thursday, October 2, 2014 at 1:02 PM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: [EXTERNAL] [Paraview] PV 4.2.0 custom site settings

I am trying to set default offscreen rendering in ParaView for my site.  Where 
is this new functionality located?  Where is it documented?

Thanks,

Alan



_______________________________________________
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://public.kitware.com/mailman/listinfo/paraview

Reply via email to