Comments (11)
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.
Hi, I have the same problem, when using pyrender.Viewer. Does anyone have any tips?
from pyrender.
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.
So no one noticed this problem? If anyone has found the solutions, pls help us.
from pyrender.
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.
I have the same problem, and the method from @xuelin-chen @xxx09 I tried will still report the error, pls help @mmatl
from pyrender.
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.
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.
it looks --plotting-module="matplotlib" this flag has been removed and this bug is still not fixed ??
from pyrender.
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.
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)
- Rendering light HOT 2
- error in material.SpecularGlossinessMaterial()
- Request for Assistance: Obtaining Pixel-to-Face Index in Pyrender
- BROKEN LINK: Google colab notebooks HOT 1
- Invalid device ID (0), Pyrender NOT working on Python 3.10 HOT 5
- Inverted triangles?
- How to retrieve intrinsic camera parameters from PerspectiveCamera
- Textures rendering slanted
- Sphere Rendered with Non-reflective Material Not Appearing Black
- offscreen error
- 'Viewer' object has no attribute 'render'. Did you mean: '_render'?
- Interpolation artifacts in segmentation masks.
- Unable to get color on running the bottle example code HOT 1
- Wrong depth rendering in WSL-ubuntu environment
- Path3D type error when loading trimesh scene
- GLB is not rendered correctly HOT 1
- How to properly merge the Scenes from multiple trimeshes?
- Request for Release of Tag 0.1.46 with auto_start Option
- Cannot render SpecularGlossinessMaterial HOT 1
- jupyter notebook support?
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 pyrender.