wasabia / three_dart

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

Texture mapping broken on OBJ+MTL #146

Open kbot opened 11 months ago

kbot commented 11 months 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 11 months 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 11 months 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