mmatl / pyrender

Easy-to-use glTF 2.0-compliant OpenGL renderer for visualization of 3D scenes.
http://pyrender.readthedocs.io/
MIT License
1.31k stars 226 forks source link

GLB is not rendered correctly #273

Open dmikushin opened 11 months ago

dmikushin commented 11 months ago

Hi @mmatl ,

I've been desperately trying to render the GBL model of an eye correctly. I've tried everything, including your notes in #135. Unfortunately, the texture is still on the opposite side, and the iris is placed incorrectly. Needless to say, that on the other hand the rendering is perfectly correct with other JS-based renderers. What am I missing?

green-eye.zip

dmikushin commented 11 months ago

Turns out, this is indeed a pyrender issue, because trimesh can render this model much better. In pyrender by some reason the scales of geometries isn't right:

Screenshot from 2023-12-19 09-08-20

What we are supposed to get:

Screenshot from 2023-12-19 09-02-32