What Roles Do Graphics Play in Design and Engineering Software?17 Jan, 2019 By: Gavin Bridgeman
Graphics work in different ways to support 2D and 3D design applications, computer-aided engineering, metrology, and more.
A quick point about both 2D/3D CAD and CAE: In engineering, models tend to be highly detailed, which means large model sizes. Whereas the gaming and entertainment world uses textures for detail, the engineering world uses triangles. For example, it’s not uncommon for a manufacturing model to use triangles to represent the threads of a bolt or hole. Since triangles are used to approximate and visualize these and other curved surfaces, complicated mechanical assemblies may produce tens or hundreds of millions of triangles, which place a significant management and rendering burden on the graphics system. In the CAE space, models tend to have low object counts but very high per-object triangle counts — possibly into the tens of millions. In the AEC world, by contrast, a model may have millions of objects, but each object might only have a dozen or so triangles on average, since many of those objects are composed of flat surfaces.
While the underlying data might be different in each of these scenarios, the end result is the same: Graphics perform the heavy lifting of smoothly rendering these larger models, making it possible to easily move between different data domains. These domains include CAE models with low object counts but high triangle counts; mechanical assemblies with high object counts and a high triangle count per object; and architectural models with massive object counts but a low triangle count per object.
Each of these data domains requires different techniques in data management to ensure good performance. A good graphics engine will handle all of these scenarios. For the typical engineer, performance criteria go beyond fast frame rates to encompass short initial load speeds, snappy selection, quick highlighting, and fast transparency plus engineering-specific tools such as cutting planes for interrogating models, redline and markup tools, view management, and object editing.
Graphics and Metrology Applications
Increasingly, manufacturers are validating parts throughout their manufacturing process, and this has spurred fast growth in the use of metrology applications. Metrology, the science of measurement, makes use of accurate mechanical probes and vision devices to validate that a manufactured part is within the tolerances of the part design. To display metrology data, software must be able to display the original model, which is often a 2D/3D hybrid that contains both the model and the manufacturing tolerances. Once measured, the results are displayed through sophisticated annotations on the 3D model. In many cases, users want to display annotations that include text and color-coded box plots displaying the results of the inspection.
Screenshot from a metrology application showing results annotations. Image courtesy of New River Kinematics.
The needs of metrology software are heightened by the fact that optical inspection machines and laser scanners are now widely used, making the ability to display point cloud data important. Though point clouds are very simple in definition, they are difficult to deal with from a graphics standpoint.
The first complication is their sheer size: It’s not uncommon to see point clouds that comprise billions of points. Handling models of this size requires advanced memory management, meaning not all points can be loaded into memory, so an intelligent way of streaming data from disk to view at different levels of detail is required. Second, because the point data does not include information on how to shade the points, alternative methods such as eye-dome lighting (a shading technique designed to improve the appearance of depth in a rendering) are required for intuitive viewing of the data.
Side-by-side comparison of the same point cloud rendered with (left) and without (right) an eye-dome lighting shader. Image courtesy of Tech Soft 3D.
More Than Pretty Images
The world of engineering graphics today is stunning and vibrant — and tremendously complex. Although graphics work a little differently and play different roles across the spectrum of engineering applications, they’re not just there for aesthetics — they’re there to help users get their work done as effectively as possible. In the end, that’s the role that matters most.
In her easy-to-follow, friendly style, long-time Cadalyst contributing editor Lynn Allen guides you through a new feature or time-saving trick in every episode of her popular AutoCAD Video Tips. Subscribe to the free Cadalyst Video Picks newsletter, and we'll notify you every time a new video tip is published. All exclusively from Cadalyst!