ogitor icon indicating copy to clipboard operation
ogitor copied to clipboard

Cannot get scene to render properly.

Open dirkmittler opened this issue 1 year ago • 1 comments

Hello.

I'm using a Debian 11 computer with an NVIDIA GeForce RTX 3070 graphics card, and have custom-compiled Ogre 1.12.13, trying to get Ogitor to work with it. The Ogre Sample Browser runs almost all the samples (except for the PN Triangle). However, when I load the sample scene within Ogitor, the terrain does not show, the FPS is at zero, and I get flooded with the following message:

Application::notify caught an exception: InvalidParametersException: This pass does not have this program type assigned! in getGpuProgramParameters at /home/dirk/Programs/ogre-1.12.13/OgreMain/src/OgrePass.cpp (line 1302)

What could I be doing wrong?

Dirk

Update: Having realized that the newest graphics cards refuse to run Cg shader programs from the hardware level, I've recompiled Ogre without Cg support. The result of that is, that the repeated error messages from Ogitor have disappeared, that the Ogitor scene seems animated with the clouds rolling by, that the frame-rate is now an improved 60FPS, But, that the terrain is still completely transparent.

Also, when I quit Ogitor now, it freezes, and in such a way that it 'forgets' its most-recently opened files.

Is it possible that Ogitor's terrain engine depends on Cg?

dirkmittler avatar Jun 03 '23 06:06 dirkmittler