immersive-web / immersive-web/model-element

Model scale uniformity

Open
#127 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

Should model explicitly support an entityTransform that has a non-uniform scale?

I can think of several useful situations for this. While it is possible to achieve some of these use cases in other ways (e.g. an animation in the file; CSS scaling), directly supporting non-uniform scale would be the most flexible and useful.

I did notice one current implementation only supported a uniform scale, with documentation indicating only uniform scale was supported. I would be interested in if there are technical or other reasons we would want this to be the case.

--
There are existing DOMMatrix methods supporting non-uniform scale:
matrix.scale(scaleX, scaleY, scaleZ)

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 reviewing the current entityTransform implementation and the documentation that says only uniform scale is supported. Compare its behavior with the DOMMatrix scale(scaleX, scaleY, scaleZ) methods mentioned in the issue, then determine the technical constraints and what documentation or API behavior would define support for non-uniform scale.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.