question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DRACOLoader: Incorrect UVs in r108

See original GitHub issue
Description of the problem

After updtating from r107 to r108 I’m not able anymore to import correctly the same .drc file. I think has something to do with the UV

All the code is the same except for

const dracoLoader: DRACOLoader = new DRACOLoader();
dracoLoader.setDecoderPath(EnvConfig.GetStaticFilesBaseUrl() + "draco/");
dracoLoader.setDecoderConfig({ type: "js" });

instead of

const dracoLoader: DRACOLoader = new DRACOLoader();
DRACOLoader.setDecoderPath(EnvConfig.GetStaticFilesBaseUrl() + "draco/");
DRACOLoader.setDecoderConfig({ type: "js" });

due to functions no static anymore.

Using TypeScript

r107: image

r108: image

Three.js version
  • Dev
  • r108
Browser
  • All of them
  • Chrome
  • Firefox
  • Internet Explorer
OS
  • All of them
  • Windows
  • macOS
  • Linux
  • Android
  • iOS

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11

github_iconTop GitHub Comments

2reactions
donmccurdycommented, Sep 15, 2019
2reactions
donmccurdycommented, Sep 5, 2019

Thanks – that all looks OK. I’ll have to debug further what’s going on here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

three.js - Incorrect texture mapping when using DRACOLoader
I'm trying to use Draco to compress models in gif format, but I get a problem with displaying textures (http://prntscr.com/wcgz20 - without ...
Read more >
DRACOLoader: Incorrect UVs in r108 - three.js - GitCodeAsk
After updtating from r107 to r108 I'm not able anymore to import correctly the same .drc file. I think has something to do...
Read more >
DRACOLoader – three.js docs
A loader for geometry compressed with the Draco library. Draco is an open source library for compressing and decompressing 3D meshes and point...
Read more >
Dracoloader.setdecoderpath 不是函数, 德拉科节点 ...
问题描述从r107 更新到r108 后,我无法再正确导入相同的.drc 文件。我认为与UV 有关所有代码都是相同的,除了const dracoLoader: DRACOLoader = new DR 。
Read more >
Untitled
Tiny Bank For this problem, you will maintain an associative array whose keys ... 2019 GolddolphinSKB-Fexcraftian/three.js-uv-demo[/a] JavaScript Updated on ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found