I have been trying to learn to use Ogre3D and have gotten to the stage where I want to start something more serious than the examples it comes with so I found and copied the Basic Ogre Framework
I a开发者_运维百科m using Ubuntu 9.10, but have compiled Ogre 1.7 from the Ogre3D website, I am using the Netbeans 6.8 IDE with the c++ plugin.
The Basic Ogre Framework Demo App compiles and runs, but gets to the main loop where is checks to see if the Render Window is active, otherwise it calls sleep(1000);
The if statement that is checking if(OgreFramework::getSingletonPtr()->m_pRenderWnd->isActive())
is always returning false, despite specifically setting the m_pRenderWnd->setActive(true);
From reading the forum posts related to it, nobody else is having this issue, but they are primarily using windows or Mac.
Is there issues with Ogre3D on Ubuntu, or is it possibly a problem with the autogenerated makefiles that netbeans is generating?
Have you configured the application to use the correct video drivers for your system? Since you're on ubuntu you'll need to use OpenGL. I found some drivers didn't work on some systems when using Ogre.
精彩评论