Comments (7)
from lightfield.
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.
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.
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.
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.
I have a GTX-1080
from lightfield.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lightfield.