Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5339

Import 3D models and render in an OGL control

$
0
0

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?


Viewing all articles
Browse latest Browse all 5339

Trending Articles