Code Monkey home page Code Monkey logo

Comments (6)

paroj avatar paroj commented on August 21, 2024

[author="charles", created="Mon, 22 Sep 2014 10:41:31 +0200"]

I had a similar problem that came form an invalid specular intensity in material file (>128), glGetError not called, so a wrong error is reported after...

from ogre-next.

paroj avatar paroj commented on August 21, 2024

[author="dark_sylinc", created="Mon, 22 Sep 2014 16:28:49 +0200"]

Is GL3 also affected by the issue? (GL doesn't exist in 2.0)
Is there a quick way to repro the problem?
What are the machines showing these behavior (Hardware and driver versions + OS). This last item is very important, as I can't repro the problem but probably depends on the drivers.

from ogre-next.

paroj avatar paroj commented on August 21, 2024

[author="charles", created="Mon, 22 Sep 2014 16:37:22 +0200"]

for my problem, it is under archlinux with nvidia drivers, loading a material with specular intensity more than 128. GlError is not catch, and is detected in another GLSL program. Didn't try GL3 (I think it is not build by default under linux, is it ?)
EDIT: confirm this issue with RederSystem_GL on linux with nvidia 340.32, tried GL3Plus, but my big app doesn't work :/ and the small app I use shows only a black screen. which is weird as sampleBrowser displays things... but unrelated to this bug
On a small app the error msg is " GLHardwareVertexBuffer::lock - Error: failed to Discard the buffer. Try to recreate the buffer", triggered with "specular 0 0 0 0 129"

from ogre-next.

paroj avatar paroj commented on August 21, 2024

[author="dark_sylinc", created="Mon, 22 Sep 2014 16:51:33 +0200"]

Yes, you have to explicitly enable it in CMake.
Thanks for the info. When I get time I'll have to setup Linux in the only NVIDIA machine I have.
If you happen to have the driver version that would be also great.

from ogre-next.

paroj avatar paroj commented on August 21, 2024

[author="hhyyrylainen", created="Tue, 23 Sep 2014 11:30:02 +0200"]

(I couldn't actually verify whether this actually affects GL3+ as it failed to start due to missing symbol in RenderSystem_GL3Plus.so)
Drivers wise I was using at the time Catalyst 14.6 Beta with an amd radeon 5800-series card.
This issue happened while I was trying to make CEGUI work with Ogre 2.0. I had to use HardwareVertexBuffer and custom shaders for rendering which would spam the error every frame.
I just found out that there's an option in the cmake file to build render system gl3 plus, which I haven't tried... I'm going to build that and test how that works.
If the GL rendersystem is no longer supported shouldn't the GL3+ be enabled by default? (It might already be as my local copy is a few months behind the 2.0 branch)

from ogre-next.

paroj avatar paroj commented on August 21, 2024

[author="dark_sylinc", created="Tue, 23 Sep 2014 16:41:33 +0200"]

It repros in AMD? Awesome.
Now I think I know what you mean. I remember seeing the log being spammed once or twice, but I thought it was a feature to remind you that something was going terribly wrong.
I'll investigate into it.

"If the GL rendersystem is no longer supported shouldn't the GL3+ be enabled by default?"
In the CTP GL still is the recommended version. On the Hlms and Azdo branch, GL has been removed in favour of GL3+; but I'd admit my CMake-fu has failed me; probably even in those branches it still selects GL even though it no longer exists. I still have to do some cleanup.

from ogre-next.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.