Open lexaknyazev opened 6 years ago
@lexaknyazev good ideas - this will really tighten up the validator/spec.
Sounds like glTF-Asset-Generator will be useful here.
CC @bghgary
Sounds like glTF-Asset-Generator will be useful here.
Sure. @kcoley Can you add this to the roadmap or add an issue?
Sure, I created an issue: https://github.com/bghgary/glTF-Asset-Generator/issues/283
A "low-hanging" (but nevertheless interesting) challenge that would fall into the "Static" category: Scenes with complex graph structures in general. These could have trivial geometry, to focus on the graph structure itself. I'm thinking of a root node with 10000 children, or a chain of 10000 nodes (with one leaf). But one could certainly argue about whether this can still be considered as a core/realistic use case for glTF.
I would vote that we focus energy on examples that test engine limits rather than hardware limits. For example, assets that may work in Unreal or Unity but are not currently supported in WebGL engines. There doesn't seem to be much benefit from demonstrating limits engines can't do anything about, like 16K textures or 10K draw calls.
For example, I think the Animations and Static sections in the OP are more compelling than the other sections. Also:
@lexaknyazev @donmccurdy @bghgary : Has this issue been resolved or acted-upon/transferred? If so can it be closed or should it move to glTF-Sample-Assets repo? Default operation is to close this between 20 & 27 November.
This should be transferred.
This issue may lead to greater questions and maybe even spec updates.
API Limits
Percentages mean hw/impl caps of WebGL 1.0 clients.
Texture size
Here're max texture sizes according to WebGL Stats:
2048
- 100,0%4096
- 99,9%8096
- 30,5%16384
- 22,3%65535
, and PNG to4294967295
.4096
.Vertex attributes
Here're max numbers of vertex attributes according to WebGL Stats:
8
- 100,0%10
- 100,0%16
- 30,5%32
- 22,3%JOINTS_1
/WEIGHTS_1
.Vertex Uniforms
Here're max numbers of vertex uniform vectors according to WebGL Stats:
128
- 100.0%251
- 75.7%253
- 75.6%254
- 70.4%256
- 70.3%512
- 44.1%768
- 40.8%1024
- 40.5%4096
- 17.1%Performance-oriented models
These are less obvious and may be very subjective. Feel free to discuss.
Static
Animations