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

The sample models should all have a scene property #166

Closed
javagl opened this issue Apr 28, 2018 · 3 comments
Closed

The sample models should all have a scene property #166

javagl opened this issue Apr 28, 2018 · 3 comments
Assignees

Comments

@javagl
Copy link
Contributor

javagl commented Apr 28, 2018

As reported in KhronosGroup/glTF#1326 , some of the models (particularly the hand-crafted Simple... models) may not have a scene property. According to the 2.0 spec, this means that nothing has to be rendered at all. (This was not yet entirely clear in 1.0).

The corresponding samples should be reviewed and updated accordingly.

@javagl javagl self-assigned this Apr 28, 2018
@emackey
Copy link
Member

emackey commented Apr 29, 2018

We should probably also have a sample that has multiple scenes, to test what that does in various engines.

@javagl
Copy link
Contributor Author

javagl commented Apr 29, 2018

Agreed. There had been some trouble with some glTF 1.0 viewers when there was no default scene (crashes and bugs). But I think that even more viewers (1.0 and 2.0) would bail out when there are multiple scenes. I'll try to create such a model as well, that could show some interesting effects ;-)

@javagl
Copy link
Contributor Author

javagl commented Dec 11, 2019

Closed via #242 .

The point of having multiple scenes in one asset is currently discussed in KhronosGroup/glTF#1542 (shortly before I was pointed to that issue, I created a simple MultipleScenes example that currently only is in a branch at https://github.com/javagl/glTF-Sample-Models/tree/MultipleScenes )

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

2 participants