Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get scene to render properly. #49

Open
dirkmittler opened this issue Jun 3, 2023 · 1 comment
Open

Cannot get scene to render properly. #49

dirkmittler opened this issue Jun 3, 2023 · 1 comment

Comments

@dirkmittler
Copy link

dirkmittler commented Jun 3, 2023

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?

@paroj
Copy link
Member

paroj commented Jun 4, 2023

yes, Ogitor's terrain shaders are completely out of sync with Ogre and only support Cg.

However, they should still work on your GPU as long as you stick to the GL RenderSystem (not GL3+).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants