Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colors or lighting are not exactly the same in Slicer and glTF viewer #8

Open
lassoan opened this issue Dec 15, 2022 · 1 comment
Open

Comments

@lassoan
Copy link
Collaborator

lassoan commented Dec 15, 2022

Colors appear to be lighter, somewhat washed out in glTF viewers - see

https://discourse.slicer.org/t/open-anatomy-export-and-3dviewer-net-with-url/26726/12?u=lassoan

@lassoan
Copy link
Collaborator Author

lassoan commented Dec 16, 2022

It seems that the default image that is used for image-based lighting in 3dviewer.net makes the scene significantly brighter (washed out) than the models look in Slicer (without image-based lighting).

Potential solutions:

  • Enable image-based lighting in Slicer: in Lights module (provided by Sandbox extension), click Select all, Default, Hospital room. Then set Interpolation to PBR in Models module and adjust Diffuse, Metallic, Roughness values. Specifically, try using Diffuse = 0.5.
  • Use a darker image for image-based lighting in 3dviewer.net: click settings icon on the right, click on the image next to Environment, and choose a dark image, such as the evening in the park (lower-right)

Slicer:

image

3dviewer.net:

with snow field environment:

image

with evening park environment:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant