DiscussionsIssue archiveOCCT:Data Exchange

Archived issue #0033734

Data Exchange - Reading compressed gltf with Base64 draco content

CommunityOCCT:Data Exchangenew1 public note

Search issues

Description

I have installed OpenCASCADE with Draco support and can now read compressed GLB and compressed GLTF files with BIN files. However, I am unable to read compressed GLTF files without BIN (embedded GLTF).

Steps to reproduce

Please try to load following file in Draco-based open cascade.

Additional information

As we know, there are three types of GLTF files:

1. GLTF with BIN
2. GLTF without BIN (embedded GLTF)
3. GLB

I want to read compressed GLTF files without a BIN file (embedded GLTF), but I am unable to do so.
because while reading those kinds of files, I am facing the following issue.

File '[user path removed]/Documents/input_files/gltf/draco_gltf/EHSC(compressed_without_bin).gltf' defines invalid glTF!
Buffer '0' refers to invalid indices.
File '[user path removed]/Documents/input_files/gltf/draco_gltf/EHSC(compressed_without_bin).gltf' defines invalid glTF!
Buffer '0' refers to invalid indices.
File '[user path removed]/Documents/input_files/gltf/draco_gltf/EHSC(compressed_without_bin).gltf' defines invalid glTF!
Buffer '0' refers to invalid indices.
File '[user path removed]/Documents/input_files/gltf/draco_gltf/EHSC(compressed_without_bin).gltf' defines invalid glTF!
Buffer '0' refers to invalid indices.
File '[user path removed]/Documents/input_files/gltf/draco_gltf/EHSC(compressed_without_bin).gltf' defines invalid glTF!
Buffer '0' refers to invalid indices.
File '[user path removed]/Documents/input_files/gltf/draco_gltf/EHSC(compressed_without_bin).gltf' defines invalid glTF!
Buffer '0' refers to invalid indices.
File '[user path removed]/Documents/input_files/gltf/draco_gltf/EHSC(compressed_without_bin).gltf' defines invalid glTF!
Buffer '0' refers to invalid indices.
File '[user path removed]/Documents/input_files/gltf/draco_gltf/EHSC(compressed_without_bin).gltf' defines invalid glTF!
Buffer '0' refers to invalid indices.\

Public activity

1 archived note

Participants are labeled by their role within this record.

01Author