google / google/draco

Decode vertex attributes to interleaved buffer

Open
#803 1 comment 0 reactions 0 assignees View on GitHub
Feature Request
Dominant language
C++
Stars
7.5k
Forks
1.1k
Avg merge
47m
Merged PRs (30d)
1

Description

Hi,

I am using the `draco_decoder_gltf.js` to decode a draco encoded gltf file. Originally the meshes' vertex attributes were stored interleaved. However I am uncertain on how to retrieve the interleaved buffer, as using the decoder seems to only allow me to retrieve each attribute separately into separate buffer. I could of course interleave them manually after retrieving, but that adds extra costly allocation which I want to circumvent if possible. Any ideas that can help me out?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.