Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Scene Description API for automation and a11y #1363

Open
AdaRoseCannon opened this issue Mar 12, 2024 · 1 comment
Open

Add Scene Description API for automation and a11y #1363

AdaRoseCannon opened this issue Mar 12, 2024 · 1 comment

Comments

@AdaRoseCannon
Copy link
Member

AdaRoseCannon commented Mar 12, 2024

Right now rendered scenes are pretty opaque. They are hard to parse by machines to extract information about what is being shown and where it is in 3D space.

I would like to propose a solution where we have an object graph created by the user and attached to an entry point on the session each object is assigned a colour.
And a stencil buffer where these colours are rendered so that the device knows what is on the scene.

  • Does this sound useful?
  • Does it sound interesting?
  • The spec side is pretty light but we should describe what is expected in the graph
    • What kind of information would you want, e.g. visibility, bounding-box
    • what kind of description is useful, we should make this extensible
    • Should the user pick the colours or should it be generated by a hash
  • What carrots should we provide to get developers to actually use it?

/facetoface

@toji
Copy link
Member

toji commented Mar 19, 2024

Mentioned in an editors meeting: There's a possibility that this information could also be used as a generic input assist, where we could start surfacing which semantic object a target ray intersected with select events. This could make some types of inputs easier for developers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants