Giter VIP home page Giter VIP logo

Comments (11)

xuelin-chen avatar xuelin-chen commented on May 30, 2024 2

Hi guys, I met the same issue when running the live viewer demo, and I solved it by a) removing the "sample_buffers=1, samples=4" from the initialization (Line 991) of the Config in the code in Viewer.py, and b) modified the constants.py to make OPEN_GL_MAJOR = 3 and OPEN_GL_MINOR = 3.
Hope this gives some clue to you. :)

from pyrender.

rustlluk avatar rustlluk commented on May 30, 2024

Hi, I have the same problem, when using pyrender.Viewer. Does anyone have any tips?

from pyrender.

screnary avatar screnary commented on May 30, 2024

Hi, I got the same exception. Running the minimal sample. Guess the window was not created, and the config is empty. But don't know how to fix it.

from pyrender.

AnonymousUser1111 avatar AnonymousUser1111 commented on May 30, 2024

So no one noticed this problem? If anyone has found the solutions, pls help us.

from pyrender.

xxx09 avatar xxx09 commented on May 30, 2024

I met the same problem, it was caused by line18-19 "import pyglet; pyglet.options['shadow_window'] = False" of pyglet.py, which is in your python pkg installed path if u installed by pip install pyrender. In my case it path is "/usr/local/lib/python2.7/dist-packages/pyrender/platforms" as i installed by sudo pip install pyrender.
I add "print pyglet.__file__" after "import pyglet", it will output "/usr/local/lib/python2.7/dist-packages/pyrender/platforms/pyglet.pyc", so it is the problem of import module wrong;
my solution is modify pyglet.py to pyglet1.py; then in file pyglet.py's parent directory, modfiy line 116 of offscreen.py from "from pyrender.platforms.pyglet import PygletPlatform" to "from pyrender.platforms.pyglet1 import PygletPlatform". it solves the problem.

from pyrender.

huybery avatar huybery commented on May 30, 2024

I have the same problem, and the method from @xuelin-chen @xxx09 I tried will still report the error, pls help @mmatl

from pyrender.

mendynew avatar mendynew commented on May 30, 2024

I have the same problem, and the method from @xuelin-chen @xxx09 I tried will still report the error, pls help @mmatl

I meet the same problem with you and the methods not work either.
At last, I add the args --plotting-module="matplotlib" into the command, and the demo works well. Maybe you can try this too.

from pyrender.

huybery avatar huybery commented on May 30, 2024

I have the same problem, and the method from @xuelin-chen @xxx09 I tried will still report the error, pls help @mmatl

I meet the same problem with you and the methods not work either.
At last, I add the args --plotting-module="matplotlib" into the command, and the demo works well. Maybe you can try this too.

Thanks a lot!

from pyrender.

wine3603 avatar wine3603 commented on May 30, 2024

it looks --plotting-module="matplotlib" this flag has been removed and this bug is still not fixed ??

from pyrender.

wine3603 avatar wine3603 commented on May 30, 2024

it worked for me in Ubuntu 16, but I got this error on ubuntu 18, who can fixed this?
It seems like a openGL error

from pyrender.

GostInShell avatar GostInShell commented on May 30, 2024

The Viewer() class to set camera view in example.py may has some error. You can try the examples on colab. It works fine and can render RGBD images.

from pyrender.

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.