Closed yiiqii closed 2 months ago
The recent updates encompass significant improvements across multiple files. The GLFramebuffer
class in gl-framebuffer.ts
has been enhanced for better handling of depth and stencil attachments. The pre-player.html
file now references Galacean's effects plugins instead of Alipay's Mars Player. The inspire-list.ts
and index.ts
files in the demo package have been updated with new media assets and type adjustments. Additionally, the pre-player.ts
file has been refactored to use Galacean's player API and improve the scene loading process.
Files | Change Summary |
---|---|
packages/effects-webgl/src/gl-framebuffer.ts |
Improved handling of depth and stencil attachments, error handling, and framebuffer binding logic. |
web-packages/demo/html/inspire/pre-player.html |
Switched from Alipay's Mars Player to Galacean's effects and plugins in script sources. |
web-packages/demo/src/assets/inspire-list.ts |
Added dynamicImage object and updated video object's URL and name. |
web-packages/demo/src/inspire/index.ts |
Changed types for iframes, modified handlePlay function, and safeguarded postMessage calls. |
web-packages/demo/src/inspire/pre-player.ts |
Replaced Mars Player with Galacean Player, updated scene loading, and added compatibleCalculateItem function. |
In the realm of code so bright,
Changes come like morning light.
From Mars to Galacean's glow,
Depth and stencil now in tow.
Videos dance, images gleam,
Code refined, a coder's dream.
🎨✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
New Features
dynamicImage
object in the inspire list with URL and name properties.compatibleCalculateItem
for item compatibility adjustments.Improvements
Bug Fixes