Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upPreserve3D baking space #1447
Closed
Preserve3D baking space #1447
Labels
Comments
|
We have some support for this now - each Picture can specify a RasterizationSpace internally. However, we need to expose this properly and make sure it works with clip masks etc. |
|
Fixed by #3030 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We bake each preserve-3D stacking context in screen space as of a43b0c2 in order to get proper text rendering and anti-aliasing of the contents. However, this only works when preserve-3D forms isolated branches of the SC tree. This appear to not always be the case...
Consider the following tree: a 3D context
Amay contain 2D contextBthat contains another 3D contextC. Baking ofCshould not be made in screen space but rather inBspace, sinceBwill participate in plane-splitting withAcontents/children and is rotated in general case.The quality-focused solution would probably involve having separate baking paths for screen space versus local space, and we'll fall-back to the latter if former is not an option (like in the example above). This is unfortunately going to increase the implementation complexity.
cc @glennw