-
-
Notifications
You must be signed in to change notification settings - Fork 827
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
avm2: Implement Matrix3D with 2D support only #18888
base: master
Are you sure you want to change the base?
avm2: Implement Matrix3D with 2D support only #18888
Conversation
7473740
to
ac547ca
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This log is taken from Adobe Flash Player 32.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I obtained this PNG file by mv output.actual*.png output.expected.png
, after verifying FP shows the very similar image by my eyes. Is that sufficient or is there a way to get screenshot directly from FP?
ac547ca
to
69f6554
Compare
#18908 produced Git conflict with this PR and it actually implemented a kind of "2D/3D switch" inside DisplayObject. Rebased and followed its design now. |
69f6554
to
34bcfae
Compare
Replace stubs for flash.geom.Transform.matrix3D getter/setter with an actual implementation of Matrix3D with limited support. This implementation is just a proxy to the existing 2D matrix implementation. Therefore transformations beyond 2D transformation works differently from the expected result.
34bcfae
to
a3a3018
Compare
Co-authored-by: Kamil Jarosz <[email protected]>
a3a3018
to
6417e5f
Compare
Rebased. Thanks to #18911 , this PR gets much slim. |
Retry #18810 .
Partially resolves #8033 .
#18810 (comment)
Commits
perspectiveProjection
,matrix3D
stubs #18908 : 2D/3D switch ( https://docs.ruffle.rs/en_US/FlashPlatform/reference/actionscript/3/flash/geom/Transform.html#matrix3D ).