Skip to content

glTF extension CESIUM_RTC is not supported which causes texture to not be loaded #1705

@Saijin-Naib

Description

@Saijin-Naib

Describe the bug
When loaded in f3d v2.5.0, a file using CESIUM_RTC extension is not loaded correctly

To Reproduce
Steps to reproduce the behavior:

  1. Open the file:
    odm_textured_model_geo.zip
  2. Observe it does not render fully
  3. Output in console:

image

  1. Expected output (from https://gltf-viewer.donmccurdy.com/)

image

Warning: In vtkGLTFDocumentLoaderInternals.cxx, line 1362
vtkF3DGLTFDocumentLoader (0x5638f3bc06a0): glTF extension CESIUM_RTC is used in this model, but not supported by this loader. The extension will be ignored.

Original issue below:

Describe the bug
When loaded in f3d v2.5.0 with DRACO support, a DRACO-encoded GLB does not render.

To Reproduce
Steps to reproduce the behavior:

  1. Open the file:
    odm_textured_model_geo.zip
  2. Observe it does not render
  3. Test the same file here: https://gltf-viewer.donmccurdy.com/
  4. Verify report:
Validation report

    Format: glTF 2.0
    Generator: draco_decoder
    Stats:
        9 draw calls
        0 animations
        9 materials
        142397 vertices
        223185 triangles
    Extensions:
        CESIUM_RTC
        KHR_draco_mesh_compression
        KHR_materials_unlit

    NOTE: Extensions above are present in the model, but may or may not be recognized by this viewer. Any "UNSUPPORTED_EXTENSION" warnings below refer only to extensions that could not be scanned by the validation suite, and may still have rendered correctly. See: [three-gltf-viewer#122](https://github.com/donmccurdy/three-gltf-viewer/issues/122).

Report generated by[KhronosGroup/glTF-Validator](https://github.com/KhronosGroup/glTF-Validator/) 2.0.0-dev.3.9.
Info	Message	Pointer
UNSUPPORTED_EXTENSION	Cannot validate an extension as it is not supported by the validator: 'CESIUM_RTC'.	/extensionsUsed/0
UNSUPPORTED_EXTENSION	Cannot validate an extension as it is not supported by the validator: 'KHR_draco_mesh_compression'.	/extensionsUsed/1
UNUSED_OBJECT	This object may be unused.	/bufferViews/0
UNUSED_OBJECT	This object may be unused.	/bufferViews/1
UNUSED_OBJECT	This object may be unused.	/bufferViews/2
UNUSED_OBJECT	This object may be unused.	/bufferViews/3
UNUSED_OBJECT	This object may be unused.	/bufferViews/4
UNUSED_OBJECT	This object may be unused.	/bufferViews/5
UNUSED_OBJECT	This object may be unused.	/bufferViews/6
UNUSED_OBJECT	This object may be unused.	/bufferViews/7
UNUSED_OBJECT	This object may be unused.	/bufferViews/8

Expected behavior
The DRACO-encoded GLB renders properly.

System Information:

  • OS: Alpine Linux Edge x86_64
  • GPU and GPU driver: Intel N3450, Intel i915/MESA

F3D Information
Paste the content of f3d --version:

f3d --version
F3D 2.5.0

F3D - A fast and minimalist 3D viewer
Version: 2.5.0.
Build date: 2024-11-13 06:52:25.
Build system: Linux 64-bits.
Compiler: GNU 14.2.0.
External rendering module: OFF.
Raytracing module: OFF.
VTK version: 9.3.1.
Copyright (C) 2019-2021 Kitware SAS.
Copyright (C) 2021-2024 Michael Migliore, Mathieu Westphal.
License BSD-3-Clause.
By Michael Migliore, Mathieu Westphal and Joachim Pouderoux.

Additional context
The same file renders in Blender, MeshLab, CloudCompare, and WebODM's PoTree viewer.

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Investigate

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions