View Issue Details

IDProjectCategoryView StatusLast Update
0033734CommunityOCCT:Data Exchangepublic2024-06-06 14:40
ReporterSwapnil Vikhe Assigned Toika  
PrioritynormalSeveritymajor 
Status newResolutionopen 
PlatformLinuxOSUbuntu 20.04 
Product Version7.7.0 
Summary0033734: Data Exchange - Reading compressed gltf with Base64 draco content
DescriptionI 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 ReproducePlease try to load following file in Draco-based open cascade.
Additional information
and documentation updates
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 '/home/pts/Documents/input_files/gltf/draco_gltf/EHSC(compressed_without_bin).gltf' defines invalid glTF!
Buffer '0' refers to invalid indices.
File '/home/pts/Documents/input_files/gltf/draco_gltf/EHSC(compressed_without_bin).gltf' defines invalid glTF!
Buffer '0' refers to invalid indices.
File '/home/pts/Documents/input_files/gltf/draco_gltf/EHSC(compressed_without_bin).gltf' defines invalid glTF!
Buffer '0' refers to invalid indices.
File '/home/pts/Documents/input_files/gltf/draco_gltf/EHSC(compressed_without_bin).gltf' defines invalid glTF!
Buffer '0' refers to invalid indices.
File '/home/pts/Documents/input_files/gltf/draco_gltf/EHSC(compressed_without_bin).gltf' defines invalid glTF!
Buffer '0' refers to invalid indices.
File '/home/pts/Documents/input_files/gltf/draco_gltf/EHSC(compressed_without_bin).gltf' defines invalid glTF!
Buffer '0' refers to invalid indices.
File '/home/pts/Documents/input_files/gltf/draco_gltf/EHSC(compressed_without_bin).gltf' defines invalid glTF!
Buffer '0' refers to invalid indices.
File '/home/pts/Documents/input_files/gltf/draco_gltf/EHSC(compressed_without_bin).gltf' defines invalid glTF!
Buffer '0' refers to invalid indices.\
TagsNo tags attached.
Test case number

Attached Files

  • cube(without_bin).gltf (2,688 bytes)

Activities

Swapnil Vikhe

2024-06-06 13:53

reporter  

cube(without_bin).gltf (2,688 bytes)

Swapnil Vikhe

2024-06-06 13:59

reporter   ~0115971

Please refer following link for indepth understanding
https://dev.opencascade.org/content/reading-compressed-gltf-without-bin#comment-26005

Issue History

Date Modified Username Field Change
2024-06-06 13:53 Swapnil Vikhe New Issue
2024-06-06 13:53 Swapnil Vikhe Assigned To => ika
2024-06-06 13:53 Swapnil Vikhe File Added: cube(without_bin).gltf
2024-06-06 13:59 Swapnil Vikhe Note Added: 0115971
2024-06-06 14:01 dpasukhi Summary Reading compressed gltf without bin => Data Exchange - Reading compressed gltf with Bin64
2024-06-06 14:40 dpasukhi Summary Data Exchange - Reading compressed gltf with Bin64 => Data Exchange - Reading compressed gltf with Base64 draco content