 |
» |
|
|
 |
Increasing available memory (V17 only) |
 |
 |
To increase the process space to 2.9gb with NXV17 run "chatr +q3p enable $UGII_BASE_DIR/ugii/ugraf".
For NX V18 this is not necessary.
|
|
 |
Performance optimized page sizes (POPS) |
 |
 |
The HP-UX10.20 default page size is 4K while HP-UX 11 is 16K. Running NX on HP-UX 11 does improve performance because of the increased default page size. HP-UX 11 does have the capability of increasing the page size more. An exact recommended size cannot be determined because the size will vary based on available memory and NX part/assembly size. NX testing with various part sizes and memory shows 4M to be a good setting.
To change the page size for NX use the "chatr +pd 4M exec_name" where exec_name is:
$UGII_BASE_DIR/ugii/ugraf $UGII_BASE_DIR/ugii/uglibs/*.sl (expand *.sl for each library) $UGII_BASE_DIR/ugii/uglibs/XXX/libgraphics_driver.sl (where XXX is ogl, xsb or xwi).
|
|
 |
OpenGL graphics |
 |
 |
UG V16 was the last supported release for Starbase graphics. OpenGL is now the default.
|
 |
NX and multiple processors |
 |
 |
The NX solid modeler, Parasolid, is SMP capable and can utilize multiple processors. The SMP features are limited to Parasolid operations only. The remainder of NX does not use SMP. To run NX on multiple processors, export UGII_SMP_ENABLE=1. To turn off SMP, unset UGII_SMP_ENABLE. A typical user may see a 20% performance increase when using NX for Parasolid intensive operations. These operations include boolean operations, silhouette lines and mass properties.
|
 |
user function (UGUSER) |
 |
 |
There is a known problem running NX User Functions where two unresolved symbols, pthread_attr_init and pthread_create, will be reported. These are not used by NX and can be ignored. This has been corrected with HP patch PHSS_20736 (or later).
|
 |
Performance with large parts |
 |
 |
By default, NX on HP for V16 and later uses OpenGL display lists for improving performance of dynamic operations (pan, zoom, rotate) for typical sized parts. However, this option does use more memory. If you suspect your part is so large that you run out of memory and get into paging situations (slow), then you can disable NX's use of display lists by setting this environment parameter before running NX: export UGII_USE_DISPLAY_LISTS=NONE
|
 |
Stereo graphics mode |
 |
 |
This note applies to Visualize-FX2/4/6/5/10 boards on HP-UX (both 10.20 and 11.0).
Before bringing up NX, ensure the X server is brought up with stereo. This can be done by going to sam/display/monitor and then actions/"modify monitor type", and selecting a monitor type that has "stereo in a window" in its description. (If there are no configurations with stereo, then the graphics board does not support stereo.) After testing the monitor and ensuring the monitor is compatible with the stereo setting, accept the selection. This will restart the X server.
Add the NX stereo resource to the Ugrafxxx file: *Ugrafxxx.stereo: TRUE
Make sure that there are no spaces on the line except between the : and the word TRUE.
If your Ugrafxxx file resides in a directory other than the default location (where NX is installed) then you must set an additional environment parameter to pick up the correct resource file. For example, if the Ugrafxxx file resides in /users/johndoe, then execute the following before starting NX: export XAPPLRESDIR=/users/johndoe
XAPPLRESDIR is a standard X environment parameter.
Stereo is fully supported in the studio mode. However, there is a bug in studio mode when there is a background. If the background is anything other than none, the stereo buffers are adversely affected. A work around is to disable backgrounds as follows:
go to view/visualizations/visual effects. There are two buttons named "Type" in that dialogue. Press the second one and select "None" instead of "Graduated" or any of the other selections.
To turn on stereo in NX V16 and later, go to Preferences/Visualization/Special Effects and turn on stereo
If the "Stereo" button is grayed out, that means one of the previous steps did not complete.
StereoGraphics has Crystal Eyes glasses which will combine the two images into one stereo image.
Note - To run Stereo on SV7, you must also set the following environment variable:
export HPSV_ENABLE_STEREO_UG=1
|
|
 |
Full-Scene Anti-Aliasing |
 |
 |
To configure the graphics subsystem for Full-Scene Anti-Aliasing
- login as root, invoke Sam, go to Display/Xserver Configuration and select the active screen (inactive screens are grayed out) and then press Actions/Modify Screen Options.
- There, select “FSAAScale” and turn on the check-box for “Set option”.
- Set the “Value” to 4 (Note - to enable stereo you should select stereo and turn on the check-box for “Set Option”. Press OK and exit).
The X server will restart with these new settings.
Before running NX, set the UGII_FULL_SCENE_ANTIALIASING environment parameter to 4. Bring up a part in NX. To enable Full-Scene Anti-aliasing go to preferences/visualization/visual and check on "line anti-aliasing". Make sure that under preferences/visualization/performance "Disable Anti-aliasing" is not enabled. |
|
 |
Multiple/wide-field display (visualization center) |
 |
 |
Starting in version 16.0, NX on certain HP-UX configurations supports multiple graphics devices using HP's "VISUALIZE Workgroup" and "VISUALIZE Center". "Workgroup" systems can support up to three graphics devices in one J5x00-class workstation. The "VISUALIZE Center" system synchronizes multiple J5x00 workstations through a dedicated graphics LAN. Both systems expand the user desktop to a panoramic field of view for many 2D and newer 3D applications. Through the addition of optional wide field display devices (such as multi-projector environments) and stereo vision equipment, one can create a powerful medium for presentations and interactive team design activities. See your HP representative for more information on purchasing or upgrading to VISUALIZE Workgroup and VISUALIZE Center system configurations.
The graphics devices and their settings should always be identical. Requirements are: OpenGL patch PHSS_19276 or later as well as an OpenGL-capable version of NX.
|
|
 |
Elliptical circles |
 |
 |
With resolutions of 1600 x 1200 and 1920 x 1200 you may get circles that look elliptical. In these resolutions NX stretches more in the X direction more than the Y direction. You can resolve this by adjusting your NX window's aspect ratio in NX's Preferences/Visualization/Screen/"Calibrate Screen". Refer to NX documentation for further information.
|
 |
NX Graphics options which impact performance |
 |
 |
backface culling
The Backface Culling option specifies whether the graphics driver should disable rendering of backfacing polygons in shaded views. When Backface Culling is enabled, any surface facets that have normals directed away from the viewer are not rendered. This can substantially enhance performance. This feature is enabled through the Preferences -> Display -> Graphics Options menu or by entering the following line in the Ugrafxxx file, where XXX is the NX version: *Ugraf1xxx.backfaceCulling: TRUE
For entities such as sheet bodies, however, Backface Culling may cause incorrect entity display. If incorrect display occurs, disable the feature.
disable backlighting
The Disable Backlighting option specifies whether the graphics driver should disable lighting of facets that have normals directed away from the light source. This can enhance performance. This feature is enabled through the Preferences -> Display -> Graphics Options menu or by entering the following line in the Ugrafxxx file: *Ugrafxxx.disableBacklighting: TRUE
For entities such as sheet bodies, however, Disable Backlighting may cause incorrect entity display. If incorrect display occurs, disable the feature.
depth-sorted wireframe
This option specifies whether the graphics driver should sort entities by depth in wireframe views. For wireframe views containing closely spaced entities, enabling Depth Sorting may help you to visually interpret the relative orientation of entities, but will also degrade performance. This feature is enabled through the Preferences -> Display -> Graphics Options menu or by entering the following line in the Ugrafxxx file: *Ugrafxxx.depthSortedWireframe: TRUE
To disable this feature, turn off the appropriate button in the Preferences -> Display -> Graphics Options menu or enter the following line in the Ugrafxxx file: *Ugrafxxx.depthSortedWireframe: FALSE
line antialiasing
The Line Antialiasing graphics option specifies whether the graphics driver should correct unpleasant aliasing of oblique lines. "Aliasing" refers to the jagged, stair-step appearance of lines drawn diagonally across the screen. "Antialiasing" is an alternate process of filling pixels to give a smoother line appearance. Enabling Line Antialiasing affects the appearance of lines only, not shaded or filled regions. This feature should be enabled only when top quality images are needed, as it will degrade performance. This feature is enabled through the Preferences -> Display -> Graphics Options menu or by entering the following line in the
|
|
 |
|
|