Display 3D models using C ++

I am currently developing a C ++ application. Part of this application will display changing 3D objects.

I developed a few bits of these three-dimensional objects in Blender, and also learned about other programs with which this can be done (Maya, etc.). However, I'm not sure how to use C ++. To display these objects, and even more so to manipulate them in response to changing variables. What programs / approaches / disciplines do I need to study / use to complete this task?

+3
source share
4 answers

Almost any game engine will do this for you; and much more. There are many open source and commercial options. If you are not writing a game, you may need a more universal engine, such as OGRE . It provides only resource management and a rendering pipeline, and also eliminates game-dependent crits such as AI and physics.

+6
source

I did not do this myself, but you can export 3D objects to obj format , then load them into a C ++ program using OpenGL libraries using http://sourceforge.net/projects/objloader/

+1
source

3DS Max , 3DS openGL.

+1

Opengl is pretty low. Another option that you might want to see is to use Scenegraph for what is called saved rendering, like OpenScenegraph

0
source

Source: https://habr.com/ru/post/1726598/


All Articles