three_dart icon indicating copy to clipboard operation
three_dart copied to clipboard

Texture mapping broken on OBJ+MTL

Open kbot opened this issue 2 years ago • 2 comments

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

kbot avatar Oct 18 '23 00:10 kbot

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

Knightro63 avatar Oct 21 '23 23:10 Knightro63

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

kbot avatar Oct 30 '23 20:10 kbot