Preferences¶
This dialog contains various options for configuring the Ocean application
Working directory¶
Set this to the directory where you usually store your scene files and resources (images, materials, etc...)
When entering a relative path for any file in your scene (texture image, envmap, ...), Ocean will search for this path in the scene folder, and in the working directory defined here.
During Network distributed simulation, Ocean communicates to the servers using paths relative to this folder. Therefore, this working directory must be properly set on all computers running the simulation, and the scene files must be there.
The Log file log is also saved in this folder
Auto save directory¶
When simulation is stopped, Ocean may be configured to save the results automatically in this folder. See Auto save below
Library folders¶
Ocean will look for libraries in these folders during startup. Add some folders if you are using other libraries than the ones shipped with Ocean.
Working threads¶
By default, Ocean will use an optimal number of threads during simulations, and use all CPU resources available. You can reduce this number if you want to keep CPU resources available for other applications. Lowering it by 1 or 2 is generally enough to keep the user interface of another program responsive.
The minimum value is 1, the maximum value depends of the number of cores in your system.
Auto save¶
You can select here the result data that should be saved automatically by Ocean when the simulation stops.
Log file¶
You can enable saving a log file here. It will record everything from the Local log toolbox, as well as other information. The three options are:
- None : do not create any log file
- Overwrite : the log file is named
ocean.log
in the working directory. Restarting Ocean overwrites this file.- Keep all : one log file is created every time Ocean is launched, with a date in its name.
Network port¶
You can choose here the TCP/IP port used by the Ocean server for Network distributed simulation. You may change it if this port is blocked by another application, or if you need to start several server nodes on the same host.