Git Product home page Git Product logo

Comments (7)

ultra-sonic avatar ultra-sonic commented on September 27, 2024 1

from lightfield.

tatsy avatar tatsy commented on September 27, 2024

Check the OpenGL support of your platform.
GLSL v1.5 (and also OpenGL 3.3) is supported by very old hardware (and also by new ones).
So I hardly believe your platform does not support this.

I guess your platform is MacOSX. If so, you need a special care to use OpenGL whose version is higher than 2.0.
The following code helps.
https://github.com/tatsy/qt5-shadow-maps/blob/master/sources/appmain.cpp#L9

from lightfield.

lizhengning avatar lizhengning commented on September 27, 2024

Thanks,everything is ok now, and I load the images from stanford, the screen is black and an info shows: light field texture is binded!!

from lightfield.

tatsy avatar tatsy commented on September 27, 2024

Actually, I have not tested this program on MacOSX, so I am not sure about this program correctly works on it.
The typical problem of MacOS is its Letina display. It often causes the problem with OpenGL.
I am sure that the problem can be fixed if all the things are correctly set, but it would be a bit complicated.
So, if you are not an expert of OpenGL on MacOS, I strongly recommend that you first test this program on the other platform.

from lightfield.

lizhengning avatar lizhengning commented on September 27, 2024

followed your suggestion, I run on ubuntu 16.04, and there is still someproblem
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
QOpenGLWidget: Failed to create context

from lightfield.

lizhengning avatar lizhengning commented on September 27, 2024

I have a GTX-1080

from lightfield.

tatsy avatar tatsy commented on September 27, 2024

While I have no much time to elaborate this problem, but I guess the image size is another important factor.

Typically, the size of power of 2 is more preferable to the majority of hardware.

I think the memory size of GTX-1080 is enough for this program, but the small memory size of Intel IRIS can be problematic (I am not very sure).

Anyway, I understand your problem and I check it in the near future.
Thank you for your information.

from lightfield.

Related Issues (3)

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.