Bl
Bl
Bl
Bl
Bl
You are here:   Home »  Products »  PolyTrans|CAD+DCC  
Bl

Home > Supported File Formats > IGES to OpenGL C Code


How to convert IGES (.igs) to OpenGL C Code (.cpp)?


PolyTrans|CAD+DCC performs mathematically precise CAD, DCC/Animation, GIS and BIM 3D file conversions into all key downstream 3D packages and file formats. Okino software is used and trusted throughout the world by many tens of thousands of 3D professionals in mission & production critical environments, backed by respectable personal support directly from our core development team.

     

IGES

IGES was the defacto 'go-to' MCAD translation file format but has long since been overtaken by the STEP file format. IGES and STEP are equally good file formats to translate CAD and MCAD model data files but it all depends on how well the files are exported from the corresponding MCAD modeller software.

As an ANSI standard since 1980, IGES has been used in the automotive, aerospace, and shipbuilding industries. Version 5.3 (1996) is the last published and stable standard of IGES. IGES is one of the original CAD vendor-neutral 3D data translation file formats which was designed for high fidelity data exchange between all major professional 3D modelling applications. IGES uses the .igs and .iges file extensions.

Okino's PolyTrans|CAD provides for a defacto 3D IGES file conversion solution used by the world's primary & professional engineering, aerospace, military, corporate, animation/multi-media and VR/AR industries.

A much deeper overview plus explanation of IGES, and how it can be best used + understood, is outlined in this Okino WEB page. It is vitally important to understand the differences between "old school" and "new school" IGES files, as this is little understood by most 3D graphics users.

     

OpenGL C Code

OpenGL is a cross-platform application programming interface (API) for rendering 2D and 3D vector graphics. The API is typically used to interact with a graphics processing unit (GPU), to achieve hardware-accelerated rendering.

Okino's OpenGL export converter writes out the scene database as a C code program in the Open GL scene description language. The resulting program can then be compiled and used to draw the 3D database directly using OpenGL. The database is output as a series of polygons with vertex positions, normals, colors and texture coordinates. In addition, the surface definitions (materials) associated with each polygon is used to set up the OpenGL shading parameters. Please note that each object is output as a separate C code function in the resulting file.