You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey yeah agreed that seems like it would be pretty easy and would make sense to be bidirectional, it's just not implemented. PR's with a fix and test would be super welcome!!
Hello,
I see the material conversion from SimpleMaterial to PBRMaterial here, where we convert glossiness into roughness:
trimesh/trimesh/visual/material.py
Lines 198 to 215 in 634c608
But the PBRMaterial to SimpleMaterial conversion here doesn't map roughness -> specular:
trimesh/trimesh/visual/material.py
Lines 675 to 686 in 634c608
The conversion formula seems to be reversible. Any insights about why we have this asymmetry would be great.
Thanks!
The text was updated successfully, but these errors were encountered: