wasabia / three_dart

three.js rewrite by Dart, Dart 3D library. an easy to use, lightweight, cross-platform, general purpose 3D library.
MIT License
455 stars 82 forks source link

Texture mapping broken on OBJ+MTL #146

Open kbot opened 1 year ago

kbot commented 1 year ago

Something broke OBJ+MTL rendering post these versions: flutter_gl: 0.0.13 three_dart: 0.0.9 three_dart_jsm: 0.0.4

It can be reproduced in the example webgl_loader_obj_mtl of this project. You can see the latest example renders like this: Screen Shot 2023-10-17 at 5 02 38 PM

Any chance you can fix this? I can't use the old versions anymore because they rely on and old ffi and other packages collide

Knightro63 commented 1 year ago

Hi @kbot,

Yes I did notice this as well. While they are working on getting a new version out could you please use this version of the repo.

  flutter_gl: 0.0.21
  three_dart:
    git:
      url: https://github.com/Knightro63/three_dart.git
  three_dart_jsm:
    git:
      url: https://github.com/Knightro63/three_dart_jsm.git

Hope this helps

kbot commented 1 year ago

Thanks @Knightro63, these forks resolved the issue with the textures and allowed me to move forward on many dependency upgrades without needing for force overrides