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

Home > Supported File Formats > PTC Creo to OpenGL C Code


How to convert PTC Creo (Pro/Engineer,.asm,.prt) 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.

     

PTC Creo

Creo is a family of Computer-aided design (CAD) apps supporting product design for discrete manufacturers and is developed by PTC. The suite consists of apps, each delivering a distinct set of capabilities for a user role within product development. They generally compete with SolidWorks, UG NX, CATIA, Solid Edge and Autodesk Inventor.

For over 3 decades Okino has been a primary conversion partner of PTC, especially for our core business focussing on the conversion of their native ProE/Creo (ASM and PRT) and ProductView (PVS, PVZ) files.

Their current product naming can be a bit confusing:

  • Creo Elements/Pro - previously Pro/Engineer
  • Creo Elements/Direct - previously CoCreate
  • Creo Elements/View - previously ProductView

Okino licenses the real and actual ProE/Creo runtime toolkits from PTC directly and hence can guarantee perfect file conversions. Suggested conversion methods include:

  • Via native 'Creo Elements Pro' (Pro/E) files, .asm and .prt.

  • Via PTC .neutral assembly and part files.

  • Via STEP and IGES files.

  • Via native ProductView PVS/PVZ 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.