Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

Boom Box model with single buffer #85

Closed
ghost opened this issue Jun 22, 2017 · 6 comments
Closed

Boom Box model with single buffer #85

ghost opened this issue Jun 22, 2017 · 6 comments

Comments

@ghost
Copy link

ghost commented Jun 22, 2017

Hello. My renderer at now not support multiply buffers, only single (but support accessors). How I can get Boom Box model with unified buffer (unified bufferView)?
Also, only indices support separate buffers.

@lexaknyazev
Copy link
Member

@capitalknew
I assume that "unified buffer (unified bufferView)" means using only one bufferView for all vertex attributes. Is it correct? Exact layout depends heavily on tool used to produce an asset.

E.g., Unity exporter (used for Avocado, BarramundiFish, BoomBox, Corset, and Lantern) puts each attribute into its own bufferView.

@ghost
Copy link
Author

ghost commented Jun 22, 2017

It possible to re-export glTF (i.e. restructure)?

@lexaknyazev
Copy link
Member

Such functionality may become available as a part of
https://github.com/AnalyticalGraphicsInc/gltf-pipeline

CC @pjcozzi

@emackey
Copy link
Member

emackey commented Jun 22, 2017

@capitalknew I think the byteStride property was moved to bufferViews. The latest version of the Duck model, for example, uses multiple bufferViews with different strides, and can't be trivially combined.

@ghost
Copy link
Author

ghost commented Jun 22, 2017

I remedy loader for better striding. So I successfully loaded some models (microphone not loaded correctly).

@ghost ghost closed this as completed Jun 22, 2017
@pjcozzi
Copy link
Member

pjcozzi commented Jun 28, 2017

Such functionality may become available as a part of
https://github.com/AnalyticalGraphicsInc/gltf-pipeline

Yes, see CesiumGS/gltf-pipeline#1. Contributions always welcome!

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants