Giter VIP home page Giter VIP logo

Comments (6)

huxingyi avatar huxingyi commented on August 24, 2024

Hi, thanks for reporting, your driver, HD Graphics 3000 is in qt's blacklist, :-) but don't worry, that just means qt will do something special to make Qt works well with it, however, I haven't test Dust3D with the special cases, but I have tested the following software opengl workaround, and it works on my VirtualBox-windows 7.

Possible Fix

This fix is for all the windows users, that Dust3D cannot show things properly.

  1. Download this file and unzip it, get the opengl32sw.dll and put it in the same folder with dust3d.exe
    http://download.qt.io/development_releases/prebuilt/llvmpipe/windows/opengl32sw-32.7z

  2. Set environment variable on Windows

Start Menu > Right Click My Computer > Advanced system settings > Environment Variables... > New...
Variable name: QT_OPENGL_DLL
Variable value: opengl32sw.dll

(Could you help me to test if it works please, thanks)

Background Information

Dust3D use Modern OpenGL with shader function, OpenGL 3.0 is the lowest requirement.
You can download the GLView, install it and run it, check the GL Report, see if OpenGL 3.0 is supported on your system.
However, the QT officially provide a workaround for those systems which OpenGL are not function properly. Use opengl32sw.dll is to use the software opengl implementation. And I have tested on my VirtualBox-windows 7, opengl32sw.dll works well with Dust3D at current stage no matter what the original opengl supports your system provide.

References

  1. https://github.com/qt/qtbase/blob/dev/src/plugins/platforms/windows/openglblacklists/default.json
  2. http://doc.qt.io/qt-5/windows-requirements.html
  3. https://blog.qt.io/blog/2014/11/27/qt-weekly-21-dynamic-opengl-implementation-loading-in-qt-5-4/

from dust3d.

abraaofilho10 avatar abraaofilho10 commented on August 24, 2024

It works!! Thanks! =)

But I found another bug. Should I open a new issue for that?

This seems to crashes only when I open it for first time (whenever it opens first time) and I try to add the first node.

from dust3d.

huxingyi avatar huxingyi commented on August 24, 2024

Thanks for verifying, I have added this issue to the docs.

Please feel free to open new issue or continue on this one.
For the crashes, do you mean first time open Dust3D since boot windows system? and it will work when you reopen Dust3D? Could you give more details on that, thanks.

from dust3d.

abraaofilho10 avatar abraaofilho10 commented on August 24, 2024

Yes, it happens like you said. When I click to add first node, the program crashes. When I open it again it works without problems.

from dust3d.

huxingyi avatar huxingyi commented on August 24, 2024

Hi, Abraão, thank you. Looks like something related to opengl but don't know the exact crash reason yet, I will continue to look into it.

from dust3d.

huxingyi avatar huxingyi commented on August 24, 2024

Hi, I am closing this now for the coming 1.0 version. Please feel free to open a new issue for the latest version.

from dust3d.

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.