开发者

OpenNi Ogre3D integration using OpenGL

I just started to use OpenNI and Ogre3D for an animation application. I found the below sample for this integration: OpenNI Ogre Integration Sample. But I noticed that it is developed using DirectX which I am not familiar w开发者_C百科ith. Are there other samples which are using OpenGL?


Ogre actually abstracts away all the rendering code - it can use both DirectX and OpenGL (I've used it with both OpenGL and OpenGLES in the past). You usually have a dialog on start-up that lets you choose between OpenGL and DirectX on windows, and if there's no log file, there usually is some config file which specifies which renderer to use.

Also, all the other samples provided with OpenNI with draw to the screen use OpenGL with GLUT.


This is the linux version of OpenNI Sinbad: https://github.com/ttair/TuxSinbad

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜