According to the specs, TriangleWithoutIndices should not render anything
Raveler opened this issue · 3 comments
The specs say this about a gltf-file without a scene-field specified:
When scene is undefined, runtime is not required to render anything at load time.
Implementation Note: This allows applications to use glTF assets as libraries of individual entities such as materials or meshes.
Since TriangleWithoutIndices does not specify a scene, the default rendered view should be empty, right?
I read that "not required to render" as being also not prevented from rendering. It would be permissible to show a blank screen, but it would be equally permissible to treat the file's first scene as the default scene automatically.
The scene list is an area of the spec that could use some clarification. For example: KhronosGroup/glTF#1542 and KhronosGroup/glTF#1547
For the sample repo, perhaps we should just fix the sample model to name the correct scene?
This is related to (or basically a duplicate of) #166 - OK, that was my responsibility. I'll re-insert this into my TODO list with higher priority (and leave this issue open until it's really done). Sorry about that.
Alright, thanks! I know it's total nitpicking but those simple models are all used to pick up very detailed flaws in the implementation, so people implementing glTF might think this is such a corner case being tested :).