Potential Integration with Pyrender PBR
See original GitHub issueHi @mikedh!
I’ve created a new repo for my changes to meshrender
. For now, I called it pyrender – open to suggestions for a more catchy name 😃
Hoping to get a bit of feedback on what works and what you’d like to see change for it to integrate nicely with trimesh. Here are some points that I know will need work:
- For now, it seems to work well on Ubuntu! Performance can take a hit when shadowmapping for many lights – I can fix this with a deferred rendering pipeline, but that would have to come at a later date when I have some time to write one.
- The repo uses GLSL 3+ shaders, so you need to be able to get a core profile in Pyglet to use the viewer. This works without difficulty on Linux, but Pyglet’s code for MacOS is broken. I’ve submitted PRs to try to fix this, but they’re quite slow to respond and release new versions. I forked Pyglet and can point the setup.py to use my fork, but it’s not the prettiest solution.
- Shadowmapping still doesn’t work nicely on MacOS (something to do with retina displays, will need to debug).
- I still need to test things on Windows.
Best, Matt
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:10 (10 by maintainers)
Top Results From Across the Web
RenderFlags — pyrender 0.1.45 documentation
Invert the status of wireframe rendering for each mesh. NONE, Normal PBR Render. OFFSCREEN, Render offscreen and return the depth and (optionally) ...
Read more >trimesh - ynic-debian - GitLab
Trimesh is a pure Python (2.7-3.4+) library for loading and using triangular meshes with an emphasis on watertight surfaces.
Read more >trimesh - PyDigger
- [pyrender](https://github.com/mmatl/pyrender) A library to render scenes from Python using nice looking PBR materials. - [urdfpy](https://github.com/mmatl/ ...
Read more >mikedh/trimesh - Docker Image
If you'd like to contribute, here is an up to date list of potential ... (PBR, better lighting, shaders, better off-screen support, etc)...
Read more >Habitat 2.0: Training Home Assistants to Rearrange their Habitat
(2020), PyRender, PBR shading, PyBullet, rigid/articulated dynamics ... (2018) or via a 'homebrew' integration of existing rendering and physics libraries ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Since 3.0 the trimesh viewer is visualizing
obj
s very nicely. Unfortunately, I have two issues with it:pyrender
seems to resolve these, but it looks like the work that went into better obj loading/more generalized textures doesn’t carry across. I’m happy to try and hack something together with a bit of direction, but I’m really not a graphics guy…Example below will download a shapenet category to
tmp/shapenet_data/SYNSET_ID.zip
- the hard-coded synset_id (for caps) is pretty small.Was this finally implemented? Doesn’t seem to be available in my installation.