05-29-2018 01:36 AM
CVI comes with some examples that use an OGL control to render 3D scenes (oglarm, ogldemo, ogldraw, oglsim).
All of these examples create the scene in the source code (filling an array, drawing shapes or 3D objects, ...).
Is there a way to import a 3D model from file and render it in an OGL control?
Is there an available example?
Assimp import library seems good; API for C should be available and so I expect it can be used from a CVI application (maybe a preliminary compilation to a DLL with a C++ compiler is necessary?) .
Has someone already tried this kind of approach?
05-29-2018 04:51 AM
It seems that SimpleOpenGL sample is a plain C source file, included in a VS project.
The openGL functions seem more or less the same used by CVI OGL samples.
This could mean that the integration and the usage of this library in CVI is feasible.