Comments (5)
Thanks for the report. Can you please also attach the encoded .drc file and the decoded .obj file? (for -cl 0 would be sufficient).
I tried to reproduce it on our end and I it worked as expected (no artifacts for either -cl 0 or -cl 5 (default)). It was on Linux though so it is possible, there is some windows specific bug, I'll investigate more.
from draco.
Sure, no problem. See below! Thanks for looking into it.
mesh_decoded.zip
from draco.
I also tried on Linux and confirm that this is a Windows specific bug. Linux results looks good on my end.
from draco.
Hi Dave,
Sorry it took so long. We were setting up a windows development machine. So we figured out what the issue is.
For some reason in your mesh_decoded.obj file the first line got messed up. Here are the first two lines:
mtllib ./mesh.obj.mtl usemtl material_0v -62.325630 -129.229721 -69.757767
v -61.428375 -129.248032 -71.479034
The problem is you only have a CR between material_0v -62.325630
. If you add a windows line ending (LF) then your file works great. E.g.
mtllib ./mesh.obj.mtl
usemtl material_0
v -62.325630 -129.229721 -69.757767
v -61.428375 -129.248032 -71.479034
from draco.
No problem on the delay! Thank you for looking into this. I confirm the problem is indeed with line endings.
I was using Notepad++ on the decoded OBJ file so I could add back in the MTL lines. The file was bieng opened in "Macintosh" mode.
If I copy/paste all the lines into a new Notepad++ file (default is Dos\Windows format) and save the file... everything works again.
Thanks again for Draco! I am getting really good results with it so far.
from draco.
Related Issues (20)
- Building draco via vcpkg targeting wasm32-emscripten HOT 1
- obj_encoder functions produce invalid OBJ files when using a non-english numeric locale HOT 2
- Tests fail on 32 bit systems HOT 1
- FileReaderFactory not reading files HOT 3
- WASM integration information HOT 1
- [ANN] git default branch change: master -> main HOT 1
- OSS-Fuzz issue 65877 HOT 1
- OSS-Fuzz issue 65986
- OSS-Fuzz issue 65989 HOT 1
- OSS-Fuzz issue 66259
- Compilation Error Involving StatusOr and Status Classes in Draco Library HOT 2
- Gstatic, CDNs, and per-domain caching policy HOT 1
- Download links are broken HOT 1
- Support for quads HOT 1
- C++ Documentation Improvement
- Severity Code Description The project file line does not display status Error C2440 "Initialize" : Unable to transfer from "void *" to "tinygltf: : GetFileSizeFunction draco_decoder F: \ resource \ Draco - 1.5.6 \ SRC \ Draco \ IO \ gltf_decoder.cc 489 HOT 2
- Optimizing 3D data with Draco Geometry Compression HOT 1
- Android Studio Build Error
- tex_coord data has no compression
- A problem about pointcloudsequentialencoder HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from draco.