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

Home > Supported File Formats > CINEMA-4D to OpenGL C Code


How to convert CINEMA-4D (.c4d) 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.

     

CINEMA-4D

CINEMA 4D (C4D) is a well known and respected 3D DCC/Animation software program by MAXON Computer of Germany. C4D came to take on a much larger market share in the 2010's decade (and beyond) once other animation packages waned or went out of business.

Okino has been MAXON's primary 3D conversion partner since 1998 and hence has very strong support for importing, exporting and converting C4D files without the need to have a local copy of C4D installed.

It should be noted that no software program can read or write 3ds Max (.max) or Maya (.ma) files, just as was the case with CINEMA 4D prior to release v12. Hence, as is little understood, the proper way to convert C4D files to/from 3ds Max is via the Okino PolyTrans-for-3dsMax system and to/from Maya via the Okino PolyTrans-for-3dsMaya system.

However, Okino's primary focus is to provide the main industry standard CAD file conversion support to C4D 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.