Skip to content

Reproducing a wrong byte offset when exporting to GLTF

Notifications You must be signed in to change notification settings

dperyel/open3d-gltf-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repoisitory is temoporary and made only to reporoduce the bug.

export.py will read from source.stl and writes to out.glt. However the byteOffset for vertex positions is wrong. As a result, when UInt8 buffer is transformed to Float32Array with a wrong byteOffset, the wrong data is calculated. For example, reading this file in BabylonJS will lead to the wrong position vectors. The errors might be seen in the GLB report in out_report.json file.

About

Reproducing a wrong byte offset when exporting to GLTF

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages