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.
Intro
To avoid blending issues (as in #724) it should be recommended to use a background in most use-cases. But creating a simple uniform background is currently a bit verbose:
This is because the
Background
has the same geometry+material args as all world objects (exceptScene
andGroup
). I value that consistency, but it's also annoying to write out.Alternative options
One option could be to drop the
Geomety
arg. But that's still pretty long. And it creates a problem when at some point we get a new kind of background that does need geometry.Another option is to allow something like this. I like the brevity, but documenting this is a bit awkward, I don't think this level of dynamic arguments works well here. Also what about a gradient?
So what I came up with is this. A bit longer than the previous, but in return its explicit and unambiguous.
Tasks