The 3D display provides the following features:
- Shaded and wireframe views
- Standard views (top, left, etc.)
- Dynamic rotation, pan and zoom
- Defining the center of view rotation
- Rotate using arrow keys
- Save and restore views
- View undo and redo
Dynamic View Manipulation
You can use the following standard methods to change your view dynamically:
- To rotate: press the right mouse button, and move the mouse.
- To pan: press the middle mouse button (mouse wheel) and move the cursor
- To zoom: use the mouse wheel.
- To rotate: press the right mouse button, and then also Ctrl and move the mouse to rotate. The speed of view rotation is dependent on dimensions of a displayed area. This works well especially if large zoom is used.
Other methods are also available – they are usually provided to keep interface compatibility with older versions of VariCAD:
- To rotate: press Ctrl + Shift key, and the left mouse button, and move the mouse to rotate. The speed of view rotation is dependent on dimensions of all visible objects. This works well in most cases except the large zooms.
- To rotate: press Ctrl + Shift key, and the right mouse button, and move the mouse to rotate. The speed of view rotation is dependent on dimensions of a displayed area. This works well especially if large zoom is used.
- To rotate: press the right mouse button, then the left button, and move the mouse. This is the same as Ctrl, Shift and left mouse button.
- To rotate: press the right mouse button, then the left button, Ctrl key and move the mouse. This is the same as Ctrl, Shift and right mouse button.
- To zoom: press Shift and the left mouse button, and move the mouse. Move the mouse up to shrink, down to enlarge.
- To zoom: press the right mouse button, then the middle button, and move the mouse.
- To pan: press Ctrl and the left mouse button, and move the mouse.
- To pan: press the middle mouse button, then the left button, and move the mouse.
- To refresh view, press F6
For dynamic view rotation, zoom or pan all keys and/or mouse buttons must be held simultaneously, of course.
Dynamic view changes can be set in command “CFG”.
Animated View Changes
If view is not changed dynamically by cursor movement or mouse wheel rotation, the change is animated. For instance – if you select a front view and the current view is under a random angle, the view is not redrawn immediately. Angle of view is changed within a few tenths of second. This gives you better impression of the change.
VariCAD permanently checks time of redrawing. If you have slow graphics and if you want to redraw a large amount of 3D data, animation is automatically turned off. Animation of view changes can be managed in command “CFG”.
You can use a predefined angle of 3D view. Predefined view is created from front view by rotation around X, Y and Z axes of display. It can be set in command “CFG”. By default, the predefined view is used whenever a new file is created.
Predefined View - PRV
This command sets the view according to predefined angles.
Rotating View Using the Arrow Keys
You can use the arrow keys to rotate the view around a specific axis. Press Shift, Ctrl, or both, and then press the following:
- Left or right arrow to rotate around the Y axis
- Up or down arrow to rotate around the X axis
You can use the keys in combination to change the view angle.
3D View Tools
Left View - VLE
Right View - VRI
Front View - VFR
Back View - VBA
Top View - VTO
Bottom View - VBO
Isometric View 1
Isometric View 2
View to Plane - RNP
Sets the view perpendicular to a selected plane. This tool is useful especially when creating a 2D view export.
Rotate View Around X 90 Degrees - X90
Rotate View Around X 180 Degrees - X180
Rotate View Around X 270 Degrees - X270
Rotates the view by the specified angle around the global X axis (horizontal axis)
Rotate View Around Y 90 Degrees - Y90
Rotate View Around Y 180 Degrees - Y180
Rotate View Around Y 270 Degrees - Y270
Rotates the view by the specified angle around the global Y axis (vertical axis)
Rotate View Around Z 90 Degrees - Z90
Rotate View Around Z 180 Degrees - Z180
Rotate View Around Z 270 Degrees - Z270
Rotates the view by the specified angle around the global Z axis (perpendicular to display plane)
Undo View - ZPR
Redo View - ZRD
Zoom Window - ZWI
Defines the zoom by specifying opposite display corners
Zoom All - ZALL
Adjusts the view to display all visible objects
You can save up to eight views that contain rotation, zoom and pan settings. The Predefined Tools toolbar enables you to easily restore these saved views.
|Save View - click this icon and select the number of the saved view.|
The other icons on this toolbar restore the numbered views. Your views are saved with the file.
Both the 2D and 3D components of a file can each contain eight saved views.
Predefined Views toolbar
Shaded and Wireframe Display
Shade/Wireframe Entire Display - SHW
Switches the display from shaded to wireframe or vice versa.
3D Display Settings
3D Shading and Edges Settings - 3DS
Enables you to change how 3D objects are displayed. You can define:
- Displaying edges. You can define shininess of edges, edges darkness and whether the tangent connections of patches are displayed.
- Surface reflectance. Enables to set light attributes and defines method of surface shading. See Surface Shading.
Colors and Wires of Solids - SCO
This function defines:
- Density of non-planar surface wires. Density setting affects solids displaying, if all space is displayed as wire-framed or if a particular solid is displayed as wire-framed.
- If the entire solid is displayed in the same color. Otherwise each component added to the solid during past Boolean operations is displayed in the original color.
- If the solid is displayed in color assigned to material (like a particular steel grade, for instance). Then, solids are distinguished by material colors. If a color for given material is not defined, or if a solid has no material defined, then a common color is used. See List of Materials.
- Colors of new solids. New 3D objects like a solid, hole, filleting etc. are created in the selected color.
You may also select different colors for entire groups of objects. Thus, the objects are distinguished easily from the rest. This option overrides objects' own colors, if turned on. Turned off, the objects are displayed again in their own colors.
You may select a distinct color for:
- Threaded surfaces
- Mechanical parts inserted from libraries
These options are turned off, if a color is defined by solid’s material.
Solid display settings window
View Rotation Center
Whenever you rotate 3D view, the view rotates around a defined point. You have several methods to redefine the view rotation center. The best option is to right-click an empty area and to select the change from pop-up menu.
Auto View Rotation Center - VCN
Sets the view rotation center to the center of geometry of all visible solids.
Define View Rotation Center - VCNI
Sets the view rotation center to a specified location, selected by cursor.
View Rotation Center to Display Center
Sets the view rotation center to center of viewport. This option is especially recommended for enhanced rendering.
Enhanced Rendering - SRD
Renders 3D objects more precisely. Smoothly rendered images are realistic and can be used in product presentation materials such as brochures, printed PDF files, folders etc. Once selected, enhanced rendering persists until any 3D edit function is called. It means that you can use all functions working with display, like standard views, view rotation etc. and enhanced rendering is still present. Display settings are the same as for standard mode; however, set values are different for each display mode.
Enhanced rendering is recommended if you want to create a bitmap output of images, or for printing of 3D display.
For enhanced rendering, you can set the following attributes:
- Surface reflectance. Enables to set light attributes and defines a method of surface shading. See Surface Shading.
- Display perspective. You can turn perspective on or off. If the perspective is on, you can smoothly change relative eye distance. This distance is defined as eye distance from nearest 3D space location divided by 3D space dimension.
- Light position. Defines the light position by the cursor movement.
- Reset light position. Sets the light position above the center of display.
- Round surface smoothness. Each non-planar surface is displayed as a certain amount of tiny planar facets. If the number of facets is increased, displaying is more precise and slower. Facets are obvious, for instance, on a cylinder in large zoom, if the sight line is parallel to the cylinder axis.
- Edges displaying. You can define shininess of edges, edges darkness and whether the tangent connections of patches are displayed. These settings are similar to standard display settings.
- Threads displaying. We recommend to turn off the different color of threads, if you use such option for standard rendering.
For surface shading, you can set the following attributes:
- Specular reflectance. Defines lightness of surface lighted under zero angle. If set to 0, no light spot under light source is displayed and surface shininess setting is ineffective.
- Surface shininess. Defines contrast of the light spot under the light source.
- Light ambient intensity. Defines intensity of scattered light. This value can be set only for precise displaying.
It is recommended to combine enhanced rendering with selection of a proper color palette. All values can be changed by cursor movement, effect is seen immediately and values can be reset whenever.
The settings are different for shaded solids and for transparent solids.
Shading surface settings window
Setting 3D Display Performance
During start, VariCAD detects supported OpenGL version. If available, OpenGL 4.3 or at least 4.0 is used. For older hardware or insufficient OpenGL support, VariCAD works with OpenGL 1.1. In such situation, some features may be limited.
OpenGL 4.0 and higher allows you to fully exploit power of graphic adapter (card). Rendering time of large 3D data is significantly shorter than under old OpenGL 1.1.
If necessary, you may redefine which OpenGL version is used – although we recommend to let the decision at VariCAD system. To change the OpenGL version, run command “CFG” and then select “OpenGL Version and Initialization Settings”.
To change functionality of OpenGL, you may run command “CFG” and select “Performance, 3D Graphics, OpenGL”. For OpenGL 4.0 and higher, you may select:
- Usage of render buffer for detection (by default on, change only in case of problems).
- Image quality – anti-aliasing. For most of hardware, we recommend to work with compromise between speed and quality – Multisampling 4x.
If hardware does not support anti-aliasing sufficiently, VariCAD automatically turns it off. You may override such blocking.
Example of the aliased display method
Example of the anti-aliased display method
For old OpenGL 1.1, you may select:
- Method of display of 3D objects (working with display lists)
- Method of detection of 3D objects
- Highlighting of 3D objects
Again, we do not recommend to change the behavior, if there are no problems detected. Changing these settings may be useful only if hardware or display driver performance is erroneous and you are looking for a method how to circumvent problems.
Hardware accelerated OpenGL
VariCAD is an OpenGL application. It means that for displaying of 3D objects, VariCAD uses the OpenGL functionalities. The OpenGL standard is widely supported by hardware manufacturers.
We recommend to work with hardware accelerated OpenGL. It means that final displaying of 3D objects is calculated directly in the graphic adapter (or, in other words, in the graphic card). Even in case the computer is fast enough, displaying is slower if calculated by CPU. Moreover, software emulation of OpenGL may not be always fully compatible with the standard. This may be a problem especially for older hardware.
If you are working under Windows operating system and if your computer has a graphic adapter like NVIDIA or ATI, OpenGL is likely hardware accelerated. Only some cheap solutions working with graphic adapters integrated on the board may be slow.
Under Linux operating systems, OpenGL may not be fully supported. To solve this problem, we recommend you the following:
- Make sure if you have the latest proprietary driver of the graphic adapter. You can download it from corresponding web sites (for instance, from http://www.nvidia.com for NVIDIA graphic cards). You can also find installation instructions there.
- The installation of the hardware accelerated driver may be necessary after upgrading Linux. Sometimes, Linux may offer the installation of accelerated drivers automatically.
- If the proprietary driver is installed and VariCAD still displays a warning message, or 3D graphic remains slow, look at the file “errors.txt”. This file is in your working directory. It may contain clues explaining why the graphic adapter does not work properly.
- Also, the system may not access related device files, because they have not correct permissions. This can be solved if you run the “User managements” and add membership in a group “video” for each user. The related device files can be accessed by the user group “video” and if the user is not a member of the group, applications launched by him cannot access corresponding files.
Test of Hardware Performance
Test of Hardware - HWTEST
This function is useful if you want to compare performance of different VariCAD settings or different hardware, like graphic adapters, main boards, processors etc.
The best option is to run the test after start of VariCAD, with no open files. VariCAD creates its own benchmark file. Then, hardware performance is measured. Results are displayed and can be saved into a text file. For the benchmark file, results are comparable. Optionally, you may run the test with any currently open file.
The test measures and displays:
- Hardware and system configuration
- Time of display preparation (tessellation). Result depends on CPU and GPU (Processor and graphics).
- Time of rendering of all objects. Result depends on GPU (only graphics).
- Time of detection preparation. Result depends only on GPU.
- Optionally, time of rebuilding of 3D solids. Result depends on CPU (Computer processor)
Results depend also at other hardware components.