Skip to content

Adjusting IIIF transforms to Babylon coordinate system#65

Open
vincentmarchetti wants to merge 1 commit intoKompakkt:iiif-demo-2025-11from
vincentmarchetti:iiif-demo-2025-11-transform-patch
Open

Adjusting IIIF transforms to Babylon coordinate system#65
vincentmarchetti wants to merge 1 commit intoKompakkt:iiif-demo-2025-11from
vincentmarchetti:iiif-demo-2025-11-transform-patch

Conversation

@vincentmarchetti
Copy link

This patch adjusts the transform properties when converting from the IIIF Coordinate system and axis conventions to the Babylon coordinate system, taking into account:

  1. rotations in IIIF transforms are expressed in degrees
  2. THe conventional Babylon X axis is opposite to the IIIF X axis; there are also adjustments to the sign of the rotation around the X axis

The test manifest is attached, when correctly rendered the astronaut will be vertical, parallel to the streetlamp
astronaut_lamp_kompakkt
tipped_and_rotated_astronaut.json

…lated to expressing IIIF transforms

and coordinates (in PointSelector) to the Babylon standard coordinate system and geometric operations
@HeyItsBATMAN
Copy link
Member

Thanks @vincentmarchetti !

@jacky-lai could you take a look at this once you have time?

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