Skip to content

PachVerb/three-platformize-demo-wechat

 
 

Repository files navigation

three-platformize 微信小程序DEMO

three-platformize

需要最基本的demo可参考three-platformize-demo-wechat-simple

运行

请使用最新版本的微信开发工具打开,切换到自己的测试appId即可运行,打开调试模式

如果需要修改代码,可按照已下步骤构建

// 安装依赖
> npm i

// 运行构建
> npm run dev

// 小程序打开即可

内存测试结果

用例1:重复加载一个有纹理的glb

安卓表现正常,长时间不崩 IPad 长时间也不崩(15分钟),但是加载GLB时长十分长,5000ms+ 模型 models/gltf/Soldier.glb

IPAD来回进出页面崩

About

three-platformize微信小程序demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 87.7%
  • JavaScript 12.3%