Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Good defaults are quite subjective but since there has been a discussion on slack I thought we could consider tweaking things a bit more before releasing 0.20.
Some constraints:
diffuse = 1.0
because it's a nice default value which means that 100% of incoming light is considered in diffuse lighting/reflectionslight_color * diffuse
relatively large to keep a good contrast between light and dark regions. That contrast can be quite helpful to see creases and understand curvature.For now I halfed
specular
to0.2
and increaseambient
to0.45
.Intensity
If I simplified things correctly this should give you the intensity as function of angle between the camera/view direction (vector between camera and pixel) and the normal at that pixel.
Sphere mesh
Brain mesh
Arrows
Type of change
Delete options that do not apply:
Checklist