immersive-web / immersive-web/model-element

Event for model fully renderable

Open
#125 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
86
Forks
12
Avg merge
7h 12m
Merged PRs (30d)
1

Description

A developer will often want to only have a model displayed to the user if it is fully renderable with textures loaded.

Currently we have the ready event fired at an earlier point of the loading process, without a way to tell when the model is more 'ready' with textures loaded. Below is a video of a current implementation with black materials displayed until the textures are rendered.

https://github.com/user-attachments/assets/71187441-1c57-4f7a-ae9f-9f59f1c654f1

Should we have another event for when the model is fully renderable, or, some way for a developer to control the precondition(s) for when the model is rendered?

Related: https://github.com/immersive-web/model-element/issues/75

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the issue description, reviewing the linked related issue #75, and examining the video showing black materials before textures render. Determine whether the project needs a new event or developer-controlled rendering preconditions, then document the chosen behavior and its completion criteria.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
frontend, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.