LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Import 3D models and render in an OGL control

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?

Vix
-------------------------------------------
In claris non fit interpretatio

-------------------------------------------
Using LV from 7
Using LW/CVI from 6.0
0 Kudos
Message 1 of 2
(2,099 Views)

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.

Vix
-------------------------------------------
In claris non fit interpretatio

-------------------------------------------
Using LV from 7
Using LW/CVI from 6.0
0 Kudos
Message 2 of 2
(2,076 Views)