KhronosGroup / KhronosGroup/Vulkan-Samples

glTF loader for api samples is severely limited

Open
#848 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

framework
Dominant language
C++
Stars
5.4k
Forks
835
Avg merge
2h 16m
Merged PRs (30d)
1

Description

While working on a new sample requiring me to render a complete glTF scene I noticed that the glTF loader for the api samples is severely limited. It can only load (and display) a single mesh with a single primitive from a glTF file. That's a real hindrance and something we should address near-term. It also does not apply any matrices, so scenes aren't scaled properly.

Sadly the glTF loader initially taken from my code has been partially wired to the framework, making it non-trivial to fix this without needing to change a lot of things.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the glTF loader used by the API samples and inspect how it currently handles a single mesh, primitive, and scene matrices. Done means the loader can load and display complete glTF scenes, including multiple meshes or primitives, with scene scaling and other matrices applied.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.