ruffle-rs / ruffle

A Flash Player emulator written in Rust
https://ruffle.rs
Other
15.66k stars 813 forks source link

White screen on SWF (unimplemented Stage3D properties) #8934

Open Lord-McSweeney opened 1 year ago

Lord-McSweeney commented 1 year ago

Describe the bug

https://raw.githubusercontent.com/matrix3d/matrix3d.github.io/master/assets/gl3d/test_light/FlashShader.swf displays a white screen because flash.display.Stage3D.requestContext3DMatchingProfiles (was implemented) and flash.geom.Matrix3D.copyColumnTo (was implemented) flash.geom.Matrix3D.copyColumnFrom is not yet implemented.

Expected behavior

The SWF runs without showing errors.

Affected platform

Browser's extension

Operating system

Linux

Browser

Chrome 108

Additional information

No response

Lord-McSweeney commented 1 year ago

Progressed by #11811.

Lord-McSweeney commented 1 year ago

This now spams the error RustError(Unimplemented("Texture format RgbaHalfFloat"))

Lord-McSweeney commented 1 year ago

Progressed by #13407; this now needs Matrix3D.pointAt.

Lord-McSweeney commented 1 year ago

Stubbing pointAt progresses it up to the drawTriangles call, where it panics- see #13421

Aaron1011 commented 1 year ago

This now renders with the latest Ruffle (however, the large square doesn't render in the 4 top panels).