Zebiao Hu

Results 23 comments of Zebiao Hu

Try this commit 21130bad5476c96a18379cea209886a95b50bc5c

```dart loadImageFromAsset('assets/texture.png').then((value) { object.mesh.texture = value; scene.updateTexture(); }); ```

Use Blender to separate tree to two objects, name “leaves” and “trunk”, then export to "tree.obj". Code: ```dart object.find(RegExp('leaves')).mesh.texture = value1; object.find(RegExp('trunk')).mesh.texture = value2; scene.updateTexture(); ```

motionSensors.accelerometerUpdateInterval = Duration.microsecondsPerSecond ~/ 30 c14e6a60f0543d2be9ec4a923ae0f75b1097244d

it's the update interval (in microseconds), which means receive data from the sensor 60 times per second.

Does not support shadows..

I found that the encodeImageFromPixels function in some devices will return an image size smaller than you specified, this function in mesh.dart's packingTexture. I'm not sure if this is the...

Right. The packingTexture will pack all to one raw texture. What is the resolution of your texture? Try to remove the "_stars" object to take a look.

The ruby_rose.obj has too many vertices, and it will consume double memory when rendering, then the app crashes due to insufficient memory. I tried to do the calculation async and...

Try to enable SKIA. flutter run --release --dart-define=FLUTTER_WEB_USE_SKIA=true -d chrome Paige Lee 于 2020年10月5日周一 下午3:40写道: > hi i tried to implement this panorama plugin for flutter web. > but i...