Skip to content

XEOK-511 Add scaleAxis for Ortho.js camera - #2088

Open
paireks wants to merge 1 commit into
xeokit:masterfrom
paireks:XEOK-511-add-scale-axis-for-ortho
Open

paireks wants to merge 1 commit into
xeokit:masterfrom
paireks:XEOK-511-add-scale-axis-for-ortho

Conversation

@paireks

@paireks paireks commented Sep 30, 2026

Copy link
Copy Markdown
Member

Hello @MichalDybizbanskiCreoox and @xeolabs,

this PR is about making it possible to support BCF 3.0 files in the future. BCF 3.0 requires using ortho scale as vertical (https://github.com/buildingSMART/BCF-XML/blob/release_3_0/Documentation/README.md?plain=1#L378), while our Ortho camera sets automatically scale to vertical or horizontal, depending on the aspect. In this PR scaleAxis is added so it's possible to set the actual axis for which scale would be applied.

It's this topic #2071 but revisited. I changed the namings into scaleAxis as it makes it more clear what it does to me, and it is more consistent with the existing Perspective's fovAxis namings.

Please let me know what you think, I will update d.ts types when this part will be accepted.

Wojciech

@paireks
paireks force-pushed the XEOK-511-add-scale-axis-for-ortho branch from bff887a to c4ede29 Compare September 30, 2026 10:05

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants