DiscussionsIssue archiveOCCT:Data Exchange

Archived issue #0031312

Data Exchange - RWGltf_CafReader fails reading texture embedded into base64 bufferView

Open CASCADEOCCT:Data Exchangeclosed7 public notes

Search issues

Description

Blender generated glTF files with textures embedded in non-standard way - it creates a single base64-encoded Buffer which is referred with offset for both vertex data and image data.

At the same time, spec suggests that base64-encoded images should be stored within "uri". So that although Blender encoding follows general logic for encoding base64 data via buffer views, it is unclear if such encoding for images complies or violates specs.

Nevertheless, it is desired to handle such use case.
Currently, RWGltf_CafReader ignores texture data from such files without emitting any error message.

Public activity

7 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: Author
Date: Wed Jan 22 20:18:44 2020 +0300

    0031312: Data Exchange - RWGltf_CafReader fails reading texture embedded into base64 bufferView
    
    RWGltf_GltfJsonParser::gltfParseTexture() now handles images embedded into bufferView of non-glb file.

Author: mzernova
Date: Mon Jan 13 10:21:10 2020 +0300

    0031279: Visualization, TKOpenGl - environment background is misplaced within Ray-Tracing
    
    Fixed problem with misplacing background texture in Ray-Tracing.
02Commenter 2
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
03Commenter 2
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
04Commenter 2
Branch [archived branch] has been updated forcibly by Author.

[revision removed]
05Author
Patch is ready for review.
06Commenter 6
The patch was reviewed without remarks
07Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]

Related records