Repository navigation
Image resize, Graphics as an image source and material setters. - #275
Merged
Merged
Conversation
tychedelia
force-pushed
the
py-images-materials
branch
from
November 16, 2026 20:50
88edf9c to
269373d
Compare
|
Visual regression: 1 changed of 43 cases
If these changes are intentional, add the baseline |
tychedelia
force-pushed
the
py-images-materials
branch
3 times, most recently
from
November 23, 2026 17:41
5d6f01a to
b2e74ae
Compare
tychedelia
force-pushed
the
py-images-materials
branch
from
November 23, 2026 18:22
b2e74ae to
d513d4e
Compare
tychedelia
marked this pull request as ready for review
November 23, 2026 18:23
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
More of the python-api stuff the ported examples were written against.
img.resize()actually resamples now, on the GPU, and an offscreenGraphicsworks anywhere an image does, includingbackground(), which replacesbackground_image().Materials get methods for pipeline state like blend mode, alpha mode, unlit etc. Shader values like
roughnessstay inset(...)since they depend on the shader.Material.unlit()is gone, usemat.unlit().Also 4x4 matrix uniforms,
emissiveas a kwarg, and lights can be transformed.Stack created with GitHub Stacks CLI • Give Feedback 💬