Comments (11)
@barvin04 I can confirm problem still exist during OffScreen rendering.
the error are:
pyrender/platforms/osmesa.py", line 42, in make_current
assert(OSMesaMakeCurrent(
AssertionError
from pyrender.
Still having this issue with version 0.1.32
42 assert(OSMesaMakeCurrent(
43 self._context, self._buffer, gl.GL_UNSIGNED_BYTE,
---> 44 self.viewport_width, self.viewport_height
45 ))
46
AssertionError:
Interestingly enough this only happens when I try to run the script in Jupyter. If called from the command line - everything works as expected.
from pyrender.
@mmatl
The "Assertion Error" is still there with PyOpenGL(3.1.5) and Pyrender(0.1.45) during OffScreen rendering
from pyrender.
Even got it when set egl as backend
from pyrender.
@mmatl , sorry for asking that stupid question and thanks for sharing this wonderful code, now I have successfully made it work!
Just for your information, after I installed pyrender via pip, it seems like there is no 'shaders' folder under in the installation, which trigered a 'No such file' error in running time. So I just downloaded the shaders folder from github repo and copied it to the desired place, and now it is working.
from pyrender.
@ChenXuelinCXL There are no stupid questions! I probably just forgot to include the 'shaders' folder in the pip repo. Will double-check that ASAP and fix it. Thanks for the heads up!
from pyrender.
Should be fixed with 9a11d4c
from pyrender.
And it's fixed in version 0.1.6, now on PyPi. Thanks @ChenXuelinCXL for the solution.
from pyrender.
I am experiencing the same problem. Version 0.1.39.
from pyrender.
In my case, the problem magically disappeared after running:
module load LLVM/6.0.0-GCCcore-7.3.0
It may be related to LLVM somehow.
from pyrender.
In my case, simply running
apt-get upgrade
solve the problem. Maybe it is related to the gcc version?
from pyrender.
Related Issues (20)
- Disabling mipmapping on textures
- How to define a glass/gold/metal Texture?
- 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
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.