immersive-web / immersive-web/model-element
Model scale uniformity
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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