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

Home > Supported File Formats > Autodesk Inventor to OpenGL C Code


How to convert Autodesk Inventor (.iam,.ipt) 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.

     

Autodesk Inventor

Autodesk Inventor is Autodesk's main MCAD "BREP solids" modelling software program which has competed with its rivals of SolidWorks, ProE/Creo, Solid Edge, Unigraphics NX (and partly) CATIA v4/v5 since its original release in 1999.

The file formats of key importance would be ".ipt" which contains the geometry of each part/object in the scene, and, ".iam" files which contain the scene assembly information.

Conversion from Autodesk Inventor into Okino software is handled by these 3 ideal methods:

  • Via DWF-3D files exported from Inventor. This is the most ideal and "least mentally taxing" conversion method. It also supports material and texture map conversion.
  • Via native import of the .iam or .ipt files,
  • Via STEP AP214 or IGES 'BREP solids' files.

     

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.